UBUNTU-CVE-2026-42327

Source
https://ubuntu.com/security/CVE-2026-42327
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42327.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2026-42327
Upstream
Published
2026-05-14T21:16:00Z
Modified
2026-05-20T22:01:37.596387434Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.7 to before 0.10.79, X509Ref::ocspresponders returns OCSP responder URLs from a certificate's AIA extension as OpensslString, whose Deref<Target = str> wraps the raw bytes with str::fromutf8_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.

References

Affected packages

Ubuntu:Pro:20.04:LTS / rust-openssl

Package

Name
rust-openssl
Purl
pkg:deb/ubuntu/rust-openssl?arch=source&distro=esm-apps%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.10.23-1
0.10.23-1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librust-openssl-dev",
            "binary_version": "0.10.23-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42327.json"

Ubuntu:Pro:22.04:LTS / rust-openssl

Package

Name
rust-openssl
Purl
pkg:deb/ubuntu/rust-openssl?arch=source&distro=esm-apps%2Fjammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.10.29-1
0.10.36-1
0.10.36-1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librust-openssl-dev",
            "binary_version": "0.10.36-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42327.json"

Ubuntu:Pro:24.04:LTS / rust-openssl

Package

Name
rust-openssl
Purl
pkg:deb/ubuntu/rust-openssl?arch=source&distro=esm-apps%2Fnoble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.10.45-1
0.10.57-1
0.10.57-1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librust-openssl-dev",
            "binary_version": "0.10.57-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42327.json"

Ubuntu:25.10 / rust-openssl

Package

Name
rust-openssl
Purl
pkg:deb/ubuntu/rust-openssl?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.10.70-1
0.10.72-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librust-openssl-dev",
            "binary_version": "0.10.72-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42327.json"

Ubuntu:26.04:LTS / rust-openssl

Package

Name
rust-openssl
Purl
pkg:deb/ubuntu/rust-openssl?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.10.72-1
0.10.73-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librust-openssl-dev",
            "binary_version": "0.10.73-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42327.json"