Back
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…
Medium6.5EPSS 15.4%
- Published
- Updated
- Reserved
- Assigned by
- redhat
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."
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Medium6.5 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N |
- EPSS (exploitation in 30 days)
- 15.4% · top 3.2% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Weakness
Affected products
n/a
- affected n/a
References (18)
- https://hg.python.org/cpython/rev/d590114c2394 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www.splunk.com/view/SP-CAAAPUE (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2016:1630 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2016:1627 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://hg.python.org/cpython/rev/b3ce713fb9be (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2016:1629 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://www.splunk.com/view/SP-CAAAPSV (opens in a new tab)x_refsource_CONFIRMx_transferred
- [debian-lts-announce] 20190207 [SECURITY] [DLA 1663-1] python3.4 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=1303647 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://docs.python.org/3.4/whatsnew/changelog.html#python-3-4-5 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [oss-security] 20160614 Python CVE-2016-0772: smtplib StartTLS stripping attack (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://hg.python.org/cpython/raw-file/v2.7.12/Misc/NEWS (opens in a new tab)x_refsource_CONFIRMx_transferred
- GLSA-201701-18 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-2 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 91225 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- RHSA-2016:1628 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2016:1626 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- openSUSE-SU-2020:0086 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .