Integer signedness error in the zlib extension module in Python 2.5.2 and earlier allows remote attackers to execute arbitrary code via a ne
Noroxi assessment
Priority: Monitor (action score 37/100)
- Public proof-of-concept code exists (Exploit-DB); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 22.6% (FIRST EPSS); higher than 97.6% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: python2.4 (Debian:4.0) 2.4.4-3+etch1; python2.5 (Debian:4.0) 2.5-5+etch1; python (openSUSE:Tumbleweed) 2.7.18-8.1.
Low priority for now. Upgrade to python2.4 (Debian:4.0) 2.4.4-3+etch1; python2.5 (Debian:4.0) 2.5-5+etch1; python (openSUSE:Tumbleweed) 2.7.18-8.1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Integer signedness error in the zlib extension module in Python 2.5.2 and earlier allows remote attackers to execute arbitrary code via a negative signed integer, which triggers insufficient memory allocation and a buffer overflow.
- Published
- Apr 10, 2008
- Updated
- Jun 16, 2026
- EPSS
- 22.6% · 98th percentile
- CWE
- CWE-681
Report tools
Action score
37
Monitor
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 7 / 30 · 22.6%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| python | python | cpe:2.3:a:python:python |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux6.06
- canonical ubuntu linux7.04
- canonical ubuntu linux7.10
- canonical ubuntu linux8.04
- debian debian linux4.0
- python python2.5.0 and later · up to 2.5.2 inclusive
- python python2.4.0 and later · before 2.4.6
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:4.0 | python2.4 | before 2.4.4-3+etch1 | 2.4.4-3+etch1 |
| Debian:4.0 | python2.5 | before 2.5-5+etch1 | 2.5-5+etch1 |
| openSUSE:Tumbleweed | python | before 2.7.18-8.1 | 2.7.18-8.1 |
| Red Hat:enterprise_linux:4::as | python | before 0:2.3.4-14.7.el4_8.2 | 0:2.3.4-14.7.el4_8.2 |
| Red Hat:enterprise_linux:4::as | python-debuginfo | before 0:2.3.4-14.7.el4_8.2 | 0:2.3.4-14.7.el4_8.2 |
| Red Hat:enterprise_linux:4::as | python-devel | before 0:2.3.4-14.7.el4_8.2 | 0:2.3.4-14.7.el4_8.2 |
| Red Hat:enterprise_linux:4::as | python-docs | before 0:2.3.4-14.7.el4_8.2 | 0:2.3.4-14.7.el4_8.2 |
| Red Hat:enterprise_linux:4::as | python-tools | before 0:2.3.4-14.7.el4_8.2 | 0:2.3.4-14.7.el4_8.2 |
| Red Hat:enterprise_linux:4::as | tkinter | before 0:2.3.4-14.7.el4_8.2 | 0:2.3.4-14.7.el4_8.2 |
| Red Hat:enterprise_linux:5::client | python-tools | before 0:2.4.3-24.el5_3.6 | 0:2.4.3-24.el5_3.6 |
| Red Hat:enterprise_linux:5::client | tkinter | before 0:2.4.3-24.el5_3.6 | 0:2.4.3-24.el5_3.6 |
| Red Hat:enterprise_linux:5::client_workstation | python | before 0:2.4.3-24.el5_3.6 | 0:2.4.3-24.el5_3.6 |
| Red Hat:enterprise_linux:5::client_workstation | python-debuginfo | before 0:2.4.3-24.el5_3.6 | 0:2.4.3-24.el5_3.6 |
| Red Hat:enterprise_linux:5::client_workstation | python-devel | before 0:2.4.3-24.el5_3.6 | 0:2.4.3-24.el5_3.6 |
| SUSE:Linux Enterprise Module for Basesystem 15 | python | before 2.7.17-7.32.2 | 2.7.17-7.32.2 |
| SUSE:Linux Enterprise Module for Basesystem 15 | python-base | before 2.7.17-7.32.1 | 2.7.17-7.32.1 |
Same product
python: all recordsOther highest-scoring records for the same primary product.
- CVE-2016-5636Integer overflow in the get_data function in zipimport.c in CPython (aka Python) before 2.7.12, 3.x before 3.4.5, and 3.5.x before 3.5.2 all47Plan
- CVE-2007-4559Directory traversal vulnerability in the (1) extract and (2) extractall functions in the tarfile module in Python allows user-assisted remot47Plan
- CVE-2021-3177Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c, which may lead to remote code execution in certain Pyth46Plan
- CVE-2014-4650The CGIHTTPServer module in Python 2.7.5 and 3.3.4 does not properly handle URLs in which URL encoding is used for path separators, which al46Plan
- CVE-2018-1000802Python Software Foundation Python (CPython) version 2.7 contains a CWE-77: Improper Neutralization of Special Elements used in a Command ('C45Plan
- CVE-2020-27619In Python 3 through 3.9.0, the Lib/test/multibytecodec_support.py CJK codec tests call eval() on content retrieved via HTTP.42Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:python2.4 | 2.4.4-3+etch1 · Debian:4.0 | Package registry (OSV) |
| debian:python2.5 | 2.5-5+etch1 · Debian:4.0 | Package registry (OSV) |
| opensuse:python | 2.7.18-8.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:python | 0:2.4.3-24.el5_3.6 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:python-debuginfo | 0:2.4.3-24.el5_3.6 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:python-devel | 0:2.4.3-24.el5_3.6 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:python-docs | 0:2.3.4-14.7.el4_8.2 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:python-tools | 0:2.4.3-24.el5_3.6 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:tkinter | 0:2.4.3-24.el5_3.6 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| suse:python | 2.7.17-7.32.2 · SUSE:Linux Enterprise Module for Basesystem 15 | Package registry (OSV) |
| suse:python-base | 2.7.17-7.32.1 · SUSE:Linux Enterprise Module for Basesystem 15 | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Exploit-DB entry ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | remote | 2008-04-09 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- First PoC-2 d
- Published
- TodayOct 13, 2026+6760 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
CWE-681 · Incorrect Conversion between Numeric TypesCVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- lists.apple.com/archives/security-announce/2009/Feb/msg00000.html
- secunia.com/advisories/29889
- secunia.com/advisories/29955
- secunia.com/advisories/30872
- secunia.com/advisories/31255
- secunia.com/advisories/31358
- secunia.com/advisories/31365
- secunia.com/advisories/33937
- secunia.com/advisories/37471
- secunia.com/advisories/38675
- security.gentoo.org/glsa/glsa-200807-01.xml
- slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.525289
- support.apple.com/kb/HT3438
- support.avaya.com/css/P8/documents/100074697
- wiki.rpath.com/wiki/Advisories:rPSA-2008-0149
- www.debian.org/security/2008/dsa-1551
- www.debian.org/security/2008/dsa-1620
- www.mandriva.com/security/advisories?name=MDVSA-2008:085
- www.securityfocus.com/archive/1/490690/100/0/threaded
Vendor advisories and official records. Exploit/PoC links are deliberately left out.