# CVE-2022-4203: X.509 Name Constraints Read Buffer Overflow

- Severity: Medium 4.9 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/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): 1.40%, higher than 73% of CVEs (2026-12-02)
- Published: 2023-02-07T12:00:00.000Z
- Modified: 2026-09-10T03:49:52.237Z
- Also known as: GHSA-w67w-mw4j-8qrv, RUSTSEC-2023-0008
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: openssl

## Description

A read buffer overrun can be triggered in X.509 certificate verification,
specifically in name constraint checking. Note that this occurs
after certificate chain signature verification and requires either a
CA to have signed the malicious certificate or for the application to
continue certificate verification despite failure to construct a path
to a trusted issuer.

The read buffer overrun might result in a crash which could lead to
a denial of service attack. In theory it could also result in the disclosure
of private memory contents (such as private keys, or sensitive plaintext)
although we are not aware of any working exploit leading to memory
contents disclosure as of the time of release of this advisory.

In a TLS client, this can be triggered by connecting to a malicious
server. In a TLS server, this can be triggered if the server requests
client authentication and a malicious client connects.

(As written by CVE List.)

## Affected

- OpenSSL OpenSSL: from 3.0.0 before 3.0.8
- openssl-src (crates.io): from 300.0.0 before 300.0.12

## Every score

- CISA-ADP: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/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=c927a3492698c254637da836762f9b1f86cffabc> (mailing-list, patch, web)
- <https://security.gentoo.org/glsa/202402-08> (web)
- <https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2023-0003> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-4203> (advisory)
- <https://rustsec.org/advisories/RUSTSEC-2023-0008.html> (advisory, web)
- <https://crates.io/crates/openssl-src> (package)

## Sources

- CVE List: [CVE-2022-4203](https://www.cve.org/CVERecord?id=CVE-2022-4203), CVE Terms of Use, modified 2025-11-04
- GitHub Advisory Database: [GHSA-w67w-mw4j-8qrv](https://github.com/advisories/GHSA-w67w-mw4j-8qrv), CC-BY-4.0, modified 2026-09-10
- RustSec Advisory Database: [RUSTSEC-2023-0008](https://rustsec.org/advisories/RUSTSEC-2023-0008.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2022-4203](https://nvd.nist.gov/vuln/detail/CVE-2022-4203), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-4203 · Whole record: https://cve.day/CVE-2022-4203.json · Rebuilt by cve.day 2026-11-25T22:58:18.742Z
