BreachSpiderVerified, not vibes

CVE-2008-1721 in Canonical Ubuntu Linux and 2 more products

High 7.5 Public exploit reported

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.

Affects 3 products from 3 vendors. Facts below cite their sources.

CVSS 2.07.5
EPSS22.6%
EPSS percentile98th
FixSee advisory

Remotely exploitable over the network, low complexity.

Affected products and versions

VendorProductAffected versions
Canonical Ubuntu Linux 6.06 7.04 7.10 8.04
Debian Debian Linux 4.0
Python Python ≥ 2.4.0, < 2.4.6 ≥ 2.5.0, ≤ 2.5.2

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitReported · reference

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2008-1721
BreachSpider IDBS-2008-GLOBAL-169818-H
CVSS vectorAV:N/AC:L/Au:N/C:P/I:P/A:P
Published2008-04-10
Last modified2026-06-16
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-681: CWE-681

Analysis AI-written, not human-reviewed

An integer signedness error in the zlib extension module of Python 2.5.2 and earlier versions can be exploited by remote attackers to execute arbitrary code through a negative signed integer, leading to insufficient memory allocation and a buffer overflow.

The vulnerability arises from improper handling of signed integers in the zlib extension module, which can be triggered by a specially crafted input containing a negative signed integer. This input can cause the system to allocate insufficient memory, resulting in a buffer overflow that can be exploited to execute arbitrary code.

Questions

What is CVE-2008-1721?

An integer signedness error in the zlib extension module of Python 2.5.2 and earlier versions can be exploited by remote attackers to execute arbitrary code through a negative signed integer, leading to insufficient memory allocation and a buffer overflow.

What is the CVSS score for CVE-2008-1721?

CVE-2008-1721 has CVSS 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. EPSS: 22.6%.

Is CVE-2008-1721 actively exploited?

Public exploit available for CVE-2008-1721. Exploitation risk elevated.

How do I remediate CVE-2008-1721?

Priority: IMMEDIATE. Advisory: http://bugs.python.org/issue2586 PSIRT: [email protected]

What systems are affected by CVE-2008-1721?

CVE-2008-1721 affects Canonical Ubuntu Linux; Debian Debian Linux; Python Python.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.