Live threats

All CVEs / Python

CVE-2016-5699Python

Medium 6.1 No auth neededHigh EPSS

Priority
53
CVSS 3.0
6.1
EPSS
10.7%
probability of exploitation in 30 days · percentile 97
Auth required
No
Published
Sep 2, 2016
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-113
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Python.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
pythonpython≤ 2.7.9
pythonpython3.0
pythonpython3.0.1
pythonpython3.1.0
pythonpython3.1.1
pythonpython3.1.2
pythonpython3.1.3
pythonpython3.1.4
pythonpython3.1.5
pythonpython3.2.0
pythonpython3.2.1
pythonpython3.2.2
pythonpython3.2.3
pythonpython3.2.4
pythonpython3.2.5
pythonpython3.2.6
pythonpython3.3.0
pythonpython3.3.1
pythonpython3.3.2
pythonpython3.3.3
pythonpython3.3.4
pythonpython3.3.5
pythonpython3.3.6
pythonpython3.4.0
pythonpython3.4.1
pythonpython3.4.2
pythonpython3.4.3

Official sources

References

Links published by the sources. Open them with care.