All reports
High

PyOpenSSL Mishandles NUL Byte In Certificate Subject Alternative Name

Affected versions

Version ranges need review.

Affected versions
< 0.13.1
Fixed version
0.13.1
Affected versions
<0.13.1 || =0.10 || =0.11 || =0.12 || =0.13 || =0.6 || =0.7 || =0.8 || =0.9
Fixed version
0.13.1

Exploitation

CVE-2013-4314

Probability of exploitation in the next 30 days: 1.20%

FIRST EPSS · 2026-11-24

Description

The X509Extension in pyOpenSSL before 0.13.1 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.

Links