Home / rust-openssl / rust-openssl / CVE-2026-42327
CVE-2026-42327: is it exploited, and which versions of rust-openssl are affected and fixed?
CVE-2026-42327 is an improper input validation vulnerability in rust-openssl. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: openssl from 0.9.7 before 0.10.79 (GitHub advisory GHSA-xp3w-r5p5-63rr). Fixed in 0.10.79 (GitHub advisory GHSA-xp3w-r5p5-63rr). Severity: High (8.7, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-42327?
rust-openssl: undefined behavior in X509Ref::ocsp_responders for certificates with non-UTF-8 OCSP URLs
rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.7 to before 0.10.79, X509Ref::ocsp_responders returns OCSP responder URLs from a certificate's AIA extension as OpensslString, whose Deref<Target = str> wraps the raw bytes with str::from_utf8_unchecked. OpenSSL does not enforce that the underlying IA5String is ASCII, so a certificate with non-UTF-8 bytes in its OCSP accessLocation causes safe Rust code to construct a &str that violates the UTF-8 invariant — resulting in undefined behavior. This vulnerability is fixed in 0.10.79.
From the CVE record by GitHub_M, last updated May 15, 2026, 18:05 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| rust-openssl | rust-openssl | >= 0.9.7, < 0.10.79 |
As the CVE record by GitHub_M states it, last updated May 15, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| crates.io | openssl | >= 0.9.7, < 0.10.79 | 0.10.79 | GHSA-xp3w-r5p5-63rr |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 15, 2026. Summary: rust-openssl has undefined behavior in X509Ref::ocsp_responders for certificates with non-UTF-8 OCSP URLs.
How severe is CVE-2026-42327?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.7 | CVSS 4.0 | 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 | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-42327 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, May 15, 2026)
- EPSS
- 0.21% probability of exploitation activity in the next 30 days, percentile 11.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-xp3w-r5p5-63rr x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- April 26, 2026
- Published
- May 14, 2026, 20:17 UTC
- CVE record updated
- May 15, 2026, 18:05 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 10:47 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect rust-openssl?
- Jul 17, 2026CVE-2026-45784 rust-openssl: incorrect Calculation of Buffer Size
- May 14, 2026CVE-2026-44662 rust-openssl: heap buffer overflow
- Apr 24, 2026CVE-2026-41898 rust-openssl: buffer Over-read
- Apr 24, 2026CVE-2026-41681 rust-openssl: stack buffer overflow
- Apr 24, 2026CVE-2026-41678 rust-openssl: out-of-bounds write (memory corruption)
- Apr 24, 2026CVE-2026-41677 rust-openssl: out-of-bounds read
- Apr 24, 2026CVE-2026-41676 rust-openssl: out-of-bounds write (memory corruption)
Questions about CVE-2026-42327
Is CVE-2026-42327 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.21% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of rust-openssl are affected by CVE-2026-42327?
openssl from 0.9.7 before 0.10.79, per the GitHub advisory GHSA-xp3w-r5p5-63rr. The tables above give every range the sources list.
Which version fixes CVE-2026-42327?
0.10.79, per the GitHub advisory GHSA-xp3w-r5p5-63rr. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-42327?
High (8.7, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-42327?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.