CVE-2012-2135: Canonical Ubuntu Linux

Medium severity, CVSS 6.4. EPSS: 4.5% chance of exploitation in the next 30 days.

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.

Affected products

  • Canonical Ubuntu Linux: version 10.04 only; version 11.04 only; version 11.10 only; version 12.04 only; version 12.10 only
  • Debian Debian Linux: version 6.0 only
  • Python Python: from 2.7.0, before 2.7.4 (fixed in 2.7.4); from 3.2.0, before 3.2.4 (fixed in 3.2.4); from 3.3.0, before 3.3.3 (fixed in 3.3.3)

Published 2012-08-14. Last modified 2026-06-16.