PT-2026-37265 · Crates.Io+3 · Openssl+1
Alex
·
Published
2026-05-05
·
Updated
2026-05-15
·
CVE-2026-42327
CVSS v4.0
8.7
High
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
rust-openssl versions 0.9.7 through 0.10.78
Description
The
X509Ref::ocsp responders() function returns OCSP responder URLs from a certificate's AIA extension as OpensslString. The Deref<Target = str> implementation wraps raw bytes using str::from utf8 unchecked. Because OpenSSL does not enforce that the underlying IA5String is ASCII, a certificate containing non-UTF-8 bytes in its OCSP accessLocation can cause safe Rust code to construct a &str that violates the UTF-8 invariant, leading to undefined behavior.Recommendations
Update to version 0.10.79.
Fix
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Openssl
Rust-Openssl