CVEMETERBack to radar
OFFICIAL RECORD · Rust packages

CVE-2026-42327

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 8.7 · high

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

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.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.211% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.

CVSS 4.0 · 8.7 · published by GitHub_M
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
Assessment source · checked 2026-11-19T12:58:33.115Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:28:52.703ZCISA KEV
cvssverified2026-11-19T12:58:33.115ZCVE Program
epssverified2026-11-19T16:04:50.042ZFIRST EPSS
patchesverified2026-11-19T12:52:41.218ZOSV
affectedverified2026-11-19T12:58:33.115ZCVE Program
lifecycleverified2026-11-19T12:58:33.115ZCVE Program

Affected versions and configuration

rust-openssl rust-openssl; default status: unknown: >= 0.9.7, < 0.10.79 [affected; scheme: unspecified]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "rust-openssl",
      "product": "rust-openssl",
      "versions": [
        {
          "status": "affected",
          "version": ">= 0.9.7, < 0.10.79"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-42327",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-05-15T16:28:41.920658Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-05-15T18:05:15.921Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-xp3w-r5p5-63rr",
  "aliases": [
    "CVE-2026-42327",
    "RUSTSEC-2026-0474"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0.9.7"
            },
            {
              "fixed": "0.10.79"
            }
          ]
        }
      ],
      "package": {
        "name": "openssl",
        "purl": "pkg:cargo/openssl",
        "ecosystem": "crates.io"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-xp3w-r5p5-63rr/GHSA-xp3w-r5p5-63rr.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V4",
      "score": "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"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-xp3w-r5p5-63rr",
      "type": "WEB"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42327",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/rust-openssl/rust-openssl",
      "type": "PACKAGE"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-20"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "nvd_published_at": "2026-05-14T21:16:45Z",
    "github_reviewed_at": "2026-05-05T21:46:38Z"
  }
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "RUSTSEC-2026-0474",
  "aliases": [
    "CVE-2026-42327",
    "GHSA-xp3w-r5p5-63rr"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0.9.7"
            },
            {
              "fixed": "0.10.79"
            }
          ]
        }
      ],
      "package": {
        "name": "openssl",
        "purl": "pkg:cargo/openssl",
        "ecosystem": "crates.io"
      },
      "versions": [],
      "database_specific": {
        "cvss": null,
        "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0474.json",
        "categories": [],
        "informational": null
      },
      "ecosystem_specific": {
        "affects": {
          "os": [],
          "arch": [],
          "functions": [
            "openssl::x509::X509Ref::ocsp_responders"
          ]
        },
        "affected_functions": null
      }
    }
  ],
  "severity": [],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://crates.io/crates/openssl",
      "type": "PACKAGE"
    },
    {
      "url": "https://rustsec.org/advisories/RUSTSEC-2026-0474.html",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/rust-openssl/rust-openssl/pull/2631",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "license": "CC0-1.0"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundarycrates.io / packageopensslNot a distribution channel0.10.79Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history