cve.bz

CVE-2026-42327 rust-openssl rust-openssl: Improper Input Validation

8.7 highEPSS 0.2%Fix available

High (8.7) in rust-openssl rust-openssl. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in openssl 0.10.79.

On this page
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.

Severity

CVSS 4.0

8.7 high
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
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 11th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-05-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-42327 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-42327?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-42327?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-42327 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
rust-openssl>= 0.9.7, < 0.10.79

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xp3w-r5p5-63rrcrates.ioopenssl>=0.9.7 <0.10.790.10.79
RUSTSEC-2026-0474crates.ioopenssl>=0.9.7 <0.10.790.10.79

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13rust-opensslno fix listedDEBIAN-CVE-2026-42327
Debian14rust-openssl0.10.79-1DEBIAN-CVE-2026-42327
Ubuntu25.10, 26.04:LTS, 26.10 and 3 morerust-opensslno fix listedUBUNTU-CVE-2026-42327
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 6 morepython-cryptography41.0.3-150400.16.25.1SUSE-SU-2026:3040-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morerustup1.28.2~0-150400.3.13.1SUSE-SU-2026:2831-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Server 15 SP5-LTSS and 3 morehimmelblau2.3.14+git0.e23b4c54-150500.11.12.1SUSE-SU-2026:3576-1
SUSELinux Enterprise Micro 5.3afterburn5.10.0.git73.b97f772-150400.3.6.1SUSE-SU-2026:2976-1
SUSELinux Enterprise Micro 5.3rust-keylime0.2.9+49-150400.3.21.1SUSE-SU-2026:2825-1
SUSELinux Enterprise Micro 5.4afterburn5.10.0.git73.b97f772-150400.3.6.1SUSE-SU-2026:2977-1
SUSELinux Enterprise Micro 5.4rust-keylime0.2.9+49-150400.3.19.1SUSE-SU-2026:2826-1
SUSELinux Enterprise Micro 5.5afterburn5.10.0.git73.b97f772-150500.3.6.1SUSE-SU-2026:2975-1
SUSELinux Enterprise Micro 5.5rust-keylime0.2.9+49-150500.3.19.1SUSE-SU-2026:2807-1
SUSELinux Enterprise Module for Confidential Computing Technical Preview 15 SP7snphost0.6.1-150700.3.6.1SUSE-SU-2026:3642-1
SUSELinux Enterprise Module for Development Tools 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6rustup1.28.2~0-150600.10.13.1SUSE-SU-2026:2832-1
SUSELinux Enterprise Module for Development Tools 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6sccache0.16.0~0-150600.10.11.1SUSE-SU-2026:3022-1
26 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 16.0afterburn5.10.0.git73.b97f772-160000.1.1openSUSE-SU-2026:21386-1
openSUSELeap 16.0agama17+647.daf9950fc-160000.12.1openSUSE-SU-2026:21292-1
openSUSELeap 16.0aws-nitro-enclaves-cli1.4.5~git0.18a5f6f-160000.1.1openSUSE-SU-2026:21406-1
openSUSELeap 16.0libkrun1.4.10-160000.3.1openSUSE-SU-2026:21464-1
openSUSELeap 16.0python-cryptography44.0.3-160000.4.1openSUSE-SU-2026:21294-1
openSUSELeap 16.0python-maturin1.8.7-160000.5.1openSUSE-SU-2026:21285-1
openSUSELeap 16.0rust-keylime0.2.9+49-160000.1.1openSUSE-SU-2026:21274-1
openSUSELeap 16.0rustup1.29.1~0-160000.1.1openSUSE-SU-2026:22016-1
openSUSELeap 16.0sccache0.18.0~2-160000.1.1openSUSE-SU-2026:21982-1
openSUSELeap 16.0sdbootutil1+git20260908.c641fc2-160000.1.1openSUSE-SU-2026:21933-1
openSUSELeap 16.0snpguest0.10.0-160000.2.1openSUSE-SU-2026:21579-1
openSUSELeap 16.0snphost0.6.0-160000.3.1openSUSE-SU-2026:21638-1
11 more for openSUSE in the JSON and on openSUSE's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is an Important flaw in `rust-openssl` that could lead to arbitrary code execution or denial of service. A remote attacker could exploit this by providing a malformed certificate containing non-UTF-8 characters in the OCSP access location, causing applications using `rust-openssl` to process an invalid string and trigger undefined behavior. This is critical as it can be exploited remotely without user interaction.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-42327.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON