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

Medium 5.7 Published Updated

Attackers can inject headers into emails by exploiting improper folding of comments with unfoldable characters in Python's email library.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-11468?

CVE-2025-11468 is a medium-severity vulnerability in CPython, published on 20 Jan 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

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.

Weakness: CWE-93

Which versions are affected by CVE-2025-11468?

3 open source packages ship an affected version, including libpython, python and python-min.

PackageAffectedFixed in
libpython BitnamiAll versions3.10.20, 3.11.15, 3.12.13, 3.13.12, 3.14.3
python BitnamiAll versions3.10.20, 3.11.15, 3.12.13, 3.13.12, 3.14.3
python-min BitnamiAll versions3.10.20, 3.11.15, 3.12.13, 3.13.12, 3.14.3
Linux distribution packages (1)
python314 openSUSE:TumbleweedAll versions3.14.2-2.1

How do I fix CVE-2025-11468?

Upgrade libpython to a fixed version for your release line: 3.10.20, 3.11.15, 3.12.13 or 3.13.12.

Is CVE-2025-11468 being exploited?

There is no known exploitation of CVE-2025-11468 in the wild and no public exploit code.

Sources

Also known as AZL-75035, AZL-75047, BELL-CVE-2025-11468, BIT-libpython-2025-11468, BIT-python-2025-11468, BIT-python-min-2025-11468 and 11 more.

Is CVE-2025-11468 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free