CVE Program
CNA-CVE-2025-11468
Folding email comments of unfoldable characters doesn't preserve parenthesis
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Python | python | All versions before 3.10.20 (fixed in 3.10.20) From 3.11.0 before 3.11.15 (fixed in 3.11.15) From 3.12.0 before 3.12.13 (fixed in 3.12.13) From 3.13.0 before 3.13.12 (fixed in 3.13.12) From 3.14.0 before 3.14.3 (fixed in 3.14.3) From 3.15.0a1 before 3.15.0a6 (fixed in 3.15.0a6) |
References
- https://www.cve.org/CVERecord?id=CVE-2025-11468
- https://github.com/python/cpython/pull/143936
- https://github.com/python/cpython/issues/143935
- https://mail.python.org/archives/list/[email protected]/thread/FELSEOLBI2QR6YLG6Q7VYF7FWSGQTKLI/
- https://github.com/python/cpython/commit/17d1490aa97bd6b98a42b1a9b324ead84e7fd8a2
- https://github.com/python/cpython/commit/61614a5e5056e4f61ced65008d4576f3df34acb6
- https://github.com/python/cpython/commit/e9970f077240c7c670e8a6fc6662f2b30d3b6ad0
- https://github.com/python/cpython/commit/f738386838021c762efea6c9802c82de65e87796
- https://github.com/python/cpython/commit/a76e4cd62dd68e7cbe86e37e6ed988495a646b66
- https://github.com/python/cpython/commit/003b8315669b9f08b1010a49071f73f15f818094