CVE-2022-4203
MEDIUM 4.9CVSS 3.1openssl-src contains Read Buffer Overflow in X.509 Name Constraint
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.
- Published
- 24 Feb 2023
- Last modified
- 10 Sep 2026
- Assigned by
- openssl-security@openssl.org
- NVD status
- Modified
- Weakness
- CWE-125
- Also known as
- GHSA-w67w-mw4j-8qrvRUSTSEC-2023-0008
- Sources
- NVDJSONOSV GHSA-w67w-mw4j-8qrvJSONOSV RUSTSEC-2023-0008JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openssl | opensslcpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.0.8 | 3.0.8 |
| OSV | crates.io | openssl-src | >= 300.0.0, < 300.0.12 | 300.0.12 |
References
- 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://www.openssl.org/news/secadv/20230207.txt · Vendor Advisory, 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 · WEB, ADVISORY
- https://crates.io/crates/openssl-src · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 24 Feb 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Feb 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 Feb 2023)