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

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

Affected products (1)

More vulnerabilities in Python

All CVEs affecting Python →

Other CWE-190 (Integer Overflow or Wraparound) vulnerabilities

Browse all CWE-190 (Integer Overflow or Wraparound) vulnerabilities →