Read the docs

libspdm: libspdm_x509_verify_cert_chain() does not verify CA nameConstraints / pathLenConstraint

Priority LOW 18CWE-295Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
High
Impact type
Spoofing
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-295.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
Fix Fixed libspdm (DMTF): 3.8.3, 4.0.0-rc2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
DMTFlibspdmbefore 3.8.3; 4.0.0-rc1 to before 4.0.0-rc23.8.3, 4.0.0-rc2Patch availableCNA
  • libspdm VendorDMTF Affected before 3.8.3; 4.0.0-rc1 to before 4.0.0-rc2 Fixed in 3.8.3, 4.0.0-rc2 Patch available CNA

Remediation

  • Fix · CNA libspdm (DMTF) Fixed in 3.8.3, 4.0.0-rc2

Timeline

  1. 2026-11-16 Threatist record created from CVE-2026-129306
  2. 2026-11-16 CISA SSVC decision points changed

References

  • TI-2023-14837 DMTF-2023-0001: SPDM mutual authentication bypass CVSS 3.1CRITICAL 9.1
  • TI-2023-15966 Responder can Invoke Undefined Behavior in libspdm Requester CVSS 3.1HIGH 7.5
  • TI-2026-89571 FINISH transcript in libspdm omits new OpaqueData fields CVSS 4.0MEDIUM 6.0

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences