1. Archivio CVE
  2. 2026
  3. CVE-2026-129306

CVE-2026-129306

4.4 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N 4.4 – Media

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
dmtf libspdm < 3.8.3 –
dmtf libspdm >= 4.0.0-rc1, < 4.0.0-rc2 –

Tipo di vulnerabilità

CWE-295 Validazione impropria del certificato

Il prodotto non verifica, o verifica in modo errato, un certificato digitale, esponendo le comunicazioni a intercettazioni.

Impatto sui sistemi

AmbitoImpatto
Integrità, Autenticazione Aggirare i meccanismi di protezione, Ottenere privilegi o assumere un’altra identità

Come si previene

Architettura e progettazione · Sviluppo Certificates should be carefully managed and checked to assure that data are encrypted with the intended owner's public key.
Sviluppo If certificate pinning is being used, ensure that all relevant properties of the certificate are fully validated before the certificate is pinned, including the hostname.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 1.807 CVE di tipo CWE-295, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org