ADVISORIES

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

EcosystemPackageAffected versions
Pythonpython
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