Skip to content
Noroxi
CVE-2008-2315· NVD / CVE Program· CNA mitre

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.

HighCVSS 7.5 · v2.0—No exploit Fix available
Published
Aug 1, 2008
Updated
Jun 16, 2026
EPSS
4.4% · 91th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

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

VendorProduct
pythonpython

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.

EcosystemPackageAffected rangeFix
Debian:4.0python2.4before 2.4.4-3+etch22.4.4-3+etch2
Debian:5.0python2.5before 2.5.2-6+lenny12.5.2-6+lenny1
openSUSE:Tumbleweedpythonbefore 2.7.18-8.12.7.18-8.1
Red Hat:enterprise_linux:3::aspythonbefore 0:2.2.3-6.110:2.2.3-6.11
Red Hat:enterprise_linux:3::aspython-debuginfobefore 0:2.2.3-6.110:2.2.3-6.11
Red Hat:enterprise_linux:3::aspython-develbefore 0:2.2.3-6.110:2.2.3-6.11
Red Hat:enterprise_linux:3::aspython-toolsbefore 0:2.2.3-6.110:2.2.3-6.11
Red Hat:enterprise_linux:3::astkinterbefore 0:2.2.3-6.110:2.2.3-6.11
Red Hat:enterprise_linux:4::aspythonbefore 0:2.3.4-14.7.el4_8.20:2.3.4-14.7.el4_8.2
Red Hat:enterprise_linux:4::aspython-debuginfobefore 0:2.3.4-14.7.el4_8.20:2.3.4-14.7.el4_8.2
Red Hat:enterprise_linux:4::aspython-develbefore 0:2.3.4-14.7.el4_8.20:2.3.4-14.7.el4_8.2
Red Hat:enterprise_linux:4::aspython-docsbefore 0:2.3.4-14.7.el4_8.20:2.3.4-14.7.el4_8.2
Red Hat:enterprise_linux:4::aspython-toolsbefore 0:2.3.4-14.7.el4_8.20:2.3.4-14.7.el4_8.2
Red Hat:enterprise_linux:4::astkinterbefore 0:2.3.4-14.7.el4_8.20:2.3.4-14.7.el4_8.2
Red Hat:enterprise_linux:5::clientpython-toolsbefore 0:2.4.3-24.el5_3.60:2.4.3-24.el5_3.6
Red Hat:enterprise_linux:5::clienttkinterbefore 0:2.4.3-24.el5_3.60:2.4.3-24.el5_3.6
Red Hat:enterprise_linux:5::client_workstationpythonbefore 0:2.4.3-24.el5_3.60:2.4.3-24.el5_3.6
Red Hat:enterprise_linux:5::client_workstationpython-debuginfobefore 0:2.4.3-24.el5_3.60:2.4.3-24.el5_3.6
Red Hat:enterprise_linux:5::client_workstationpython-develbefore 0:2.4.3-24.el5_3.60:2.4.3-24.el5_3.6
SUSE:Linux Enterprise Module for Basesystem 15pythonbefore 2.7.17-7.32.22.7.17-7.32.2
SUSE:Linux Enterprise Module for Basesystem 15python-basebefore 2.7.17-7.32.12.7.17-7.32.1

Other 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 all
    47Plan
  • CVE-2007-4559Directory traversal vulnerability in the (1) extract and (2) extractall functions in the tarfile module in Python allows user-assisted remot
    47Plan
  • 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 Pyth
    46Plan
  • 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 al
    46Plan
  • CVE-2018-1000802Python Software Foundation Python (CPython) version 2.7 contains a CWE-77: Improper Neutralization of Special Elements used in a Command ('C
    45Plan
  • 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 / packageFixed versionSource
debian:python2.42.4.4-3+etch2 · Debian:4.0Package registry (OSV)
debian:python2.52.5.2-6+lenny1 · Debian:5.0Package registry (OSV)
opensuse:python2.7.18-8.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:python0:2.4.3-24.el5_3.6 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:python-debuginfo0:2.4.3-24.el5_3.6 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:python-devel0:2.4.3-24.el5_3.6 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:python-docs0:2.3.4-14.7.el4_8.2 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:python-tools0:2.4.3-24.el5_3.6 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:tkinter0:2.4.3-24.el5_3.6 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
suse:python2.7.17-7.32.2 · SUSE:Linux Enterprise Module for Basesystem 15Package registry (OSV)
suse:python-base2.7.17-7.32.1 · SUSE:Linux Enterprise Module for Basesystem 15Package 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.

EPSS, last 120 days

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.

Finders, 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

CVSS 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.

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 help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records