{"id":"GHSA-xp3w-r5p5-63rr","revision":"389da52e32d84ef4a05bbbdcd74ca28f","records":[{"revision":"389da52e32d84ef4a05bbbdcd74ca28f","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-xp3w-r5p5-63rr","aliases":["CVE-2026-42327"],"title":"rust-openssl has undefined behavior in X509Ref::ocsp_responders for certificates with non-UTF-8 OCSP URLs","description":"`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.","state":0,"publishedAt":"2026-05-05T21:46:38+00:00","modifiedAt":"2026-09-10T03:51:07.2544894+00:00","affected":[{"ecosystem":"crates.io","name":"openssl","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.9.7"},{"kind":"fixed","version":"0.10.79"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-xp3w-r5p5-63rr","https://nvd.nist.gov/vuln/detail/CVE-2026-42327","https://github.com/rust-openssl/rust-openssl"],"sourceUrl":"https://github.com/advisories/GHSA-xp3w-r5p5-63rr","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-xp3w-r5p5-63rr","identifiers":["GHSA-xp3w-r5p5-63rr","CVE-2026-42327"]},"retained":false,"historicalAffected":[]}],"coverage":[]}