Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceAdvisoriesAdvisory

GHSA-xp3w-r5p5-63rr

rust-openssl has undefined behavior in X509Ref::ocsp_responders for certificates with non-UTF-8 OCSP URLs

In short

What to know.

Package
  • openssl crates.iofrom 0.9.7 before 0.10.79
What to do
Upgrade openssl to 0.10.79 or later.
Source's rating
HighNoumen has not assessed it.
Noumen finding
NMN-2026-0129Candidate. Severity high, confidence high.

3 December 2026

Source

  1. OSV record GHSA-xp3w-r5p5-63rrosv.devRetrieved 3 December 2026

Full record

Identifier
GHSA-xp3w-r5p5-63rr
Aliases
CVE-2026-42327, RUSTSEC-2026-0474
Severity
High, as rated by the source. Noumen has not assessed it.
CVSS
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
Fixed versions
0.10.79
Published
5 May 2026
Modified
10 November 2026
Source
OSV record GHSA-xp3w-r5p5-63rr, retrieved 3 December 2026, 00:00 UTC

Affected packages and ranges

Affected packages
PackageAffected versionsFixed in
openssl
crates.io
from 0.9.7 before 0.10.790.10.79

Affected means inside a published range, not that the code path is reachable in your project.

Details, as published by the source
As published by the source
`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.