CVE-2025-11468
Medium 5.7 CVSS 4.0
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-01-20
- Last modified
- 2026-06-17
- Assigned by
- cna@python.org
- CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:- Scored by
- cna@python.org
- Probability of exploitation
-
0.5 %
higher than 43 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Python Software Foundation | CPython | ≥ 0, < 3.10.20 | Affected |
| Python Software Foundation | CPython | ≥ 3.11.0, < 3.11.15 | Affected |
| Python Software Foundation | CPython | ≥ 3.12.0, < 3.12.13 | Affected |
| Python Software Foundation | CPython | ≥ 3.13.0, < 3.13.12 | Affected |
| Python Software Foundation | CPython | ≥ 3.14.0, < 3.14.3 | Affected |
| Python Software Foundation | CPython | ≥ 3.15.0a1, < 3.15.0a6 | Affected |
Weakness type
-
CWE-93: Improper Neutralization of CRLF Sequences
The product uses CRLF (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutralize or incorrectly neutralizes CRLF sequences from inputs.
References
- https://github.com/python/cpython/commit/003b8315669b9f08b1010a49071f73f15f818094
- https://github.com/python/cpython/commit/17d1490aa97bd6b98a42b1a9b324ead84e7fd8a2
- https://github.com/python/cpython/commit/61614a5e5056e4f61ced65008d4576f3df34acb6
- https://github.com/python/cpython/commit/a76e4cd62dd68e7cbe86e37e6ed988495a646b66
- https://github.com/python/cpython/commit/e9970f077240c7c670e8a6fc6662f2b30d3b6ad0
- https://github.com/python/cpython/commit/f738386838021c762efea6c9802c82de65e87796
- https://github.com/python/cpython/issues/143935
- https://github.com/python/cpython/pull/143936
- https://mail.python.org/archives/list/security-announce@python.org/thread/FELSEOLBI2QR6YL…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.