Vulnerability
CVE-2026-42327
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.
110 advisories report this vulnerability, across 8 ecosystems.
Advisories in Chainguard
- CGA-2g8h-67c8-p8hq
- CGA-3qwv-wm88-w8vm
- CGA-3r2j-v633-4fw2
- 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-7766-48w5-p799
- CGA-7php-vq5c-rm98
- CGA-7rrx-h4m7-hf82
- CGA-8c7h-pg6g-24xf
- CGA-9p9q-qpjp-73vg
- CGA-9v8h-37vc-28cj
- CGA-fcrh-vfxh-r9f7
- CGA-ffcm-w83g-v28x
- CGA-fw97-h4pg-5c4q
- CGA-g9gf-hvq9-3972
- 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-p3hw-64mp-59j5
- CGA-p9jf-274h-x732
- CGA-pgg8-j97m-6g2p
- CGA-pqvw-9j44-wg8v
- CGA-pxfh-4vr2-4r6m
- CGA-q29f-q2fc-9p2q
- CGA-q46f-f7hw-qx75
- CGA-r6r4-2h64-qf5r
- CGA-rmvh-8mxp-2h6p
- CGA-v22g-vmvq-8692
- CGA-v2v3-r997-v5j8
- CGA-x9qf-vwhg-9jwg
- CGA-xcg9-rjjx-89v4
- CGA-xfvw-fchw-6m4c
- CGA-xrwv-m8wc-437q