Vulnerability DatabaseGHSA-rqr8-pxh7-cq3g

GHSA-rqr8-pxh7-cq3g
Python vulnerability analysis and mitigation

Overview

A Denial of Service (DoS) vulnerability was discovered in the Ethereum ABI decoder affecting eth-abi package versions below 4.2.0. The vulnerability (GHSA-rqr8-pxh7-cq3g) was published on November 23, 2023, and involves the parsing of Zero-Sized Types (ZST) which can lead to potential DoS attacks in server systems. The issue was identified by Trail of Bits and affects the official eth-abi library (GitHub Advisory).

Technical details

The vulnerability stems from the Ethereum ABI specification's allowance of Zero-Sized Types (ZST). When parsing an array of ZST, the decoder attempts to process as many ZST elements as specified in the byte array. The issue occurs because while ZST takes zero bytes when stored, it occupies memory during parsing. The vulnerability can be demonstrated using a payload of two 32-byte blocks that describe a serialized array of ZST, where the first block defines an offset to the array's elements and the second block defines the array length. The vulnerability has been assigned a CVSS score of 4.3 (Moderate) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L (GitHub Advisory).

Impact

The vulnerability can cause denial-of-service conditions in server systems through excessive memory consumption. When processing malicious payloads, the system will attempt to allocate memory for a large number of elements, potentially leading to system hangs and out-of-memory errors (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 4.2.0 of the eth-abi package. The recommended remediation is to disallow the parsing of Zero-Sized Types completely. Users should upgrade to version 4.2.0 or later to address this vulnerability (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22033HIGH8.6
  • PythonPython
  • label-studio
NoNoJan 12, 2026
CVE-2025-68472HIGH8.1
  • PythonPython
  • mindsdb
NoYesJan 12, 2026
CVE-2026-22251MEDIUM5.3
  • PythonPython
  • wlc
NoYesJan 12, 2026
CVE-2026-22691LOW2.7
  • PythonPython
  • pypdf
NoYesJan 10, 2026
CVE-2026-22250LOW2.5
  • PythonPython
  • wlc
NoYesJan 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management