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

- Severity: Medium 6.1 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-08-19T07:44:35.968Z
- Modified: 2026-11-25T00:17:13.370Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- swtpm: no versions given
- virt:rhel/swtpm: no versions given

## References

- <https://access.redhat.com/security/cve/CVE-2026-75900> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2517910> (issue-tracking)

## Sources

- CVE List: [CVE-2026-75900](https://www.cve.org/CVERecord?id=CVE-2026-75900), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2026-75900](https://nvd.nist.gov/vuln/detail/CVE-2026-75900), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-75900 · Whole record: https://cve.day/CVE-2026-75900.json · Rebuilt by cve.day 2026-11-25T22:59:33.915Z
