{"id":"CVE-2026-129306","aliases":[],"cve":{"records":[{"id":"CVE-2026-129306","source":"GitHub_M","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-11-13T22:30:18.285Z","published":"2026-11-16T17:59:44.830Z","modified":"2026-11-16T18:56:34.629Z"}],"publishers":[{"name":"GitHub_M","role":"CNA","organizationId":"a0819718-46f1-4df5-94e2-005712e83aaa","modified":"2026-11-16T17:59:44.830Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-11-16T18:56:34.629Z"}],"references":[{"url":"https://github.com/DMTF/libspdm/security/advisories/GHSA-7vfm-9mfh-j8p5","tags":["x_refsource_CONFIRM"],"source":"GitHub_M"},{"url":"https://github.com/DMTF/libspdm/pull/3902","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/DMTF/libspdm/pull/3914","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/DMTF/libspdm/commit/150bc5a7f9d1a04d86ba4f46c263b0ae7fe4a90f","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/DMTF/libspdm/commit/97097d2c9c59f768afaa6198b6176d53a451f4bc","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/DMTF/libspdm/releases/tag/3.8.3","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/DMTF/libspdm/releases/tag/4.0.0-rc2","tags":["x_refsource_MISC"],"source":"GitHub_M"}],"weaknesses":[{"id":"CWE-295","description":"CWE-295: Improper Certificate Validation","source":"GitHub_M"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-11-16T18:56:17.997523Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"title":"libspdm: libspdm_x509_verify_cert_chain() does not verify CA nameConstraints / pathLenConstraint","titleSource":"GitHub_M","descriptionSource":"GitHub_M","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.","score":4.4,"severity":"medium","published":"2026-11-16T17:59:44.830Z","modified":"2026-11-16T18:56:34.629Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"DMTF","name":"libspdm","platforms":[],"versions":[{"version":"< 3.8.3","status":"affected"},{"version":">= 4.0.0-rc1, < 4.0.0-rc2","status":"affected"}],"cpes":[],"source":"GitHub_M","url":"https://www.cve.org/CVERecord?id=CVE-2026-129306"}],"remediation":[],"references":["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"],"sources":[{"name":"CVE","id":"CVE-2026-129306","modified":"2026-11-16T18:56:34.629Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-129306"}],"assessments":[{"source":"GitHub_M","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N","score":4.4}],"sourceAffected":[],"observedAt":"2026-11-16T19:05:24.919Z","kev":{"status":"not-listed","checkedAt":"2026-11-29T00:55:34.813Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-16T18:30:38.965Z","attemptedAt":"2026-11-16T18:30:38.965Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-16T18:30:36.758Z","attemptedAt":"2026-11-16T18:30:36.758Z"},{"source":"EUVD","status":"no-result","checkedAt":"2026-11-16T18:30:35.896Z","attemptedAt":"2026-11-16T18:30:35.896Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-11-16T18:30:35.719Z","attemptedAt":"2026-11-16T18:30:35.719Z"}],"evidence":[{"source":"NVD","id":"CVE-2026-129306","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129306","modified":"2026-11-16T18:17:31.340","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N","checkedAt":"2026-11-16T18:30:38.965Z"}],"aiSummary":{"text":"libspdm versions before 3.8.3 and between 4.0.0-rc1 and 4.0.0-rc2 have a weakness where libspdm_x509_verify_cert_chain() does not verify CA nameConstraints or pathLenConstraint, potentially allowing an attacker with a valid issuer credential to present an accepted subordinate certificate. The attacker must have specific access and the deployment must allow identity impersonation. The impact depends on the application's use of libspdm's backend validation.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-16T19:26:10.028Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-129306"}]}}