CVE-2026-0865: wsgiref.headers.Headers allows header newline injection
User-controlled header names and values containing newlines can allow injecting HTTP headers.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/jythonto a version that resolves this vulnerability.Fixed in 2.7.4-1 - 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
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
What is the severity of CVE-2026-0865?
CVE-2026-0865 has been classified as a medium severity vulnerability due to the potential for HTTP header injection.
How do I fix CVE-2026-0865?
To fix CVE-2026-0865, ensure that your application properly sanitizes user input for header names and values, especially to prevent newlines.
What software is affected by CVE-2026-0865?
CVE-2026-0865 affects the wsgiref package, specifically versions vulnerable to header newline injection.
What are the risks associated with CVE-2026-0865?
The risks associated with CVE-2026-0865 include the potential for an attacker to inject malicious headers, compromising web application security.
Is there a patch available for CVE-2026-0865?
Yes, a patch addressing CVE-2026-0865 is available and should be applied to prevent header injection vulnerabilities.