Skip to content
WatchlistHigh

CVE-2008-1721Python Vulnerability

python: integer signedness error in the zlib extension module

Published Apr 9, 2008 · Updated Mar 9, 2026 · Also known as PSF-2008-2

Key Facts

Patch immediately
  • CVE-2008-1721 is a high-severity vulnerability (CVSS 7.5 v2) affecting Python, Ubuntu Linux (Canonical), Debian Linux and 14 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. A public exploit is reported by tracking sources, but no code link is listed yet.
  • EPSS estimates a 23% probability of exploitation in the next 30 days.
  • Fixed versions are available, including libpython2_7-1_0 2.7.17-7.32.1, 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)

23%

Higher than 97.7% of all scored CVEs

Exploit maturity

Proof of concept

ATLAS score

40/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

1

Proof-of-concept links

In-the-wild evidence

1

Reports of active use

Description

Integer signedness error in the zlib extension module in Python 2.5.2 and earlier allows remote attackers to execute arbitrary code via a negative signed integer, which triggers insufficient memory allocation and a buffer overflow.

Affected Products

45 affected entries in total
ProductAffected versionsFixed in
PythonPythonSee advisory2.4.6
Ubuntu LinuxCanonical6.06, 7.04, 7.10, 8.04n/a
Debian LinuxDebian4.0n/a
python2.4debianSee advisory2.4.4-3+etch1
python2.5debianSee advisory2.5-5+etch1
12 more affected products in the full CVE brief

Patched Releases

libpython2_7-1_0

2.7.17-7.32.1

Python

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.7.17-7.32.2, 2.7.18-8.1, 2.4.6

python-32bit

2.7.18-8.1

python-base

2.7.17-7.32.1

python-curses

2.7.17-7.32.2, 2.7.18-8.1

python-demo

2.7.18-8.1

python-devel

2.4.3-24.el5_3.6, 2.7.17-7.32.1

python-gdbm

2.7.17-7.32.2, 2.7.18-8.1

python-idle

2.7.18-8.1

python-tk

2.7.17-7.32.2, 2.7.18-8.1

python-tools

2.4.3-24.el5_3.6

python-xml

2.7.17-7.32.1

python2.4

2.4.4-3+etch1

python2.5

2.5-5+etch1

tkinter

2.4.3-24.el5_3.6

Timeline

  1. Publicly disclosed

    Apr 9, 2008

  2. Last updated

    Mar 9, 2026

Weakness Type

  • CWE-681 Incorrect Conversion between Numeric Types

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2008-1721 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.