CVE-2016-5699: CRLF injection vulnerability in the HTTPConnection.putheader function in urllib2 and urllib in CPython (aka Python) before 2.7.10 and 3.x…

CVE-2016-5699 affects 75 listed versions of Python in the Dawnsentry catalogue.

6.1CVSS medium
None knownexploitation
11%EPSS (next 30 days)
2 September 2016published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Python

75 of 250 listed versions are affected. Fixed in 3.4.4. The newest release, 3.15.2, is not affected.

3.4.3 3.4.2 3.4.1 3.4.0 3.3.6 3.3.6-rc1 3.3.5 3.3.5-rc2 3.3.5-rc1 3.3.4 3.3.4-rc1 3.3.3 3.3.3-rc2 3.3.3-rc1 3.3.2 3.3.1 3.3.1-rc1 3.3.0 3.2.6 3.2.5 3.2.4 3.2.3 3.2.2 3.2.1 3.2.0 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.1 3.0 2.7.9 2.7.8 2.7.7 2.7.6 2.6.6150 2.6.2150 2.6.9 2.6.8 2.6.7 2.6.6 2.6.5 2.6.4 2.6.3 2.6.2 2.6.1 2.5.150 2.5.12 2.5.6 2.5.4 2.5.3 2.5.2 2.5.1 2.5.0 2.4.6 2.4.4 2.4.3 2.4.2 and 15 more

What it is

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.

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (NVD)

Published by Red Hat on 2 September 2016. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2016-5699 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.