IsItPatchedInstant security status for any software version
← All products

CVE-2013-4238

MEDIUM severity · CVSS 4.3 · Improper input validation
4.3CVSS MEDIUM

Summary

The ssl.match_hostname function in the SSL module in Python 2.6 through 3.4 does not properly handle a '\0' character in a domain name in the Subject Alternative Name field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.

Impact & exploitability

Attack vectorNetwork
Attack complexity
Privileges required
User interaction
Confidentiality impactNone
Integrity impact
Availability impactNone
Exploit probability (EPSS)1%

AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected products we track (2)

Recommendation

Apply the vendor fix in your normal patch cycle. Open any affected product above for its exact safe version.

Official patch: http://bugs.python.org/issue18709 ↗

Last checked: Wed, 10 Jun 2026 22:18:30 UTC