Skip to content
WatchlistHigh

CVE-2008-4864Python Integer Overflow

python: imageop module multiple integer overflows

Published Oct 19, 2008 · Updated Oct 9, 2025 · Also known as PSF-2008-9

Key Facts

Patch immediately
  • CVE-2008-4864 is a high-severity vulnerability (CVSS 7.5 v2) affecting Python, python-devel (oracle), python-tools (oracle) and 1 more product.
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 21% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Python 0:2.2.3-6.11, Python 0:2.3.4-14.7.el4_8.2, Python 0:2.4.3-24.el5_3.6.
  • Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.

Scores

CVSS v2

7.5

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

EPSS (30-day exploit likelihood)

21%

Higher than 97.5% of all scored CVEs

Exploit maturity

Proof of concept

ATLAS score

44/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Proof of concept

Public exploit code

2

Proof-of-concept links

In-the-wild evidence

2

Reports of active use

Description

Multiple integer overflows in imageop.c in the imageop module in Python 1.5.2 through 2.5.1 allow context-dependent attackers to break out of the Python VM and execute arbitrary code via large integer values in certain arguments to the crop function, leading to a buffer overflow, a different vulnerability than CVE-2007-4965 and CVE-2008-1679.

Affected Products

8 affected entries in total
ProductAffected versionsFixed in
PythonPythonSee advisory2.4.6
python-develoracleSee advisory2.4.3-24.el5_3.6
python-toolsoracleSee advisory2.4.3-24.el5_3.6
tkinteroracleSee advisory2.4.3-24.el5_3.6

Patched Releases

Python

0:2.2.3-6.11, 0:2.3.4-14.7.el4_8.2, 0:2.4.3-24.el5_3.6, 2.4.3-24.el5_3.6, 2.4.6

python-devel

2.4.3-24.el5_3.6

python-tools

2.4.3-24.el5_3.6

tkinter

2.4.3-24.el5_3.6

Timeline

  1. Publicly disclosed

    Oct 19, 2008

  2. Last updated

    Oct 9, 2025

Weakness Type

  • CWE-190 Integer Overflow or Wraparound

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2008-4864 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Oct 19, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.