CVE & CISA-KEV Catalog

CVE-2016-5699

MEDIUMEPSS 95th pctl
6.1
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
python2.7Debian
Fixed in:2.7.10~rc1-1CVE-2016-5699

This Debian release reached end-of-life on 2024-08-14.

libpython2.7Ubuntu
Fixed in:2.7.6-8ubuntu0.3USN-3134-1

This Ubuntu release reached end-of-life on 2019-04-02.

Fixed in:2.7.12-1ubuntu0~16.04.1USN-3134-1

This Ubuntu release reached end-of-life on 2021-04-02.

libpython2.7-minimalUbuntu
Fixed in:2.7.6-8ubuntu0.3USN-3134-1

This Ubuntu release reached end-of-life on 2019-04-02.

Fixed in:2.7.12-1ubuntu0~16.04.1USN-3134-1

This Ubuntu release reached end-of-life on 2021-04-02.

libpython2.7-stdlibUbuntu
Fixed in:2.7.6-8ubuntu0.3USN-3134-1

This Ubuntu release reached end-of-life on 2019-04-02.

Fixed in:2.7.12-1ubuntu0~16.04.1USN-3134-1

This Ubuntu release reached end-of-life on 2021-04-02.

libpython3.4Ubuntu
Fixed in:3.4.3-1ubuntu1~14.04.5USN-3134-1

This Ubuntu release reached end-of-life on 2019-04-02.

libpython3.4-minimalUbuntu
Fixed in:3.4.3-1ubuntu1~14.04.5USN-3134-1

This Ubuntu release reached end-of-life on 2019-04-02.

libpython3.4-stdlibUbuntu
Fixed in:3.4.3-1ubuntu1~14.04.5USN-3134-1

This Ubuntu release reached end-of-life on 2019-04-02.

libpython3.5Ubuntu
Fixed in:3.5.2-2ubuntu0~16.04.1USN-3134-1

This Ubuntu release reached end-of-life on 2021-04-02.

libpython3.5-minimalUbuntu
Fixed in:3.5.2-2ubuntu0~16.04.1USN-3134-1

This Ubuntu release reached end-of-life on 2021-04-02.

libpython3.5-stdlibUbuntu
Fixed in:3.5.2-2ubuntu0~16.04.1USN-3134-1

This Ubuntu release reached end-of-life on 2021-04-02.

python2.7Ubuntu
Fixed in:2.7.6-8ubuntu0.3USN-3134-1

This Ubuntu release reached end-of-life on 2019-04-02.

Fixed in:2.7.12-1ubuntu0~16.04.1USN-3134-1

This Ubuntu release reached end-of-life on 2021-04-02.

python2.7-minimalUbuntu
Fixed in:2.7.6-8ubuntu0.3USN-3134-1

This Ubuntu release reached end-of-life on 2019-04-02.

Fixed in:2.7.12-1ubuntu0~16.04.1USN-3134-1

This Ubuntu release reached end-of-life on 2021-04-02.

python3.4Ubuntu
Fixed in:3.4.3-1ubuntu1~14.04.5USN-3134-1

This Ubuntu release reached end-of-life on 2019-04-02.

python3.4-minimalUbuntu
Fixed in:3.4.3-1ubuntu1~14.04.5USN-3134-1

This Ubuntu release reached end-of-life on 2019-04-02.

python3.5Ubuntu
Fixed in:3.5.2-2ubuntu0~16.04.1USN-3134-1

This Ubuntu release reached end-of-life on 2021-04-02.

python3.5-minimalUbuntu
Fixed in:3.5.2-2ubuntu0~16.04.1USN-3134-1

This Ubuntu release reached end-of-life on 2021-04-02.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeChanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityNone

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

Exploit Intelligence

9.89%probability of exploitation in 30 days
95thpercentile

Very high risk: more likely to be exploited than 95% of all known CVEs.

References

Related Vulnerabilities

Other CWE-113 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2022-37436Medium5.361%-Fix
CVE-2024-52875High8.830%--
CVE-2016-8024High8.18.7%--
CVE-2017-17742Medium5.35.5%-Fix
CVE-2016-5325Medium6.14.1%-Fix
CVE-2018-16979Medium6.13.0%--

Common questions

How do I fix CVE-2016-5699?

Published advisories record a fix for 16 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2016-5699 being actively exploited?

Not that we know of. CVE-2016-5699 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 9.9% is the estimated probability that it will be exploited in the next 30 days. That is higher than 95% of all scored CVEs.

How severe is CVE-2016-5699?

CVE-2016-5699 has a CVSS v3 base score of 6.1, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2016-5699 affect?

Published advisories record a fix for python2.7 (Debian), libpython2.7 (Ubuntu), libpython2.7-minimal (Ubuntu), libpython2.7-stdlib (Ubuntu), and 12 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2016-5699
CVE-2016-5699 severity badge

Markdown

[![CVE-2016-5699](https://tridentstack.com/cve/badge/CVE-2016-5699.svg)](https://tridentstack.com/cve/CVE-2016-5699)

HTML

<a href="https://tridentstack.com/cve/CVE-2016-5699"><img src="https://tridentstack.com/cve/badge/CVE-2016-5699.svg" alt="CVE-2016-5699"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.