CVE-2026-98728tpm: fix off-by-four bounds check in tpm2_get_random()
- —Not scoredno CVSS score yet
- 0.17%Exploitation in 30 daysEPSS · top 94% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: tpm: fix off-by-four bounds check in tpm2_get_random() When the response carries the TPM2_ST_SESSIONS tag, tpm2_get_random() skips the 4-byte parameter size field before locating the random data, but the bounds check still validates the response length against TPM_HEADER_SIZE. A truncated response can pass the check and make memcpy() read up to 4 bytes past the response end, so stale buffer contents end up in the caller's random bytes. Fix this by checking the response length against 'offset', which already includes the skipped parameter size field.
Timeline
ID reserved
By Linux
- 23 days later
· 23 days later
Published
- 1 day later
· 1 day later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
No CVSS score yet: neither the CNA, CISA nor NVD has scored this CVE. NVD status: Received.
- EPSS (exploitation in 30 days)
- 0.17% · top 94% of all CVEs (14 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Not scored.
Affected products
- affected 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497 – < be54101992c2c5218be0e0a87827ccc96e3089af
- affected 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497 – < e30a2406408d2df6d9cd48c2e59e913cf266a05a
- affected 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497 – < 42bb6216b861e892512128219ff23010d656ba14
- affected 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497 – < 9b522400bf5c082feb9a0037a053ea822a2c7e4d
- affected 6.10
- unaffected < 6.10
- unaffected 6.12.113 – ≤ 6.12.*
- unaffected 6.18.56 – ≤ 6.18.*
- unaffected 7.2.10 – ≤ 7.2.*
- unaffected 7.3 – ≤ *
References
References4
- https://git.kernel.org/stable/c/be54101992c2c5218be0e0a87827ccc96e3089af (opens in a new tab)
- https://git.kernel.org/stable/c/e30a2406408d2df6d9cd48c2e59e913cf266a05a (opens in a new tab)
- https://git.kernel.org/stable/c/42bb6216b861e892512128219ff23010d656ba14 (opens in a new tab)
- https://git.kernel.org/stable/c/9b522400bf5c082feb9a0037a053ea822a2c7e4d (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-103813 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-98728)Record last updated .