Integer overflow in Python

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.

Vulnerability class: Integer Overflow

Published · last modified .

CVSS v2 metric

CVSS v2 base score 5.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:N/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.

EPSS exploit prediction

EPSS: 0.140 (96.4th percentile), scored .

Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 96th percentile — 96.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2007-4965: held from 0.140 to 0.140.

EPSS over last 30 days · oldest: 0.140 · newest: 0.140 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2007-4965?
CVE-2007-4965 is a vulnerability in Python, classified under Integer Overflow or Wraparound. Published 2007-09-18.
Is CVE-2007-4965 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.