cve.bz

CVE-2016-0772 python python: Protection Mechanism Failure

6.5 mediumExploitEPSS 15%Fix available

Medium (6.5) in python python. EPSS 15% estimated probability of exploitation activity in the next 30 days.

On this page
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."

Severity

CVSS 3.0

6.5 medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
EPSS
15% (unchanged from 15% a week ago; 15% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-693 Protection Mechanism Failure
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-0772 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-0772?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-0772?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-0772 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
python:python3.5.0
python:python3.5.1
python:python3.0
python:python3.0.1
python:python3.1.0
python:python3.1.1
python:python3.1.2
python:python3.1.3
python:python3.1.4
python:python3.1.5
python:python3.2.0
python:python3.2.1
python:python3.2.2
python:python3.2.3
python:python3.2.4
python:python3.2.5
python:python3.2.6
python:python3.3.0
python:python3.3.1
python:python3.3.2
python:python3.3.3
python:python3.3.4
python:python3.3.5
python:python3.3.6
python:python3.4.0
python:python3.4.1
python:python3.4.2
python:python3.4.3
python:python3.4.4
python:pythonthrough 2.7.11

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7python2.72.7.3-6+deb7u3DLA-522-1
Debian7python3.23.2.3-7+deb7u1DLA-871-1
Debian8python3.43.4.2-1+deb8u2DLA-1663-1
Debian11python2.72.7.12~rc1-1DEBIAN-CVE-2016-0772
Ubuntu14.04:LTSpython2.72.7.6-8ubuntu0.3UBUNTU-CVE-2016-0772 USN-3134-1
Ubuntu14.04:LTSpython3.43.4.3-1ubuntu1~14.04.5UBUNTU-CVE-2016-0772 USN-3134-1
Ubuntu14.04:LTSpython3.53.5.2-2ubuntu0~16.04.4~14.04.1UBUNTU-CVE-2016-0772
Ubuntu16.04:LTSpython2.72.7.12-1ubuntu0~16.04.1UBUNTU-CVE-2016-0772 USN-3134-1
Ubuntu16.04:LTSpython3.53.5.2-2ubuntu0~16.04.1UBUNTU-CVE-2016-0772 USN-3134-1
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 morepython, tkinter, python-libs and 4 more0:2.6.6-66.el6_8RHSA-2016:1626
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morepython, tkinter, python-libs and 5 more0:2.7.5-38.el7_2RHSA-2016:1626
Red Hatrhel_software_collections:2::el6python27-python, python27-tkinter, python27-python-libs and 5 more0:2.7.8-18.el6RHSA-2016:1628
Red Hatrhel_software_collections:2::el6python33-python, python33-python-libs, python33-python-test and 5 more0:3.3.2-18.el6RHSA-2016:1629
Red Hatrhel_software_collections:2::el6rh-python34-python, rh-python34-python-libs, rh-python34-python-test and 5 more0:3.4.2-14.el6RHSA-2016:1630
Red Hatrhel_software_collections:2::el7python27-python, python27-tkinter, python27-python-libs and 5 more0:2.7.8-16.el7RHSA-2016:1628
Red Hatrhel_software_collections:2::el7python33-python, python33-python-libs, python33-python-test and 5 more0:3.3.2-16.el7RHSA-2016:1629
Red Hatrhel_software_collections:2::el7rh-python34-python, rh-python34-python-libs, rh-python34-python-test and 5 more0:3.4.2-13.el7RHSA-2016:1630
Red Hatrhel_software_collections:2::el7rh-python35-python, rh-python35-python-libs, rh-python35-python-test and 5 more0:3.5.1-9.el7RHSA-2016:1627
SUSELinux Enterprise Desktop 12 SP1, Linux Enterprise Module for Web and Scripting 12, Linux Enterprise Server 12 SP1 and 1 morepython3, python3-base3.4.5-17.1SUSE-SU-2016:2653-1
SUSELinux Enterprise Desktop 12 SP1, Linux Enterprise Server 12 SP1, Linux Enterprise Server for SAP Applications 12 SP1python2.7.9-24.1SUSE-SU-2016:2106-1
SUSELinux Enterprise Desktop 12 SP1, Linux Enterprise Server 12 SP1, Linux Enterprise Server for SAP Applications 12 SP1 and 2 morepython-base2.7.9-24.2SUSE-SU-2016:2106-1
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise Server 12 SP2, Linux Enterprise Server for Raspberry Pi 12 SP2 and 1 morepython3, python3-base3.4.5-19.1SUSE-SU-2016:2859-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Basesystem 15 SP1python3, python3-base3.6.10-3.42.2SUSE-SU-2020:0114-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Desktop Applications 15 and 2 morepython2.7.17-7.32.2SUSE-SU-2020:0234-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Python 2 15 SP1python-base2.7.17-7.32.1SUSE-SU-2020:0234-1
SUSELinux Enterprise Module for Development Tools 15, Linux Enterprise Module for Development Tools 15 SP1python3-base3.6.10-3.42.2SUSE-SU-2020:0114-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4, Linux Enterprise Software Development Kit 11 SP4python, python-base2.6.9-39.1SUSE-SU-2016:2270-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4, Linux Enterprise Software Development Kit 11 SP4python-doc2.6-8.39.1SUSE-SU-2016:2270-1
SUSELinux Enterprise Server 12 SP1, Linux Enterprise Server for SAP Applications 12 SP1python-doc2.7.9-24.4SUSE-SU-2016:2106-1
SUSELinux Enterprise Server 12-LTSSpython2.7.9-16.7.1SUSE-SU-2019:0223-1
3 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.1python3, python3-base3.6.10-lp151.6.7.1openSUSE-SU-2020:0086-1
openSUSETumbleweedpython2.7.12-1.5openSUSE-SU-2024:10450-1
openSUSETumbleweedpython-base2.7.12-1.4openSUSE-SU-2024:10536-1
openSUSETumbleweedpython-doc2.7.12-1.3openSUSE-SU-2024:10193-1
openSUSETumbleweedpython363.6.15-1.1openSUSE-SU-2024:11284-1
Azure Linux3python-pyno fix listedAZL-109605

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6python-0:2.6.6-66.el6_8Fixed 2016-08-18RHSA-2016:1626
Red Hat Enterprise Linux 7python-0:2.7.5-38.el7_2Fixed 2016-08-18RHSA-2016:1626
Red Hat Software Collections for Red Hat Enterprise Linux 6python27-python-0:2.7.8-18.el6Fixed 2016-08-18RHSA-2016:1628
Red Hat Software Collections for Red Hat Enterprise Linux 6python33-python-0:3.3.2-18.el6Fixed 2016-08-18RHSA-2016:1629
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-python34-python-0:3.4.2-14.el6Fixed 2016-08-18RHSA-2016:1630
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUSpython27-python-0:2.7.8-18.el6Fixed 2016-08-18RHSA-2016:1628
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUSpython33-python-0:3.3.2-18.el6Fixed 2016-08-18RHSA-2016:1629
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUSrh-python34-python-0:3.4.2-14.el6Fixed 2016-08-18RHSA-2016:1630
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUSpython27-python-0:2.7.8-18.el6Fixed 2016-08-18RHSA-2016:1628
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUSpython33-python-0:3.3.2-18.el6Fixed 2016-08-18RHSA-2016:1629
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUSrh-python34-python-0:3.4.2-14.el6Fixed 2016-08-18RHSA-2016:1630
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-python35-python-0:3.5.1-9.el7Fixed 2016-08-18RHSA-2016:1627
Red Hat Software Collections for Red Hat Enterprise Linux 7python27-python-0:2.7.8-16.el7Fixed 2016-08-18RHSA-2016:1628
Red Hat Software Collections for Red Hat Enterprise Linux 7python33-python-0:3.3.2-16.el7Fixed 2016-08-18RHSA-2016:1629
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-python34-python-0:3.4.2-13.el7Fixed 2016-08-18RHSA-2016:1630
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUSrh-python35-python-0:3.5.1-9.el7Fixed 2016-08-18RHSA-2016:1627
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUSpython27-python-0:2.7.8-16.el7Fixed 2016-08-18RHSA-2016:1628
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUSpython33-python-0:3.3.2-16.el7Fixed 2016-08-18RHSA-2016:1629
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUSrh-python34-python-0:3.4.2-13.el7Fixed 2016-08-18RHSA-2016:1630
Red Hat Enterprise Linux 5pythonWill not fix
4 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-0772.

Public exploits

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-693 (17).

References

Check your stackJSON