CVE-2013-4314
PyOpenSSL Mishandles NUL Byte In Certificate Subject Alternative Name
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.
Exploit likelihood
What each source reports
NVD Score used
4.3
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.
- Record
CVE-2013-4314- CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2013-4314- Updated
- 2026-11-02
EUVDEUVD-2013-0029 No score
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.
- Record
EUVD-2013-0029- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-6748-36qp-fx6r
8.7
PyOpenSSL Mishandles NUL Byte In Certificate Subject Alternative Name
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.
- Record
GHSA-6748-36qp-fx6r- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-20
- Updated
- 2026-11-02
OSVGHSA-6748-36qp-fx6r
8.7
PyOpenSSL Mishandles NUL Byte In Certificate Subject Alternative Name
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.
- Record
GHSA-6748-36qp-fx6r- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-20
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2013-4314- Updated
- 2026-11-02
Show 9 moreShow less
OSVDEBIAN-CVE-2013-4314 No score
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.
- Record
DEBIAN-CVE-2013-4314- Updated
- 2026-11-02
OSVMGASA-2013-0277 No score
Updated python-OpenSSL package fixes security vulnerability
The string formatting of subjectAltName X509Extension instances in pyOpenSSL before 0.13.1 incorrectly truncated fields of the name when encountering a null byte, possibly allowing man-in-the-middle attacks through certificate spoofing (CVE-2013-4314).
- Record
MGASA-2013-0277- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10214-1 No score
python-pyOpenSSL-16.2.0-1.3 on GA media
These are all security issues fixed in the python-pyOpenSSL-16.2.0-1.3 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10214-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11253-1 No score
python36-pyOpenSSL-20.0.1-1.4 on GA media
These are all security issues fixed in the python36-pyOpenSSL-20.0.1-1.4 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11253-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:14154-1 No score
python310-pyOpenSSL-24.1.0-1.2 on GA media
These are all security issues fixed in the python310-pyOpenSSL-24.1.0-1.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:14154-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:11470-1 No score
python313-pyOpenSSL-26.4.0-1.1 on GA media
These are all security issues fixed in the python313-pyOpenSSL-26.4.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:11470-1- Updated
- 2026-11-02
OSVPYSEC-2013-31 No score
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.
- Record
PYSEC-2013-31- Updated
- 2026-11-02
OSVSUSE-FU-2022:0444-1 No score
Feature update for venv-salt-minion
This feature update for venv-salt-minion provides the following changes:
- Introduce
venv-salt-minion. - Track already fixed issues.
- Record
SUSE-FU-2022:0444-1- Updated
- 2026-11-02
OSVSUSE-FU-2022:0445-1 No score
Feature update for venv-salt-minion
This feature update for venv-salt-minion provides the following changes:
- Introduce
venv-salt-minion. - Mention fixed issues provided with the bundle.
- Record
SUSE-FU-2022:0445-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
pyopensslPyPI |
before 0.13.1 | 0.13.1 |
pyopensslDebian:12 |
before 0.13-2.1 | 0.13-2.1 |
pyopensslDebian:13 |
before 0.13-2.1 | 0.13-2.1 |
pyopensslDebian:14 |
before 0.13-2.1 | 0.13-2.1 |
pyopensslDebian:6.0 |
before 0.10-1+squeeze1, plus listed versions 0.10-1 |
0.10-1+squeeze1 |
pyopensslDebian:7 |
before 0.13-2+deb7u1, plus listed versions 0.13-2 |
0.13-2+deb7u1 |
pyopensslPyPI |
before 0.13.1, plus listed versions 0.100.110.120.130.60.70.80.9 |
0.13.1 |
python-OpenSSLMageia:2 |
before 0.12-1.1.mga2 | 0.12-1.1.mga2 |
python-OpenSSLMageia:3 |
before 0.13-2.1.mga3 | 0.13-2.1.mga3 |
python-pyOpenSSLopenSUSE:Tumbleweed |
before 24.1.0-1.2 | 24.1.0-1.2 |
python-pyOpenSSLopenSUSE:Tumbleweed |
before 26.4.0-1.1 | 26.4.0-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2013-4314 is a medium vulnerability (CVSS 4.3) in Jean-paul Calderone Pyopenssl, published September 13, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.20%, the 68th percentile. Fixed in pyopenssl 0.13.1.
References
debian.org/security/2013/dsa-2763
mail.python.org/pipermail/pyopenssl-users/2013-September/000478.html
bugzilla.redhat.com/show_bug.cgi?id=1005325
lists.opensuse.org/opensuse-updates/2013-11/msg00015.html
openwall.com/lists/oss-security/2013/09/06/2
ubuntu.com/usn/USN-1965-1
Show 194 moreShow less
nvd.nist.gov/vuln/detail/CVE-2013-4314
github.com/pyca/pyopenssl/commit/6bbf44a00b35fb28df1f66aa194b2fe95eab1ab2
github.com/pypa/advisory-database/tree/main/vulns/pyopenssl/PYSEC-2013-31.yaml
github.com/advisories/GHSA-6748-36qp-fx6r
security-tracker.debian.org/tracker/CVE-2013-4314
github.com/pyca/pyopenssl
advisories.mageia.org/MGASA-2013-0277.html
bugs.mageia.org/show_bug.cgi?id=11206
suse.com/support/update/announcement/-2022-444/suse-fu-20220444-1
bugzilla.suse.com/1000080
bugzilla.suse.com/1000117
bugzilla.suse.com/1000194
bugzilla.suse.com/1000742
bugzilla.suse.com/1002895
bugzilla.suse.com/1003091
bugzilla.suse.com/1005246
bugzilla.suse.com/1010874
bugzilla.suse.com/1010966
bugzilla.suse.com/1011936
bugzilla.suse.com/1015549
bugzilla.suse.com/1027610
bugzilla.suse.com/1027705
bugzilla.suse.com/1029902
bugzilla.suse.com/1030038
bugzilla.suse.com/1032118
bugzilla.suse.com/1032119
bugzilla.suse.com/1035604
bugzilla.suse.com/1039469
bugzilla.suse.com/1040164
bugzilla.suse.com/1040256
bugzilla.suse.com/1041090
bugzilla.suse.com/1042670
bugzilla.suse.com/1049186
bugzilla.suse.com/1049304
bugzilla.suse.com/1050653
bugzilla.suse.com/1050665
bugzilla.suse.com/1055478
bugzilla.suse.com/1055542
bugzilla.suse.com/1056951
bugzilla.suse.com/1057496
bugzilla.suse.com/1062237
bugzilla.suse.com/1066873
bugzilla.suse.com/1068790
bugzilla.suse.com/1070737
bugzilla.suse.com/1070738
bugzilla.suse.com/1070853
bugzilla.suse.com/1071941
bugzilla.suse.com/1073310
bugzilla.suse.com/1073845
bugzilla.suse.com/1073879
bugzilla.suse.com/1074247
bugzilla.suse.com/1076519
bugzilla.suse.com/1077096
bugzilla.suse.com/1077230
bugzilla.suse.com/1078329
bugzilla.suse.com/1079761
bugzilla.suse.com/1080301
bugzilla.suse.com/1081005
bugzilla.suse.com/1081750
bugzilla.suse.com/1081751
bugzilla.suse.com/1082155
bugzilla.suse.com/1082163
bugzilla.suse.com/1082318
bugzilla.suse.com/1083826
bugzilla.suse.com/1084117
bugzilla.suse.com/1084157
bugzilla.suse.com/1085276
bugzilla.suse.com/1085529
bugzilla.suse.com/1085661
bugzilla.suse.com/1087104
bugzilla.suse.com/1088573
bugzilla.suse.com/1090427
bugzilla.suse.com/1090953
bugzilla.suse.com/1093518
bugzilla.suse.com/1093917
bugzilla.suse.com/1094788
bugzilla.suse.com/1094814
bugzilla.suse.com/1094883
bugzilla.suse.com/1095267
bugzilla.suse.com/1096738
bugzilla.suse.com/1096937
bugzilla.suse.com/1097531
bugzilla.suse.com/1098535
bugzilla.suse.com/1099308
bugzilla.suse.com/1099569
bugzilla.suse.com/1102868
bugzilla.suse.com/1108508
bugzilla.suse.com/1109882
bugzilla.suse.com/1109998
bugzilla.suse.com/1110435
bugzilla.suse.com/1110869
bugzilla.suse.com/1110871
bugzilla.suse.com/1111493
bugzilla.suse.com/1111622
bugzilla.suse.com/1111657
bugzilla.suse.com/1112357
bugzilla.suse.com/1115769
bugzilla.suse.com/1118611
bugzilla.suse.com/1119376
bugzilla.suse.com/1119416
bugzilla.suse.com/1119792
bugzilla.suse.com/1121717
suse.com/security/cve/CVE-2011-3389
suse.com/security/cve/CVE-2011-4944
suse.com/security/cve/CVE-2012-0845
suse.com/security/cve/CVE-2012-1150
suse.com/security/cve/CVE-2013-1752
suse.com/security/cve/CVE-2013-4238
suse.com/security/cve/CVE-2013-4314
suse.com/security/cve/CVE-2014-0012
suse.com/security/cve/CVE-2014-1829
suse.com/security/cve/CVE-2014-1830
suse.com/security/cve/CVE-2014-2667
suse.com/security/cve/CVE-2014-4650
suse.com/security/cve/CVE-2014-7202
suse.com/security/cve/CVE-2014-7203
suse.com/security/cve/CVE-2014-9721
suse.com/security/cve/CVE-2015-2296
suse.com/security/cve/CVE-2016-10745
suse.com/security/cve/CVE-2016-9015
suse.com/security/cve/CVE-2017-18342
suse.com/security/cve/CVE-2018-18074
suse.com/security/cve/CVE-2018-20060
suse.com/security/cve/CVE-2018-7750
suse.com/security/cve/CVE-2019-10906
suse.com/security/cve/CVE-2019-11236
suse.com/security/cve/CVE-2019-11324
suse.com/security/cve/CVE-2019-13132
suse.com/security/cve/CVE-2019-20907
suse.com/security/cve/CVE-2019-20916
suse.com/security/cve/CVE-2019-5010
suse.com/security/cve/CVE-2019-6250
suse.com/security/cve/CVE-2019-8341
suse.com/security/cve/CVE-2019-9740
suse.com/security/cve/CVE-2019-9947
suse.com/security/cve/CVE-2020-14343
suse.com/security/cve/CVE-2020-15166
suse.com/security/cve/CVE-2020-15523
suse.com/security/cve/CVE-2020-15801
suse.com/security/cve/CVE-2020-1747
suse.com/security/cve/CVE-2020-25659
suse.com/security/cve/CVE-2020-26137
suse.com/security/cve/CVE-2020-27783
suse.com/security/cve/CVE-2020-28493
suse.com/security/cve/CVE-2020-29651
suse.com/security/cve/CVE-2020-36242
suse.com/security/cve/CVE-2020-8492
suse.com/security/cve/CVE-2021-23336
suse.com/security/cve/CVE-2021-28957
suse.com/security/cve/CVE-2021-29921
suse.com/security/cve/CVE-2021-3177
suse.com/security/cve/CVE-2021-33503
suse.com/security/cve/CVE-2021-3426
suse.com/support/update/announcement/-2022-445/suse-fu-20220445-1
suse.com/security/cve/CVE-2006-2937
suse.com/security/cve/CVE-2006-2940
suse.com/security/cve/CVE-2006-3738
suse.com/security/cve/CVE-2006-4339
suse.com/security/cve/CVE-2006-4343
suse.com/security/cve/CVE-2006-7250
suse.com/security/cve/CVE-2007-3108
suse.com/security/cve/CVE-2007-4995
suse.com/security/cve/CVE-2007-5135
suse.com/security/cve/CVE-2008-0891
suse.com/security/cve/CVE-2008-1672
suse.com/security/cve/CVE-2008-5077
suse.com/security/cve/CVE-2009-0590
suse.com/security/cve/CVE-2009-0591
suse.com/security/cve/CVE-2009-0789
suse.com/security/cve/CVE-2009-1377
suse.com/security/cve/CVE-2009-1378
suse.com/security/cve/CVE-2009-1379
suse.com/security/cve/CVE-2009-1386
suse.com/security/cve/CVE-2009-1387
suse.com/security/cve/CVE-2010-0740
suse.com/security/cve/CVE-2010-0742
suse.com/security/cve/CVE-2010-1633
suse.com/security/cve/CVE-2010-2939
suse.com/security/cve/CVE-2010-3864
suse.com/security/cve/CVE-2010-5298
suse.com/security/cve/CVE-2011-0014
suse.com/security/cve/CVE-2011-3207
suse.com/security/cve/CVE-2011-3210
suse.com/security/cve/CVE-2011-4108
suse.com/security/cve/CVE-2011-4576
suse.com/security/cve/CVE-2011-4577
suse.com/security/cve/CVE-2011-4619
suse.com/security/cve/CVE-2012-0027
suse.com/security/cve/CVE-2012-0050
suse.com/security/cve/CVE-2012-0884
suse.com/security/cve/CVE-2012-1165
suse.com/security/cve/CVE-2012-2110
suse.com/security/cve/CVE-2012-2686
suse.com/security/cve/CVE-2012-4929
Left out here: 481 references. The JSON record has them.