SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2016-0772

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…

EXPLOITMEDIUM 6.5EPSS 15.4%

Does this matter?

EPSS puts the probability of exploitation in the next 30 days at 15.4%, higher than 97% of all known CVEs. Patch or mitigate before the next change window.

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 3.0
6.5 MEDIUMCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
EPSS
15.35% probability · 97th percentile
Public exploits
1 in Exploit-DB · first 3 July 2016
CISA KEV
Not listed
Weakness
CWE-693
Affected
python/python
Source
secalert@redhat.com
EPSS trend
0%10%20%21 September 2026: 16.40%22 September 2026: 14.52%26 October 2026: 15.35%21 September 202626 October 2026

EPSS moved from 16.4% on 21 September 2026 to 15.4% on 26 October 2026. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”.

Public exploits (1)

Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.

EDB-IDTitleTypePublishedVerified
EDB-43500source ↗Python smtplib 2.7.11 / 3.4.4 / 3.5.1 - Man In The Middle StartTLS Strippingmultiple · tintinweblocal3 July 2016no

References

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.