{"id":"CVE-2016-0772","published":"2016-09-02T14:00:00Z","modified":"2024-08-05T22:30:04Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.\"","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.15352,"percentile":0.96856,"provenance":"source"},"cwes":[],"references":[{"url":"https://hg.python.org/cpython/rev/d590114c2394","tags":["x_refsource_CONFIRM"]},{"url":"http://www.splunk.com/view/SP-CAAAPUE","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1630.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1627.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://hg.python.org/cpython/rev/b3ce713fb9be","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1629.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.splunk.com/view/SP-CAAAPSV","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/02/msg00011.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1303647","tags":["x_refsource_CONFIRM"]},{"url":"https://docs.python.org/3.4/whatsnew/changelog.html#python-3-4-5","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2016/06/14/9","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://hg.python.org/cpython/raw-file/v2.7.12/Misc/NEWS","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/201701-18","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-2","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/91225","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1628.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1626.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html","tags":["vendor-advisory","x_refsource_SUSE"]}],"priority":{"score":24.4,"factors":[{"name":"EPSS percentile","points":19.37},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2016-07-03"},"first":{"date":"2016-07-03","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/43500"},"provenance":"source"},"summary":{"text":"The flaw is in the smtplib library of CPython (Python) before 2.7.12, 3.x before 3.4.5, and 3.5.x before 3.5.2: it does not return an error when StartTLS fails. An attacker in a network position between the client and the server can block the StartTLS command, forcing the connection to proceed without TLS protection, and so can bypass the intended encryption in a man-in-the-middle (StartTLS stripping) attack.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:47:55Z"},"euvd":{"id":"EUVD-2016-0788","exploited":false,"provenance":"source"},"exploits":[{"id":43500,"url":"https://www.exploit-db.com/exploits/43500","title":"Python smtplib 2.7.11 / 3.4.4 / 3.5.1 - Man In The Middle StartTLS Stripping","date":"2016-07-03","verified":false,"provenance":"source"}]}