๐Ÿ” CVE Alert

CVE-2026-129306

MEDIUM 4.4

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

CVSS Score
4.4
EPSS Score
0.0%
EPSS Percentile
0th

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 CWE-295
Vendor dmtf
Product libspdm
Published Nov 16, 2026
Last Updated Nov 16, 2026
Stay Ahead of the Next One

Get instant alerts for dmtf libspdm

Be the first to know when new medium vulnerabilities affecting dmtf libspdm are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Affected Versions

DMTF / libspdm
< 3.8.3 >= 4.0.0-rc1, < 4.0.0-rc2

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/DMTF/libspdm/security/advisories/GHSA-7vfm-9mfh-j8p5 github.com: https://github.com/DMTF/libspdm/pull/3902 github.com: https://github.com/DMTF/libspdm/pull/3914 github.com: https://github.com/DMTF/libspdm/commit/150bc5a7f9d1a04d86ba4f46c263b0ae7fe4a90f github.com: https://github.com/DMTF/libspdm/commit/97097d2c9c59f768afaa6198b6176d53a451f4bc github.com: https://github.com/DMTF/libspdm/releases/tag/3.8.3 github.com: https://github.com/DMTF/libspdm/releases/tag/4.0.0-rc2