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 Wolfi
- 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