CVE-2026-75900

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

Published Aug 19, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

An out-of-bounds read was discovered in swtpm's SWTPM_NVRAM_CheckHeader() function where the buffer length is incorrectly validated against the size of a pointer instead of the structure. This mismatch allows a buffer smaller than the required size to pass verification, resulting in a 2-byte heap overread on 64-bit systems (or 6 bytes on 32-bit). The read can expose heap data in logs and may terminate the swtpm daemon on some platforms, causing service disruption. The flaw maps to CWE-125 – Out-of-Bounds Read.

Affected Systems

Red Hat Enterprise Linux 8, 9, and 10 are affected because their default swtpm packages ship versions earlier than 0.10.2. Any system running the swtpm emulator in these RHEL releases without the patch is vulnerable. No other vendors or versions are listed for this issue.

Risk and Exploitability

The CVSS base score is 6.1, indicating a moderate severity. The EPSS score is reported as less than 1 %, suggesting a very low exploitation probability at the time of analysis. The vulnerability is not listed in CISA’s KEV catalog. Based on the description, it is inferred that the likely attack vector involves local interaction with the swtpm daemon, possibly requiring elevated privileges to supply the undersized buffer. Attackers would need to influence the swtpm daemon’s input to trigger the overread, making local or privileged access the most relevant attack scenarios.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. Fixed version: 0.10.2


OpenCVE Recommended Actions

  • Update swtpm to version 0.10.2 or later to apply the official patch.
  • Restart the swtpm service (or any dependent services) to ensure the new binary is in use.
  • If swtpm is invoked by other applications, restart those applications or reload their configurations to use the updated daemon.

Generated by OpenCVE AI on August 20, 2026 at 18:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Swtpm: swtpm: out-of-bounds read in swtpm_nvram_checkheader due to sizeof(pointer) vs sizeof(struct) mismatch
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-125
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 24, 2026, 11:46 PM
Reserved
Aug 18, 2026, 2:30 PM
Status
Awaiting Analysis
Published
Aug 19, 2026, 8:17 AM
Modified
Nov 25, 2026, 12:17 AM
Severity
Moderate
Public date
Aug 19, 2026, 7:30 AM