CVE-2016-0772

Summary

CVECVE-2016-0772
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-09-02 14:59:00 UTC
Updated2026-05-06 22:30:45 UTC
DescriptionThe 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."

Risk And Classification

Primary CVSS: v3.0 6.5 MEDIUM from [email protected]

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

EPSS: 0.150300000 probability, percentile 0.963640000 (date 2026-07-22)

Problem Types: CWE-693 | n/a


VersionSourceTypeScoreSeverityVector
3.0[email protected]Primary6.5MEDIUMCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
2.0[email protected]Primary5.8AV:N/AC:M/Au:N/C:P/I:P/A:N

CVSS v3.0 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
None

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

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
None

AV:N/AC:M/Au:N/C:P/I:P/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Python Python 3.0 All All All
Application Python Python 3.0.1 All All All
Application Python Python 3.1.0 All All All
Application Python Python 3.1.1 All All All
Application Python Python 3.1.2 All All All
Application Python Python 3.1.3 All All All
Application Python Python 3.1.4 All All All
Application Python Python 3.1.5 All All All
Application Python Python 3.2.0 All All All
Application Python Python 3.2.1 All All All
Application Python Python 3.2.2 All All All
Application Python Python 3.2.3 All All All
Application Python Python 3.2.4 All All All
Application Python Python 3.2.5 All All All
Application Python Python 3.2.6 All All All
Application Python Python 3.3.0 All All All
Application Python Python 3.3.1 All All All
Application Python Python 3.3.2 All All All
Application Python Python 3.3.3 All All All
Application Python Python 3.3.4 All All All
Application Python Python 3.3.5 All All All
Application Python Python 3.3.6 All All All
Application Python Python 3.4.0 All All All
Application Python Python 3.4.1 All All All
Application Python Python 3.4.2 All All All
Application Python Python 3.4.3 All All All
Application Python Python 3.4.4 All All All
Application Python Python 3.5.0 All All All
Application Python Python 3.5.1 All All All
Application Python Python All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
hg.python.org/cpython/raw-file/v2.7.12/Misc/NEWS af854a3a-2127-422b-91ae-364da2661108 hg.python.org Release Notes
Splunk Enterprise 6.4.5 addresses multiple vulnerabilities | Splunk af854a3a-2127-422b-91ae-364da2661108 www.splunk.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
cpython: d590114c2394 af854a3a-2127-422b-91ae-364da2661108 hg.python.org Patch
Python: Multiple vulnerabilities (GLSA 201701-18) — Gentoo security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
oss-security - Python CVE-2016-0772: smtplib StartTLS stripping attack af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List
Changelog — Python 3.4.5 documentation af854a3a-2127-422b-91ae-364da2661108 docs.python.org Release Notes
cpython: b3ce713fb9be af854a3a-2127-422b-91ae-364da2661108 hg.python.org Patch
[security-announce] openSUSE-SU-2020:0086-1: important: Security update af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
Bug 1303647 – CVE-2016-0772 python: smtplib StartTLS stripping attack af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Third Party Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Python smtplib CVE-2016-0772 Man in the Middle Security Bypass Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
[SECURITY] [DLA 1663-1] python3.4 security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Changelog — Python 3.5.2 documentation af854a3a-2127-422b-91ae-364da2661108 docs.python.org Release Notes
Splunk Enterprise 6.5.1 addresses multiple OpenSSL vulnerabilities | Splunk af854a3a-2127-422b-91ae-364da2661108 www.splunk.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 730315 Splunk Enterprise and Light Security Update (SP-CAAAPSV) (SPL-128812)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report