# CVE-2023-0286: X.400 address type confusion in X.509 GeneralName

- Severity: High 7.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 61.8%, higher than 99% of CVEs (2026-12-01)
- Published: 2023-02-07T12:00:00.000Z
- Modified: 2026-10-14T20:17:22.450Z
- Also known as: GHSA-x4qr-2fvf-3mr5, PYSEC-2026-800, RUSTSEC-2023-0006
- Weaknesses: CWE-843
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: openssl

## Description

There is a type confusion vulnerability relating to X.400 address processing
inside an X.509 GeneralName. X.400 addresses were parsed as an ASN1_STRING but
the public structure definition for GENERAL_NAME incorrectly specified the type
of the x400Address field as ASN1_TYPE. This field is subsequently interpreted by
the OpenSSL function GENERAL_NAME_cmp as an ASN1_TYPE rather than an
ASN1_STRING.

When CRL checking is enabled (i.e. the application sets the
X509_V_FLAG_CRL_CHECK flag), this vulnerability may allow an attacker to pass
arbitrary pointers to a memcmp call, enabling them to read memory contents or
enact a denial of service. In most cases, the attack requires the attacker to
provide both the certificate chain and CRL, neither of which need to have a
valid signature. If the attacker only controls one of these inputs, the other
input must already contain an X.400 address as a CRL distribution point, which
is uncommon. As such, this vulnerability is most likely to only affect
applications which have implemented their own functionality for retrieving CRLs
over a network.

(As written by CVE List.)

## Affected

- OpenSSL OpenSSL: from 3.0.0 before 3.0.8; from 1.1.1 before 1.1.1t; from 1.0.2 before 1.0.2zg
- cryptography (PyPI): from 0.8.1 before 39.0.1
- openssl-src (crates.io): before 111.25.0; from 300.0.0 before 300.0.12; from 0.0.0-0 before 111.25.0
- stormshield stormshield_management_center: before 3.3.3
- stormshield stormshield_network_security: from 2.7.0 before 2.7.11; from 2.8.0 before 3.7.34; from 3.8.0 before 3.11.22; from 4.0.0 before 4.3.16; from 4.4.0 before 4.6.3

## Every score

- CISA-ADP: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H`
- GitHub: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://www.openssl.org/news/secadv/20230207.txt> (vendor-advisory, web)
- <https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=2f7530077e0ef79d98718138716bc51ca0cad658> (patch, vendor-advisory, web)
- <https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=2c6c9d439b484e1ba9830d8454a34fa4f80fdfe9> (patch, vendor-advisory, web)
- <https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=fd2af07dc083a350c959147097003a14a5e8ac4d> (patch, vendor-advisory, web)
- <https://ftp.openbsd.org/pub/OpenBSD/patches/7.2/common/018_x509.patch.sig> (third-party-advisory, web)
- <https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.6.2-relnotes.txt> (third-party-advisory, web)
- <https://security.gentoo.org/glsa/202402-08> (web)
- <https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2023-0003> (web)
- <https://cert-portal.siemens.com/productcert/html/ssa-203374.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-794697.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-561322.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-264815.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-943925.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-455250.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-556635.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-879734.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-625862.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-337522.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-769027.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-028723.html>
- <https://github.com/pyca/cryptography/security/advisories/GHSA-x4qr-2fvf-3mr5> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-0286> (advisory)
- <https://access.redhat.com/security/cve/cve-2023-0286> (web)
- <https://github.com/pyca/cryptography> (package)
- <https://rustsec.org/advisories/RUSTSEC-2023-0006.html> (advisory, web)
- <https://crates.io/crates/openssl-src> (package)
- <https://pypi.org/project/cryptography> (package)
- <https://github.com/advisories/GHSA-x4qr-2fvf-3mr5> (advisory)

## Sources

- CVE List: [CVE-2023-0286](https://www.cve.org/CVERecord?id=CVE-2023-0286), CVE Terms of Use, modified 2026-10-14
- GitHub Advisory Database: [GHSA-x4qr-2fvf-3mr5](https://github.com/advisories/GHSA-x4qr-2fvf-3mr5), CC-BY-4.0, modified 2026-09-10
- RustSec Advisory Database: [RUSTSEC-2023-0006](https://rustsec.org/advisories/RUSTSEC-2023-0006.html), CC0-1.0, modified 2026-07-07
- NVD: [CVE-2023-0286](https://nvd.nist.gov/vuln/detail/CVE-2023-0286), Public domain, modified 2026-10-14
- PyPA Advisory Database: [PYSEC-2026-800](https://osv.dev/vulnerability/PYSEC-2026-800), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2023-0286 · Whole record: https://cve.day/CVE-2023-0286.json · Rebuilt by cve.day 2026-11-25T22:58:21.880Z
