CVE-2026-129306: libspdm Improper Certificate Validation
Published 2026-11-16 · Updated 2026-11-16 · Source security-advisories@github.com
Not known to be exploited · medium severity — update libspdm to a fixed release (3.8.3, 4.0.0-rc2) on your normal schedule.
What to do
- Update libspdm to a fixed release: 3.8.3 or 4.0.0-rc2 (whichever matches your release branch).
- Until it is patched, restrict network access to libspdm and review which accounts can log in to it.
- Avoid using the affected client on untrusted networks until it is updated.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| libspdm | Releases before the fixed versions | 3.8.3 or 4.0.0-rc2 (whichever matches your release branch) |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker needs administrative privileges, and no action by a victim is required. Attack complexity is high, so exploitation depends on conditions the attacker does not control. The impact is limited: confidentiality and integrity are rated low. A successful attack can affect components beyond the vulnerable one.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | High | Success depends on conditions outside the attacker's control. |
| Privileges required | High | The attacker needs administrative privileges. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | Low | Partial loss of confidentiality. |
| Integrity | Low | Partial loss of integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
Weakness: Improper Certificate Validation
TLS certificates are not validated correctly, which allows an attacker on the network path to intercept or alter traffic.
Classified as CWE-295.
Description
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.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/DMTF/libspdm/commit/150bc5a7f9d1a04d86ba4f46c263b0ae7fe4a90f
- Patchhttps://github.com/DMTF/libspdm/commit/97097d2c9c59f768afaa6198b6176d53a451f4bc
- Patchhttps://github.com/DMTF/libspdm/pull/3902
- Patchhttps://github.com/DMTF/libspdm/pull/3914
- Patchhttps://github.com/DMTF/libspdm/releases/tag/3.8.3
- Patchhttps://github.com/DMTF/libspdm/releases/tag/4.0.0-rc2
- Advisoryhttps://github.com/DMTF/libspdm/security/advisories/GHSA-7vfm-9mfh-j8p5