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.6th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 2 other repositories (mudongliang/LinuxFlaw, oneoy/cve-). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References