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.
CVSS 6.1EPSS 0.11100000000000002%Risk 0.62
View source- Published
- 2026-08-19 08:17:14
- Affected versions
- unknown
- Type
- Other
- Last modified
- 2026-08-21 20:16:42
- Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H