Aller au contenu
6.1 Moyenne

CVE-2026-75900 Swtpm: swtpm: out-of-bounds read in swtpm_nvram_checkheader due to sizeof(pointer) vs sizeof(struct) mismatch

Description

An out-of-bounds read vulnerability was found in swtpm's SWTPM_NVRAM_CheckHeader() function. The entry guard checks the buffer length against sizeof(bh), where bh is a pointer, instead of sizeof(*bh), the actual struct size. This allows an undersized buffer to pass validation, causing a 2-byte heap overread on 64-bit systems (6 bytes on 32-bit) when accessing the totlen field. This may cause daemon termination on some platforms and leaks heap data to the log.

Détail CVSS 3.1

Vecteur CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H

Exploitable avec un accès local à la machine, avec un compte ordinaire et sans action d’un utilisateur ; un attaquant peut compromettre gravement la confidentialité, l’intégrité ou la disponibilité.

Vecteur d’attaque
Local
Complexité
Faible
Privilèges requis
Faibles
Interaction
Aucune
Portée
Inchangée
Confidentialité
Faible
Intégrité
Aucun
Disponibilité
Élevé

Produits et versions touchés

Produit Versions touchées Corrigé en
Red Hat Enterprise Linux 10 Versions non publiées
Red Hat Enterprise Linux 8 Versions non publiées
Red Hat Enterprise Linux 9 Versions non publiées
Les 1456 CVE de Red Hat Enterprise Linux 10 →
Suivre cette CVE