Integer overflow in Python
CVE-2008-4864
Multiple integer overflows in imageop.c in the imageop module in Python 1.5.2 through 2.5.1 allow context-dependent attackers to break out of the Python VM and execute arbitrary code via large integer values in certain arguments to the crop function, leading to a buffer overflow, a different vulnerability than CVE-2007-4965 and CVE-2008-1679.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.210 (97.5th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 97th percentile — 97.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.210 · newest: 0.210 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- svn.python.org/view/python/trunk/Modules/imageop.c (Permissions Required)
- oval.cisecurity.org/repository/search/definition/oval:org.mitre.oval:def:10702 (signature, Third Party Advisory, vdb-entry)
- secunia.com/advisories/33937 (Not Applicable, third-party-advisory)
- oval.cisecurity.org/repository/search/definition/oval:org.mitre.oval:def:8354 (Broken Link, signature, vdb-entry)
- scary.beasts.org/security/CESA-2008-008.html (Exploit, Third Party Advisory)
- exchange.xforce.ibmcloud.com/vulnerabilities/46606 (VDB Entry, Third Party Advisory, vdb-entry)
- secunia.com/advisories/37471 (Not Applicable, third-party-advisory)
- www.vmware.com/security/advisories/VMSA-2009-0016.html (Third Party Advisory)
- support.apple.com/kb/HT3438 (Third Party Advisory)
- lists.apple.com/archives/security-announce/2009/Feb/msg00000.html (vendor-advisory, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2008-4864?
- CVE-2008-4864 is a vulnerability in Python, classified under Integer Overflow or Wraparound. Published 2008-11-01.
- Is CVE-2008-4864 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.