← Vulnerability feed

Vulnerability record · CVE-2007-4965 · published 18 September 2007

CVE-2007-4965: Python integer overflow vulnerability

Python · Python

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.

5.8 CVSS 2.0 Medium EPSS 14% · top 3.6% CWE-190 · Integer overflow
5.8CVSS 2.0 base score
14%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
98References, 4 tagged exploit
16 Jun 2026Last modified by NVD

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.

AV:N/AC:M/Au:N/C:P/I:N/A:P

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://bugs.gentoo.org/show_bug.cgi?id=192876 Third Party Advisory
http://docs.info.apple.com/article.html?artnum=307179 Third Party Advisory
http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html Mailing List
http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html Mailing List
http://lists.grok.org.uk/pipermail/full-disclosure/2007-September/065826.html Exploit
http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00003.html Third Party Advisory
http://lists.vmware.com/pipermail/security-announce/2008/000005.html Third Party Advisory
http://secunia.com/advisories/26837 Broken Link
http://secunia.com/advisories/27460 Broken Link
http://secunia.com/advisories/27562 Broken Link
http://secunia.com/advisories/27872 Broken Link
http://secunia.com/advisories/28136 Broken Link
http://secunia.com/advisories/28480 Broken Link
http://secunia.com/advisories/28838 Broken Link
http://secunia.com/advisories/29032 Broken Link
http://secunia.com/advisories/29303 Broken Link
http://secunia.com/advisories/29889 Broken Link
http://secunia.com/advisories/31255 Broken Link
http://secunia.com/advisories/31492 Broken Link
http://secunia.com/advisories/33937 Broken Link
http://secunia.com/advisories/37471 Broken Link
http://secunia.com/advisories/38675 Broken Link
http://support.apple.com/kb/HT3438 Third Party Advisory
http://support.avaya.com/css/P8/documents/100074697 Third Party Advisory
http://wiki.rpath.com/wiki/Advisories:rPSA-2007-0254 Third Party Advisory
http://www.debian.org/security/2008/dsa-1551 Third Party Advisory
http://www.debian.org/security/2008/dsa-1620 Third Party Advisory
http://www.gentoo.org/security/en/glsa/glsa-200711-07.xml Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2008:012 Broken Link
http://www.mandriva.com/security/advisories?name=MDVSA-2008:013 Broken Link
http://www.redhat.com/support/errata/RHSA-2007-1076.html Third Party Advisory
http://www.redhat.com/support/errata/RHSA-2008-0629.html Third Party Advisory
http://www.securityfocus.com/archive/1/487990/100/0/threaded Third Party AdvisoryVDB Entry
http://www.securityfocus.com/archive/1/488457/100/0/threaded Third Party AdvisoryVDB Entry
http://www.securityfocus.com/archive/1/507985/100/0/threaded Third Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/25696 ExploitThird Party AdvisoryVDB Entry
http://www.ubuntu.com/usn/usn-585-1 Third Party Advisory
http://www.us-cert.gov/cas/techalerts/TA07-352A.html Third Party AdvisoryUS Government Resource
http://www.vmware.com/security/advisories/VMSA-2009-0016.html Third Party Advisory
http://www.vupen.com/english/advisories/2007/3201 Broken Link

Track CVE-2007-4965 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2008-5031Python vulnerabilityMultiple integer overflows in Python 2.2.3 through 2.5.1, and 2.6, allow context-dependent attackers to have an unknown impact via a large integer va…EPSS 3.0%9.8CVE-2022-48565Python xml external entity (xxe) vulnerabilityAn XML External Entity (XXE) issue was discovered in Python through 3.9.1. The plistlib module no longer accepts entity declarations in XML plist fil…EPSS 5.1%9.8CVE-2022-37454Extended keccak code package project extended keccak code package integer overflow vulnerabilityThe Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute …EPSS 5.8%9.8CVE-2021-29921Python vulnerabilityIn Python before 3,9,5, the ipaddress library mishandles leading zero characters in the octets of an IP address string. This (in some situations) all…EPSS 6.9%9.8CVE-2021-3177Python classic buffer overflow vulnerabilityPython 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 Python applic…EPSS 23%9.8CVE-2020-27619Python vulnerabilityIn Python 3 through 3.9.0, the Lib/test/multibytecodec_support.py CJK codec tests call eval() on content retrieved via HTTP.EPSS 8.3%9.8CVE-2020-15801Python untrusted search path vulnerabilityIn Python 3.8.4, sys.path restrictions specified in a python38._pth file are ignored, allowing code to be loaded from arbitrary locations. The <execu…EPSS 3.5%9.8CVE-2014-4650Python path traversal vulnerabilityThe 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 allows remo…EPSS 25%

Source: NIST National Vulnerability Database (record CVE-2007-4965), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.