CVE-2025-11468: Folding email comments of unfoldable characters doesn't preserve parenthesis
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/pypy3to a version that resolves this vulnerability.Fixed in 7.3.21+dfsg-1 - Upgrade
Upgrade
debian/python3.11to a version that resolves this vulnerability.Fixed in 3.11.2-6+deb12u7 - Upgrade
Upgrade
debian/python3.13to a version that resolves this vulnerability.Fixed in 3.13.5-2+deb13u1 - Upgrade
Upgrade
debian/python3.14to a version that resolves this vulnerability.Fixed in 3.14.3-1 - Upgrade
Upgrade
ubuntu/python3.6to a version that resolves this vulnerability.Fixed in 3.6.9-1~18.04ubuntu1.13+esm8 - Upgrade
Upgrade
ubuntu/python3.7to a version that resolves this vulnerability.Fixed in 3.7.5-2ubuntu1~18.04.2+esm9 - Upgrade
Upgrade
ubuntu/python3.8to a version that resolves this vulnerability.Fixed in 3.8.0-3ubuntu1~18.04.2+esm9 - Upgrade
Upgrade
ubuntu/python3.8to a version that resolves this vulnerability.Fixed in 3.8.10-0ubuntu1~20.04.18+esm5 - Upgrade
Upgrade
ubuntu/python3.9to a version that resolves this vulnerability.Fixed in 3.9.5-3ubuntu0~20.04.1+esm9 - Upgrade
Upgrade
ubuntu/python3.10to a version that resolves this vulnerability.Fixed in 3.10.12-1~22.04.14 - Upgrade
Upgrade
ubuntu/python3.11to a version that resolves this vulnerability.Fixed in 3.11.0~rc1-1~22.04.1~esm8 - Upgrade
Upgrade
ubuntu/python3.12to a version that resolves this vulnerability.Fixed in 3.12.3-1ubuntu0.11 - Upgrade
Upgrade
ubuntu/python3.13to a version that resolves this vulnerability.Fixed in 3.13.7-1ubuntu0.3 - Upgrade
Upgrade
ubuntu/python3.14to a version that resolves this vulnerability.Fixed in 3.14.0-1ubuntu0.2 - Upgrade
Upgrade
debian/python3.13to a version that resolves this vulnerability.Fixed in 3.13.5-2+deb13u1Fixed in 3.13.12-1 - Upgrade
Upgrade
debian/python3.9to a version that resolves this vulnerability.Fixed in 3.9.2-1+deb11u5
Event History
Frequently Asked Questions
Which applications are realistically exposed to this issue?
Applications are exposed when they generate email messages using an affected implementation and place user-controlled, unsanitized address data into email headers. The issue specifically depends on a long comment made exclusively of characters that cannot be folded.
What must an attacker provide to exploit it?
An attacker needs influence over address data used in an email message without adequate sanitization. That data must cause a long email-header comment containing only unfoldable characters, allowing the malformed folding behavior to be used for header injection.
Are default deployments necessarily affected?
No. Exploitation requires an application-specific condition: user-controlled address fields must be accepted without sanitization and used when constructing email headers. Deployments that do not expose such input or that sanitize it are not described as exploitable.
What can be done if updates cannot be applied immediately?
Sanitize and reject untrusted address input before using it in email headers, particularly input containing header-control characters. Avoid constructing address comments from user-controlled values, and ensure generated email headers do not permit injected header boundaries.