# CVE-2026-42327: rust-openssl: undefined behavior in X509Ref::ocsp\_responders for certificates with non-UTF-8 OCSP URLs

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 0.10.79 (CNA); fix release not confirmed
- Status: published
- Published: 2026-05-14 · Modified: 2026-05-15
- Aliases: UBUNTU-CVE-2026-42327, DEBIAN-CVE-2026-42327, CGA-3r2j-v633-4fw2, CGA-7766-48w5-p799, CGA-7php-vq5c-rm98, CGA-9p9q-qpjp-73vg, CGA-fcrh-vfxh-r9f7, CGA-fw97-h4pg-5c4q, CGA-g9gf-hvq9-3972, CGA-p3hw-64mp-59j5, CGA-pgg8-j97m-6g2p, CGA-pqvw-9j44-wg8v, CGA-q29f-q2fc-9p2q, CGA-q46f-f7hw-qx75, CGA-v22g-vmvq-8692, CGA-v2v3-r997-v5j8, CGA-x9qf-vwhg-9jwg, CGA-xcg9-rjjx-89v4, CGA-2g8h-67c8-p8hq, CGA-3qwv-wm88-w8vm, CGA-43vj-qj53-f399, CGA-4j7x-p892-4r76, CGA-4qmr-wq83-8v4w, CGA-58hm-v6mf-3x72, CGA-64vg-32fm-6rph, CGA-6g76-9jch-r4qh, CGA-7rrx-h4m7-hf82, CGA-8c7h-pg6g-24xf, CGA-9v8h-37vc-28cj, CGA-ffcm-w83g-v28x, CGA-h49h-j8wg-3pgj, CGA-hg8c-9jx2-5h2c, CGA-hj2v-jg47-f6gc, CGA-j966-wwpp-34cp, CGA-j977-gwg8-rmj7, CGA-mcp4-63pv-94c2, CGA-mgw2-fp4j-gwg8, CGA-p9jf-274h-x732, GHSA-xp3w-r5p5-63rr, CGA-pxfh-4vr2-4r6m, CGA-r6r4-2h64-qf5r, CGA-rmvh-8mxp-2h6p, CGA-xfvw-fchw-6m4c, CGA-xrwv-m8wc-437q, RUSTSEC-2026-0474
- Record: https://cvemate.com/vulnerability/CVE-2026-42327 · JSON: https://cvemate.com/vulnerability/CVE-2026-42327/json

## Description

```text
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.
```

## Signals

- CVSS: 8.7 high (v4.0, CVE.org) 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
- EPSS: 0.211%, percentile 11.904%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 32)

- chainguard bootc-binary (Chainguard): \< 1.15.2-r1
- chainguard deno (Chainguard): \< 2.7.14-r2
- chainguard guestproxyagent (Chainguard): \< 1.0.44-r0
- chainguard komodo-cli (Chainguard): \< 2.1.2-r3
- chainguard komodo-periphery (Chainguard): \< 2.1.2-r3
- chainguard rpm-sequoia (Chainguard): \< 1.10.2-r1
- chainguard rustls-openssl-client (Chainguard): \< 1.0.0-r6
- chainguard rustup (Chainguard): \< 1.29.0-r7
- chainguard sccache (Chainguard): \< 0.15.0-r2
- chainguard sdp-identity-service (Chainguard): \< 1.3.10-r7
- chainguard sdp-k8s-injector (Chainguard): \< 1.3.10-r7
- chainguard sentry-cli (Chainguard): \< 3.4.1-r1
- chainguard sqlx (Chainguard): \< 0.8.6-r7
- chainguard typst (Chainguard): \< 0.14.2-r8
- chainguard valkey-ldap (Chainguard): \< 1.0.0-r5
- chainguard vector (Chainguard): \< 0.55.0-r4
- chainguard ztunnel-fips-1.26 (Chainguard): All versions (No fix recorded)
- chainguard ztunnel-fips-1.27 (Chainguard): \< 1.27.9-r7
- chainguard ztunnel-fips-1.28 (Chainguard): \< 1.28.5-r6
- chainguard ztunnel-fips-1.29 (Chainguard): \< 1.29.2-r2

## References

- <https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-xp3w-r5p5-63rr>
- <https://ubuntu.com/security/CVE-2026-42327>
- <https://www.cve.org/CVERecord?id=CVE-2026-42327>
- <https://security-tracker.debian.org/tracker/CVE-2026-42327>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42327.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42327>
- <https://github.com/rust-openssl/rust-openssl>
- <https://crates.io/crates/openssl>
- <https://rustsec.org/advisories/RUSTSEC-2026-0474.html>
- <https://github.com/rust-openssl/rust-openssl/pull/2631>

---

Data as of 2026-12-05T08:28:50.644Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
