Vulnerability · Published Jan 20, 2026 · Assigned by PSF

CVE-2025-11468Folding email comments of unfoldable characters doesn't preserve parenthesis

Medium 5.7

In plain English

A medium-severity security flaw in CPython from Python Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)5.7Medium
Exploit odds (30 days)0.6%top 50.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

When folding a long comment in an email header containing exclusively unfoldable characters, the parenthesis would not be preserved. This could be used for injecting headers into email messages where addresses are user-controlled and not sanitized.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12pypy3no fix listedDEBIAN-CVE-2025-11468
Debian:13pypy3no fix listedDEBIAN-CVE-2025-11468
Debian:14pypy37.3.21+dfsg-1DEBIAN-CVE-2025-11468
Debian:12python3.113.11.2-6+deb12u7DEBIAN-CVE-2025-11468
Debian:13python3.133.13.5-2+deb13u1DEBIAN-CVE-2025-11468
Debian:14python3.143.14.3-1DEBIAN-CVE-2025-11468
Ubuntu:22.04:LTSpython3.103.10.12-1~22.04.14UBUNTU-CVE-2025-11468
Ubuntu:24.04:LTSpython3.123.12.3-1ubuntu0.11UBUNTU-CVE-2025-11468
Ubuntu:25.10python3.133.13.7-1ubuntu0.3UBUNTU-CVE-2025-11468
Ubuntu:25.10python3.143.14.0-1ubuntu0.2UBUNTU-CVE-2025-11468

Affected products (as reported)

VendorProductVersions
Python Software Foundation CPython 0 – before 3.10.203.11.0 – before 3.11.153.12.0 – before 3.12.133.13.0 – before 3.13.123.14.0 – before 3.14.33.15.0a1 – before 3.15.0a6

Weakness: CWE-93 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

References