CVEfocus › CVE database › CVE-2026-129306

CVE-2026-129306libspdm: libspdm_x509_verify_cert_chain() does not verify CA nameConstraints /…

CVSS 4.4 MediumEPSS 0.2% (higher than 6% of CVEs)Published 2026-11-16Updated 2026-11-16Assigner: GitHub_M

libspdm is a sample implementation that follows the DMTF SPDM specifications. Prior to 3.8.3 and 4.0.0-rc2, libspdm_x509_verify_cert_chain() in os_stub/cryptlib_openssl/pk/x509.c and os_stub/cryptlib_mbedtls/pk/x509.c validates certificate signatures one link at a time instead of validating the complete X.509 path. In deployments using a pinned root with a constrained multi-tier PKI, an attacker holding a valid issuer credential below a constrained CA can present a subordinate certificate that exceeds pathLenConstraint or nameConstraints and may be accepted for SPDM identity validation. Exploitation requires the application to use libspdm's backend validation without an additional certificate-chain validation mechanism, the pinned root cannot be substituted, and the deployment's measurement policy must allow identity impersonation alone to satisfy its acceptance requirements. The mbedTLS backend remains unable to enforce nameConstraints because upstream mbedTLS does not implement that check. The full-chain validation changes are released in versions 3.8.3 and 4.0.0-rc2.

CWE-295

What to do

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fix pending
4Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10edk2Fix pendingUBUNTU-CVE-2026-129306
Ubuntu 26.10edk2-hweFix pendingUBUNTU-CVE-2026-129306
Ubuntu 26.04edk2Under investigationUBUNTU-CVE-2026-129306
Ubuntu 26.04edk2-hweUnder investigationUBUNTU-CVE-2026-129306
Ubuntu 24.04edk2Under investigationUBUNTU-CVE-2026-129306
Ubuntu 22.04edk2Under investigationUBUNTU-CVE-2026-129306
Ubuntu 20.04edk2Fix pendingUBUNTU-CVE-2026-129306
Ubuntu 18.04edk2Fix pendingUBUNTU-CVE-2026-129306
Ubuntu 16.04edk2Fix pendingUBUNTU-CVE-2026-129306

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.