CVE-2007-4965
CVE-2007-4965 is a medium-severity vulnerability in Python with a CVSS 2.0 base score of 5.8. Its EPSS exploit-prediction score of 12% places it in the 96th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-190.
Key facts
- Severity: Medium (CVSS 2.0 base score 5.8)
- EPSS exploit prediction: 12% (96th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-190
- Affected product: Python
- Published:
- Last modified:
Description
Multiple integer overflows in the imageop module in Python 2.5.1 and earlier allow context-dependent attackers to cause a denial of service (application crash) and possibly obtain sensitive information (memory contents) via crafted arguments to (1) the tovideo method, and unspecified other vectors related to (2) imageop.c, (3) rbgimgmodule.c, and other files, which trigger heap-based buffer overflows.
Frequently asked questions
- What is CVE-2007-4965?
- Multiple integer overflows in the imageop module in Python 2.5.1 and earlier allow context-dependent attackers to cause a denial of service (application crash) and possibly obtain sensitive information (memory contents) via crafted arguments to (1) the tovideo method, and unspecified other vectors related to (2) imageop.c, (3) rbgimgmodule.c, and other files, which trigger heap-based buffer overflows.
- How severe is CVE-2007-4965?
- CVE-2007-4965 has a CVSS 2.0 base score of 5.8, rated medium severity.
- Is CVE-2007-4965 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 12% (96th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2007-4965?
- CVE-2007-4965 affects Python. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2007-4965?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2007-4965 published?
- CVE-2007-4965 was published on 2007-09-18 and last updated on 2026-06-16.
References
- http://bugs.gentoo.org/show_bug.cgi?id=192876
- http://docs.info.apple.com/article.html?artnum=307179
- http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html
- http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html
- http://lists.grok.org.uk/pipermail/full-disclosure/2007-September/065826.html
- http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00003.html
- http://lists.vmware.com/pipermail/security-announce/2008/000005.html
- http://secunia.com/advisories/26837
- http://secunia.com/advisories/27460
- http://secunia.com/advisories/27562
- http://secunia.com/advisories/27872
- http://secunia.com/advisories/28136
- http://secunia.com/advisories/28480
- http://secunia.com/advisories/28838
- http://secunia.com/advisories/29032
- http://secunia.com/advisories/29303
- http://secunia.com/advisories/29889
- http://secunia.com/advisories/31255
- http://secunia.com/advisories/31492
- http://secunia.com/advisories/33937
- http://secunia.com/advisories/37471
- http://secunia.com/advisories/38675
- http://support.apple.com/kb/HT3438
- http://support.avaya.com/css/P8/documents/100074697
- http://wiki.rpath.com/wiki/Advisories:rPSA-2007-0254
- http://www.debian.org/security/2008/dsa-1551
- http://www.debian.org/security/2008/dsa-1620
- http://www.gentoo.org/security/en/glsa/glsa-200711-07.xml
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:012
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:013
Affected products (1)
- cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
More vulnerabilities in Python
- CVE-2008-5031 — Critical (CVSS 10.0): Multiple integer overflows in Python 2.2.3 through 2.5.1, and 2.6, allow context-dependent attackers to have an unknown…
- CVE-2022-48565 — Critical (CVSS 9.8): An XML External Entity (XXE) issue was discovered in Python through 3.9.1. The plistlib module no longer accepts entity…
- CVE-2022-37454 — Critical (CVSS 9.8): The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow…
- CVE-2021-29921 — Critical (CVSS 9.8): In Python before 3,9,5, the ipaddress library mishandles leading zero characters in the octets of an IP address string.…
- CVE-2021-3177 — Critical (CVSS 9.8): Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c, which may lead to remote code…
- CVE-2020-27619 — Critical (CVSS 9.8): In Python 3 through 3.9.0, the Lib/test/multibytecodec_support.py CJK codec tests call eval() on content retrieved via…
Other CWE-190 (Integer Overflow or Wraparound) vulnerabilities
- CVE-2026-4689 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions, integer overflow in the XPCOM component. This vulnerability was…
- CVE-2026-24814 — Critical (CVSS 10.0): Integer Overflow or Wraparound vulnerability in swoole swoole-src (thirdparty/hiredis modules). This vulnerability is…
- CVE-2025-64721 — Critical (CVSS 10.0): Sandboxie is a sandbox-based isolation software for 32-bit and 64-bit Windows NT-based operating systems. In versions…
- CVE-2015-5108 — Critical (CVSS 10.0): Integer overflow in Adobe Reader and Acrobat 10.x before 10.1.15 and 11.x before 11.0.12, Acrobat and Acrobat Reader DC…
- CVE-2015-5097 — Critical (CVSS 10.0): Integer overflow in Adobe Reader and Acrobat 10.x before 10.1.15 and 11.x before 11.0.12, Acrobat and Acrobat Reader DC…
- CVE-2013-2555 — Critical (CVSS 10.0): Integer overflow in Adobe Flash Player before 10.3.183.75 and 11.x before 11.7.700.169 on Windows and Mac OS X, before…
Browse all CWE-190 (Integer Overflow or Wraparound) vulnerabilities →