X.509 Path Validation Flaw in DMTF libspdm Implementation
CVE-2026-129306
What is CVE-2026-129306?
The libspdm implementation from DMTF contains a vulnerability in its certificate signature validation mechanism. Specifically, prior to versions 3.8.3 and 4.0.0-rc2, the function libspdm_x509_verify_cert_chain() validated certificate signatures one link at a time instead of performing full X.509 path validation. This flaw allows an attacker with valid issuer credentials below a constrained Certificate Authority (CA) to bypass security measures in deployments utilizing a pinned root within a constrained multi-tier Public Key Infrastructure (PKI). Exploitation requires specific conditions, including the application relying solely on libspdm's backend validation and not employing additional certificate chain validation mechanisms. Due to these limitations, implementations using the mbedTLS backend cannot enforce name constraints due to upstream limitations in mbedTLS. Users are advised to upgrade to the latest versions to mitigate these risks.
Affected Version(s)
libspdm < 3.8.3 < 3.8.3
libspdm >= 4.0.0-rc1, < 4.0.0-rc2 < 4.0.0-rc1, 4.0.0-rc2
