6.5

CVE-2016-0772: python Protection Mechanism Failure

Modified
AliasesUBUNTU-CVE-2016-0772DEBIAN-CVE-2016-0772DLA-871-1
Published 02-09-2016Last modified 05-08-2024

Vulnerability summary

CVE-2016-0772 is a medium (CVSS 6.5) Protection Mechanism Failure vulnerability in python. EPSS estimates a 15.35% chance of exploitation in the next 30 days, higher than 96.7% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.0 (NVD)
EPSS score
15.35%
0%100%
Medium · +0.83 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1exploit-database

Advisory lineage

Upstream 0 · Downstream 21 · Related 13

Timeline

  1. 02-09-2016
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last modifiedVulnerability information updated.

Description

The smtplib library in CPython (aka Python) before 2.7.12, 3.x before 3.4.5, and 3.5.x before 3.5.2 does not return an error when StartTLS fails, which might allow man-in-the-middle attackers to bypass the TLS protections by leveraging a network position between the client and the registry to block the StartTLS command, aka a "StartTLS stripping attack."

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

15.35%

Chance of exploitation in the next 30 days

Percentile

97%

Versus all other CVEs

30-day change

Increase +0.83 pp

From 14.52% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • exploit-databaselocalmultipleUnverified

    Python smtplib 2.7.11 / 3.4.4 / 3.5.1 - Man In The Middle StartTLS Stripping

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu3 products
  • python2.7< 2.7.6-8ubuntu0.3 | < 2.7.12-1ubuntu0~16.04.1
  • python3.4< 3.4.3-1ubuntu1~14.04.5
  • python3.5< 3.5.2-2ubuntu0~16.04.4~14.04.1 | < 3.5.2-2ubuntu0~16.04.1
Debian2 products
  • python2.7< 2.7.12~rc1-1
  • python3.2< 3.2.3-7+deb7u1
Python1 product
  • pythonEOL3.5.0 | 3.5.1 | 3.0 | 3.0.1 | 3.1.0 | 3.1.1 | 3.1.2 | 3.1.3 | 3.1.4 | 3.1.5 | 3.2.0 | 3.2.1 | 3.2.2 | 3.2.3 | 3.2.4 | 3.2.5 | 3.2.6 | 3.3.0 | 3.3.1 | 3.3.2 | 3.3.3 | 3.3.4 | 3.3.5 | 3.3.6 | 3.4.0 | 3.4.1 | 3.4.2 | 3.4.3 | 3.4.4 | ≤ 2.7.11

3 vendors · 6 products

References

22 links
Show all 22 references