CVE-2026-129306 (GCVE-0-2026-129306)

Vulnerability from cvelistv5 – Published: 2026-11-16 17:59 – Updated: 2026-11-16 18:56
VLAI
Title
libspdm: libspdm_x509_verify_cert_chain() does not verify CA nameConstraints / pathLenConstraint
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.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-11-16 18:56 UTC
CWE
  • CWE-295 - Improper Certificate Validation
Impacted products
Vendor Product Version
DMTF libspdm Affected: < 3.8.3
Affected: >= 4.0.0-rc1, < 4.0.0-rc2
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-129306",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-16T18:56:17.997523Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-11-16T18:56:34.629Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "libspdm",
          "vendor": "DMTF",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 3.8.3"
            },
            {
              "status": "affected",
              "version": "\u003e= 4.0.0-rc1, \u003c 4.0.0-rc2"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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\u0027s backend validation without an additional certificate-chain validation mechanism, the pinned root cannot be substituted, and the deployment\u0027s 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."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 4.4,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "HIGH",
            "scope": "CHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-295",
              "description": "CWE-295: Improper Certificate Validation",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-16T17:59:44.830Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/DMTF/libspdm/security/advisories/GHSA-7vfm-9mfh-j8p5",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/DMTF/libspdm/security/advisories/GHSA-7vfm-9mfh-j8p5"
        },
        {
          "name": "https://github.com/DMTF/libspdm/pull/3902",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/DMTF/libspdm/pull/3902"
        },
        {
          "name": "https://github.com/DMTF/libspdm/pull/3914",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/DMTF/libspdm/pull/3914"
        },
        {
          "name": "https://github.com/DMTF/libspdm/commit/150bc5a7f9d1a04d86ba4f46c263b0ae7fe4a90f",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/DMTF/libspdm/commit/150bc5a7f9d1a04d86ba4f46c263b0ae7fe4a90f"
        },
        {
          "name": "https://github.com/DMTF/libspdm/commit/97097d2c9c59f768afaa6198b6176d53a451f4bc",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/DMTF/libspdm/commit/97097d2c9c59f768afaa6198b6176d53a451f4bc"
        },
        {
          "name": "https://github.com/DMTF/libspdm/releases/tag/3.8.3",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/DMTF/libspdm/releases/tag/3.8.3"
        },
        {
          "name": "https://github.com/DMTF/libspdm/releases/tag/4.0.0-rc2",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/DMTF/libspdm/releases/tag/4.0.0-rc2"
        }
      ],
      "source": {
        "advisory": "GHSA-7vfm-9mfh-j8p5",
        "discovery": "UNKNOWN"
      },
      "title": "libspdm: libspdm_x509_verify_cert_chain() does not verify CA nameConstraints / pathLenConstraint"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2026-129306",
    "datePublished": "2026-11-16T17:59:44.830Z",
    "dateReserved": "2026-11-13T22:30:18.285Z",
    "dateUpdated": "2026-11-16T18:56:34.629Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "product": "libspdm",
                "vendor": "DMTF",
                "versions": [
                  {
                    "status": "affected",
                    "version": "\u003c 3.8.3"
                  },
                  {
                    "status": "affected",
                    "version": "\u003e= 4.0.0-rc1, \u003c 4.0.0-rc2"
                  }
                ]
              }
            ],
            "source": "security-advisories@github.com"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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\u0027s backend validation without an additional certificate-chain validation mechanism, the pinned root cannot be substituted, and the deployment\u0027s 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."
          }
        ],
        "id": "CVE-2026-129306",
        "lastModified": "2026-11-16T19:17:40.737",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 4.4,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "LOW",
                "integrityImpact": "LOW",
                "privilegesRequired": "HIGH",
                "scope": "CHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N",
                "version": "3.1"
              },
              "exploitabilityScore": 1.3,
              "impactScore": 2.7,
              "source": "security-advisories@github.com",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2026-129306",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-16T18:56:17.997523Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2026-11-16T18:17:31.340",
        "references": [
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/DMTF/libspdm/commit/150bc5a7f9d1a04d86ba4f46c263b0ae7fe4a90f"
          },
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/DMTF/libspdm/commit/97097d2c9c59f768afaa6198b6176d53a451f4bc"
          },
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/DMTF/libspdm/pull/3902"
          },
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/DMTF/libspdm/pull/3914"
          },
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/DMTF/libspdm/releases/tag/3.8.3"
          },
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/DMTF/libspdm/releases/tag/4.0.0-rc2"
          },
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/DMTF/libspdm/security/advisories/GHSA-7vfm-9mfh-j8p5"
          }
        ],
        "sourceIdentifier": "security-advisories@github.com",
        "vulnStatus": "Received",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-295"
              }
            ],
            "source": "security-advisories@github.com",
            "type": "Secondary"
          }
        ]
      }
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-129306",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-16T18:56:17.997523Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-16T18:56:25.633Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "libspdm",
              "vendor": "DMTF",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c 3.8.3"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 4.0.0-rc1, \u003c 4.0.0-rc2"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "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\u0027s backend validation without an additional certificate-chain validation mechanism, the pinned root cannot be substituted, and the deployment\u0027s 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."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 4.4,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "LOW",
                "integrityImpact": "LOW",
                "privilegesRequired": "HIGH",
                "scope": "CHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-295",
                  "description": "CWE-295: Improper Certificate Validation",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-16T17:59:44.830Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/DMTF/libspdm/security/advisories/GHSA-7vfm-9mfh-j8p5",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/DMTF/libspdm/security/advisories/GHSA-7vfm-9mfh-j8p5"
            },
            {
              "name": "https://github.com/DMTF/libspdm/pull/3902",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/DMTF/libspdm/pull/3902"
            },
            {
              "name": "https://github.com/DMTF/libspdm/pull/3914",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/DMTF/libspdm/pull/3914"
            },
            {
              "name": "https://github.com/DMTF/libspdm/commit/150bc5a7f9d1a04d86ba4f46c263b0ae7fe4a90f",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/DMTF/libspdm/commit/150bc5a7f9d1a04d86ba4f46c263b0ae7fe4a90f"
            },
            {
              "name": "https://github.com/DMTF/libspdm/commit/97097d2c9c59f768afaa6198b6176d53a451f4bc",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/DMTF/libspdm/commit/97097d2c9c59f768afaa6198b6176d53a451f4bc"
            },
            {
              "name": "https://github.com/DMTF/libspdm/releases/tag/3.8.3",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/DMTF/libspdm/releases/tag/3.8.3"
            },
            {
              "name": "https://github.com/DMTF/libspdm/releases/tag/4.0.0-rc2",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/DMTF/libspdm/releases/tag/4.0.0-rc2"
            }
          ],
          "source": {
            "advisory": "GHSA-7vfm-9mfh-j8p5",
            "discovery": "UNKNOWN"
          },
          "title": "libspdm: libspdm_x509_verify_cert_chain() does not verify CA nameConstraints / pathLenConstraint"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2026-129306",
        "datePublished": "2026-11-16T17:59:44.830Z",
        "dateReserved": "2026-11-13T22:30:18.285Z",
        "dateUpdated": "2026-11-16T18:56:34.629Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…