CVE-2016-0772Python
Medium 6.5 No auth neededHigh EPSS
Follow: this CVE · Python · Python We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 3.0
- 6.5
- EPSS
- 15.4% probability of exploitation in 30 days · percentile 97
- Auth required
- No
- Published
- Sep 2, 2016
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-693
- Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
What happens
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."
What to do
- Apply the vendor's security update for Python.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| python | python | 3.5.0 |
| python | python | 3.5.1 |
| python | python | 3.0 |
| python | python | 3.0.1 |
| python | python | 3.1.0 |
| python | python | 3.1.1 |
| python | python | 3.1.2 |
| python | python | 3.1.3 |
| python | python | 3.1.4 |
| python | python | 3.1.5 |
| python | python | 3.2.0 |
| python | python | 3.2.1 |
| python | python | 3.2.2 |
| python | python | 3.2.3 |
| python | python | 3.2.4 |
| python | python | 3.2.5 |
| python | python | 3.2.6 |
| python | python | 3.3.0 |
| python | python | 3.3.1 |
| python | python | 3.3.2 |
| python | python | 3.3.3 |
| python | python | 3.3.4 |
| python | python | 3.3.5 |
| python | python | 3.3.6 |
| python | python | 3.4.0 |
| python | python | 3.4.1 |
| python | python | 3.4.2 |
| python | python | 3.4.3 |
| python | python | 3.4.4 |
| python | python | ≤ 2.7.11 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org
- rhn.redhat.com
- rhn.redhat.com
- rhn.redhat.com
- rhn.redhat.com
- rhn.redhat.com
- www.openwall.com Mailing List
- www.securityfocus.com
- www.splunk.com
- www.splunk.com
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- docs.python.org Release Notes
- docs.python.org Release Notes
- hg.python.org Release Notes
- hg.python.org Patch
- hg.python.org Patch
- lists.debian.org
- security.gentoo.org