CVE-2026-129306
CVE-2026-129306 · libspdm: libspdm_x509_verify_cert_chain() does not verify CA nameConstraints / pathLenConstraint
CVSS 4.4 · Medium · EPSS 0.2%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- libspdmNo fix published
- edk2 Ubuntu Pro 16.04 LTSNo fix published
- edk2 Ubuntu Pro 18.04 LTSNo fix published
- edk2 Ubuntu Pro 20.04 LTSNo fix published
- and 6 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="edk2"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Stack: system
Affected products and versions
libspdm
- Versions
- < 3.8.3: Affected
- >= 4.0.0-rc1, < 4.0.0-rc2: Affected
No fix published
edk2 Ubuntu Pro 16.04 LTS
- Versions
- 0~20150106.5c2d456b-2
- 0~20160104.c2a892d7-1
- 0~20160408.ffea0a2c-2
- 0~20160408.ffea0a2c-2ubuntu0.1
- 0~20160408.ffea0a2c-2ubuntu0.2
- 0~20160408.ffea0a2c-2ubuntu0.2+esm1
All versions (8)
- 0~20160408.ffea0a2c-2ubuntu0.2+esm3
- 0~20160408.ffea0a2c-2ubuntu0.2+esm4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
edk2 Ubuntu Pro 18.04 LTS
- Versions
- 0~20170911.5dfba97c-1
- 0~20171010.234dbcef-1
- 0~20171027.76fd5a66-1
- 0~20171205.a9212288-1
- 0~20180105.0bc94c74-1
- 0~20180205.c0d9813c-1
All versions (13)
- 0~20180205.c0d9813c-2
- 0~20180205.c0d9813c-2ubuntu0.1
- 0~20180205.c0d9813c-2ubuntu0.2
- 0~20180205.c0d9813c-2ubuntu0.3
- 0~20180205.c0d9813c-2ubuntu0.3+esm1
- 0~20180205.c0d9813c-2ubuntu0.3+esm2
- 0~20180205.c0d9813c-2ubuntu0.3+esm3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
edk2 Ubuntu Pro 20.04 LTS
- Versions
- 0~20190606.20d2e5a1-2ubuntu1
- 0~20190828.37eef910-3
- 0~20190828.37eef910-4
- 0~20191122.bd85bf54-1
- 0~20191122.bd85bf54-1ubuntu1
- 0~20191122.bd85bf54-2
All versions (16)
- 0~20191122.bd85bf54-2ubuntu1
- 0~20191122.bd85bf54-2ubuntu2
- 0~20191122.bd85bf54-2ubuntu3
- 0~20191122.bd85bf54-2ubuntu3.1
- 0~20191122.bd85bf54-2ubuntu3.2
- 0~20191122.bd85bf54-2ubuntu3.3
- 0~20191122.bd85bf54-2ubuntu3.4
- 0~20191122.bd85bf54-2ubuntu3.5
- 0~20191122.bd85bf54-2ubuntu3.6
- 0~20191122.bd85bf54-2ubuntu3.6+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
edk2 Ubuntu 22.04 LTS
- Versions
- 2021.08~rc0-2
- 2021.08-3
- 2021.11~rc1-1
- 2021.11-1
- 2021.11-2
- 2022.02~rc1-1
All versions (17)
- 2022.02~rc1-1ubuntu1
- 2022.02-1
- 2022.02-2
- 2022.02-3
- 2022.02-3ubuntu0.22.04.1
- 2022.02-3ubuntu0.22.04.2
- 2022.02-3ubuntu0.22.04.3
- 2022.02-3ubuntu0.22.04.4
- 2022.02-3ubuntu0.22.04.5
- 2022.02-3ubuntu0.22.04.6
- 2022.02-3ubuntu0.22.04.7
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
edk2 Ubuntu 24.04 LTS
- Versions
- 2023.05-2
- 2023.11-2
- 2023.11-3
- 2023.11-4
- 2023.11-5
- 2023.11-6
All versions (18)
- 2023.11-8
- 2024.02-1
- 2024.02-2
- 2024.02-2ubuntu0.1
- 2024.02-2ubuntu0.3
- 2024.02-2ubuntu0.4
- 2024.02-2ubuntu0.5
- 2024.02-2ubuntu0.6
- 2024.02-2ubuntu0.7
- 2024.02-2ubuntu0.8
- 2024.02-2ubuntu0.9
- 2024.02-2ubuntu0.10
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
edk2 Ubuntu 26.10
- Versions
- 2025.11-3ubuntu7
- 2025.11-3ubuntu8
- 2026.05-2ubuntu1
- 2026.05-2ubuntu2
- 2026.05-2ubuntu3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
edk2-hwe Ubuntu 26.10
- Versions
- 2025.11-3ubuntu8
- 2025.11-3ubuntu9
- 2026.05-2ubuntu1
- 2026.05-2ubuntu2
- 2026.05-2ubuntu3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
edk2 Ubuntu 26.04 LTS
- Versions
- 2025.02-8ubuntu3
- 2025.11-3ubuntu6
- 2025.11-3ubuntu7
- 2025.11-3ubuntu7.2
- 2025.11-3ubuntu7.3
- 2025.11-3ubuntu7.4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
edk2-hwe Ubuntu 26.04 LTS
- Versions
- 2025.11-3ubuntu6
- 2025.11-3ubuntu8
- 2025.11-3ubuntu8.2
- 2025.11-3ubuntu8.3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/DMTF/libspdm/security/advisories/GHSA-7vfm-9mfh-j8p5
- https://github.com/DMTF/libspdm/pull/3902
- https://github.com/DMTF/libspdm/pull/3914
- https://github.com/DMTF/libspdm/commit/150bc5a7f9d1a04d86ba4f46c263b0ae7fe4a90f
- https://github.com/DMTF/libspdm/commit/97097d2c9c59f768afaa6198b6176d53a451f4bc
- https://github.com/DMTF/libspdm/releases/tag/3.8.3
- https://github.com/DMTF/libspdm/releases/tag/4.0.0-rc2
- https://nvd.nist.gov/vuln/detail/CVE-2026-129306