CVE-2008-4864
Description
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
21.024%
chance of exploitation in the next 30 days
higher than 97.6% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 2
Weakness
- CWE-190: Integer Overflow or Wraparound
Timeline
- 2008-10-27First Exploit-DB entry (EDB-ID 32534)4 days before publication
- 2008-10-31Published by the CNA22:00 UTC
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 10229 | dos | multiple | 2009-11-24 | yes |
| EDB-ID 32534 | dos | unix | 2008-10-27 | yes |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| python python | from 1.5.2 before 2.4.6fixed in 2.4.6from 2.5.0 before 2.5.3fixed in 2.5.3 | 2.4.62.5.3 |
References
- http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html
- http://scary.beasts.org/security/CESA-2008-008.html
- http://www.securityfocus.com/bid/31976
- http://secunia.com/advisories/33937
- http://secunia.com/advisories/37471
- http://support.apple.com/kb/HT3438
- http://svn.python.org/view/python/trunk/Modules/imageop.c?rev=66689&view=diff&r1=66689&r2=66688&p1=python/trunk/Modules/imageop.c&p2=/python/trunk/Modules/imageop.c
- http://svn.python.org/view?rev=66689&view=rev
- http://www.openwall.com/lists/oss-security/2008/10/27/2
- http://www.openwall.com/lists/oss-security/2008/10/29/3
- http://www.securityfocus.com/archive/1/507985/100/0/threaded
- http://www.securityfocus.com/bid/31932
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html
- http://www.vupen.com/english/advisories/2009/3316
- https://exchange.xforce.ibmcloud.com/vulnerabilities/46606
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10702
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8354
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2008-4864'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2008-4864'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2008-4864'curl 'https://api.contrastcyber.com/cve_products/CVE-2008-4864'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).