Vulnerabilities · 2016 · Python
CVE-2016-5699
Python vulnerability
CRLF injection vulnerability in the HTTPConnection.putheader function in urllib2 and urllib in CPython (aka Python) before 2.7.10 and 3.x before 3.4.4 allows remote attackers to inject arbitrary HTTP headers via CRLF sequences in a URL.
Affected products
Python. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Python runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- hg.python.org/cpython/rev/1c45047c5102 · Patch
- hg.python.org/cpython/rev/bf3e1c9b80e9 · Patch
- blog.blindspotsecurity.com/2016/06/advisory-http-header-injection-in.html · Exploit
- lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
- rhn.redhat.com/errata/RHSA-2016-1626.html
- rhn.redhat.com/errata/RHSA-2016-1627.html
- rhn.redhat.com/errata/RHSA-2016-1628.html
- rhn.redhat.com/errata/RHSA-2016-1629.html
- nvd.nist.gov/vuln/detail/CVE-2016-5699
- cve.org/CVERecord?id=CVE-2016-5699
More vulnerabilities in Python products
CVE-2026-21441CVE-2025-66471CVE-2025-66418CVE-2025-50182CVE-2025-50181CVE-2025-48379CVE-2025-47273CVE-2025-13837All 231
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.