CVE-2013-7440

medium
Published 2016-06-07 ยท Modified 2026-05-06
CVSS v3
5.9
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
5.9

Description

The ssl.match_hostname function in CPython (aka Python) before 2.7.9 and 3.x before 3.3.3 does not properly handle wildcards in hostnames, which might allow man-in-the-middle attackers to spoof servers via a crafted certificate.

Predictions

Exploit likelihood
69%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

OSVersionStatusFixed in
debian debianbullseyefixed2.7.9-1

Application impact

VendorProductVersionsFixed
python pythonpython{"endIncluding":"2.7.8"}
python pythonpython3.0
python pythonpython3.0.1
python pythonpython3.1
python pythonpython3.1.1
python pythonpython3.1.2
python pythonpython3.1.3
python pythonpython3.1.4
python pythonpython3.1.5
python pythonpython3.1.2150
python pythonpython3.2
python pythonpython3.2.0
python pythonpython3.2.1
python pythonpython3.2.2
python pythonpython3.2.3
python pythonpython3.2.4
python pythonpython3.2.5
python pythonpython3.2.6
python pythonpython3.2.2150
python pythonpython3.3
python pythonpython3.3.0
python pythonpython3.3.1
python pythonpython3.3.2

References

CWEs

CWE-19

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.