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."
CVE-2016-0772
Score 6.5 from GitHub Security Advisory published 2022-05-14. NVD baseline CVSS 6.5; sources differ by 0.0.
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 6.5
- EG Score
- 6.5(medium)
- EG Risk
- 50(Track)EG Risk 50/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity65% × 45%Exploitation40% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS
- 96.3%
- KEV
- Not listed
Published
September 2, 2016
Last Modified
May 6, 2026
References (36)
- secalert@redhathttp://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
- secalert@redhathttp://rhn.redhat.com/errata/RHSA-2016-1626.html
- secalert@redhathttp://rhn.redhat.com/errata/RHSA-2016-1627.html
- secalert@redhathttp://rhn.redhat.com/errata/RHSA-2016-1628.html
- secalert@redhathttp://rhn.redhat.com/errata/RHSA-2016-1629.html
- secalert@redhathttp://rhn.redhat.com/errata/RHSA-2016-1630.html
- secalert@redhathttp://www.openwall.com/lists/oss-security/2016/06/14/9
- secalert@redhathttp://www.securityfocus.com/bid/91225
- secalert@redhathttp://www.splunk.com/view/SP-CAAAPSV
- secalert@redhathttp://www.splunk.com/view/SP-CAAAPUE
- secalert@redhathttps://bugzilla.redhat.com/show_bug.cgi?id=1303647
- secalert@redhathttps://docs.python.org/3.4/whatsnew/changelog.html#python-3-4-5
- secalert@redhathttps://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-2
- secalert@redhathttps://hg.python.org/cpython/raw-file/v2.7.12/Misc/NEWS
- secalert@redhathttps://hg.python.org/cpython/rev/b3ce713fb9be
Patch Availability(6)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | python3.5-venv (3.5.2-2ubuntu0~16.04.1) @ xenial | 2026-05-22 | ubuntu |
| redhat | python-0:2.7.5-38.el7_2 | 2016-08-18 | redhat |
| redhat | python27-python-0:2.7.8-16.el7 | 2016-08-18 | redhat |
| redhat | python33-python-0:3.3.2-16.el7 | 2016-08-18 | redhat |
| redhat | rh-python34-python-0:3.4.2-13.el7 | 2016-08-18 | redhat |
| redhat | rh-python35-python-0:3.5.1-9.el7 | 2016-08-18 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
All Vendor Advisories
(6)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
- Red HatRHSA-2016:1626MODERATE2016-06-11
RHSA-2016:1626 — Moderate
- Red HatRHSA-2016:1627MODERATE2016-06-11
RHSA-2016:1627 — Moderate
- Red HatRHSA-2016:1628MODERATE2016-06-11
RHSA-2016:1628 — Moderate
- Red HatRHSA-2016:1629MODERATE2016-06-11
RHSA-2016:1629 — Moderate
- Red HatRHSA-2016:1630MODERATE2016-06-11
RHSA-2016:1630 — Moderate
- UbuntuUSN-3134-1MEDIUM
Python vulnerabilities
Data Freshness Timeline
(refreshed 11× in last 7d / 38× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-24 14:13 UTCEPSS rescore
- 2026-07-23 14:14 UTCEPSS rescore
- 2026-07-23 01:21 UTCEG score recompute
- 2026-07-23 00:22 UTCEG score recompute
- 2026-07-22 22:00 UTCEG score recompute
- 2026-07-22 14:04 UTCEPSS rescore
- 2026-07-21 15:21 UTCEPSS rescore
- 2026-07-21 15:21 UTCEPSS rescore
- 2026-07-20 17:03 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-18 10:00 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-15 01:56 UTCEPSS rescore
- 2026-07-13 22:26 UTCEPSS rescore
- 2026-07-13 22:26 UTCEPSS rescore
- 2026-07-12 08:07 UTCOSV refresh
- 2026-07-12 05:42 UTCEPSS rescore
- 2026-07-11 08:23 UTCEPSS rescore
- 2026-07-09 19:05 UTCEPSS rescore
- 2026-07-09 19:05 UTCEPSS rescore
- 2026-07-08 15:10 UTCEPSS rescore
- 2026-07-07 13:42 UTCEPSS rescore
Show 72 moreShow fewer
- 2026-07-07 13:42 UTCEPSS rescore
- 2026-07-05 02:26 UTCEPSS rescore
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-29 14:03 UTCEPSS rescore
- 2026-06-29 14:03 UTCEPSS rescore
- 2026-06-28 14:04 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-27 03:05 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-23 13:30 UTCOSV refresh
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-15 17:45 UTCEPSS rescore
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-13 22:57 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-11 13:57 UTCEPSS rescore
- 2026-06-11 13:57 UTCEPSS rescore
- 2026-06-10 22:15 UTCEPSS rescore
- 2026-06-10 13:18 UTCEPSS rescore
- 2026-06-08 14:14 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-06 15:59 UTCOSV refresh
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-05 22:44 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-29 13:41 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-26 07:16 UTCEPSS rescore
- 2026-05-26 07:16 UTCEPSS rescore
- 2026-05-24 16:43 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 18:57 UTCEG score recompute
- 2026-05-22 18:57 UTCVendor advisory
- 2026-05-22 18:57 UTCGHSA enrichment
- 2026-05-22 17:43 UTCOSV refresh
- 2026-05-21 22:40 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-18 21:30 UTCEPSS rescore
- 2026-05-18 21:30 UTCEPSS rescore
Publicly available exploits
(1 reference)Working exploit code is in the public domain (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-43500First seen Jul 3, 2016
Python smtplib 2.7.11 / 3.4.4 / 3.5.1 - Man In The Middle StartTLS Stripping
Open source ↗
Frequently asked(5)
What is CVE-2016-0772?
When was CVE-2016-0772 disclosed?
Is CVE-2016-0772 actively exploited?
What is the CVSS score of CVE-2016-0772?
How do I remediate CVE-2016-0772?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2016-0772
Is Your Infrastructure Affected by CVE-2016-0772?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.