BreachSpiderVerified, not vibes

CVE-2012-2135 in Canonical Ubuntu Linux and 2 more products

Medium 6.4

The utf-16 decoder in Python 3.1 through 3.3 does not update the aligned_end variable after calling the unicode_decode_call_errorhandler function, which allows remote attackers to obtain sensitive information (process memory) or cause a denial of service (memory corruption and crash) via unspecified vectors.

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

CVSS 2.06.4
EPSS4.5%
EPSS percentile92th
FixSee advisory

Remotely exploitable over the network, low complexity, no integrity impact.

Affected products and versions

VendorProductAffected versions
Canonical Ubuntu Linux 10.04 11.04 11.10 12.04 12.10
Debian Debian Linux 6.0
Python Python ≥ 2.7.0, < 2.7.4 ≥ 3.2.0, < 3.2.4 ≥ 3.3.0, < 3.3.3

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 exploitNot confirmed

Official description

The utf-16 decoder in Python 3.1 through 3.3 does not update the aligned_end variable after calling the unicode_decode_call_errorhandler function, which allows remote attackers to obtain sensitive information (process memory) or cause a denial of service (memory corruption and crash) via unspecified vectors.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2012-2135
BreachSpider IDBS-2012-GLOBAL-305921-M
CVSS vectorAV:N/AC:L/Au:N/C:P/I:N/A:P
Published2012-08-14
Last modified2026-06-16
SourceNVD

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2012. A medium severity vulnerability affects Canonical systems (CVE-2012-2135). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: The utf-16 decoder in Python 3.1 through 3.3 does not update the aligned_end variable after calling the unicode_decode_call_errorhandler function, which allows remote attackers to obtain sensitive information (process memory) or cause a denial of service (memory corruption and crash) via unspecified vectors. CVSS vector: AV:N/AC:L/Au:N/C:P/I:N/A:P.

Questions

What is CVE-2012-2135?

This vulnerability was disclosed in 2012. A medium severity vulnerability affects Canonical systems (CVE-2012-2135). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2012-2135?

CVE-2012-2135 has CVSS 6.4 (Medium). Vector: AV:N/AC:L/Au:N/C:P/I:N/A:P. EPSS: 4.5%.

Is CVE-2012-2135 actively exploited?

No confirmed active exploitation of CVE-2012-2135 as of 2026-09-25.

How do I remediate CVE-2012-2135?

Priority: MONITOR. Advisory: http://bugs.python.org/issue14579 PSIRT: [email protected]

What systems are affected by CVE-2012-2135?

CVE-2012-2135 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.