Multiple integer overflows in Python 2.5.2 and earlier allow context-dependent attackers to have an unknown impact via vectors related to th
Multiple integer overflows in Python 2.5.2 and earlier allow context-dependent attackers to have an unknown impact via vectors related to the (1) stringobject, (2) unicodeobject, (3) bufferobject, (4) longobject, (5) tupleobject, (6) stropmodule, (7) gcmodule, and (8) mmapmodule modules. NOTE: The expandtabs integer overflows in stringobject and unicodeobject in 2.5.2 are covered by CVE-2008-5031.
- Published
- Aug 1, 2008
- Updated
- Jun 16, 2026
- EPSS
- 4.4% · 91th percentile
- CWE
- CWE-190
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.4%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| python | python | cpe:2.3:a:python:python |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- python pythonup to 2.5.2 inclusive
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+etch2 | 2.4.4-3+etch2 |
| Debian:5.0 | python2.5 | before 2.5.2-6+lenny1 | 2.5.2-6+lenny1 |
| openSUSE:Tumbleweed | python | before 2.7.18-8.1 | 2.7.18-8.1 |
| Red Hat:enterprise_linux:3::as | python | before 0:2.2.3-6.11 | 0:2.2.3-6.11 |
| Red Hat:enterprise_linux:3::as | python-debuginfo | before 0:2.2.3-6.11 | 0:2.2.3-6.11 |
| Red Hat:enterprise_linux:3::as | python-devel | before 0:2.2.3-6.11 | 0:2.2.3-6.11 |
| Red Hat:enterprise_linux:3::as | python-tools | before 0:2.2.3-6.11 | 0:2.2.3-6.11 |
| Red Hat:enterprise_linux:3::as | tkinter | before 0:2.2.3-6.11 | 0:2.2.3-6.11 |
| 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+etch2 · Debian:4.0 | Package registry (OSV) |
| debian:python2.5 | 2.5.2-6+lenny1 · Debian:5.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
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
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.
No dated events beyond publication.
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-190 · Integer Overflow or WraparoundCVSS 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.
Attack patterns (CAPEC)
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- bugs.gentoo.org/show_bug.cgi?id=230640
- lists.apple.com/archives/security-announce/2009/Feb/msg00000.html
- lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html
- secunia.com/advisories/31305
- secunia.com/advisories/31332
- secunia.com/advisories/31358
- secunia.com/advisories/31365
- secunia.com/advisories/31518
- secunia.com/advisories/31687
- secunia.com/advisories/32793
- secunia.com/advisories/33937
- secunia.com/advisories/37471
- secunia.com/advisories/38675
- security.gentoo.org/glsa/glsa-200807-16.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
- www.debian.org/security/2008/dsa-1667
- www.mandriva.com/security/advisories?name=MDVSA-2008:163
- www.mandriva.com/security/advisories?name=MDVSA-2008:164
Vendor advisories and official records. Exploit/PoC links are deliberately left out.