Stack-based buffer overflow in Linux kernel - CVE-2025-71306

 

Stack-based buffer overflow in Linux kernel - CVE-2025-71306

Published: May 28, 2026


Vulnerability identifier: #VU132644
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-71306
CWE-ID: CWE-121
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to cause a denial of service.

The vulnerability exists due to a stack-based buffer overflow in is_bprm_creds_for_exec() when handling IMA appraisal during exec-related measurement processing. A local user can trigger the vulnerable code path to cause a denial of service.

The issue was observed as a stack out-of-bounds read in ima_appraise_measurement caused by using container_of on the file pointer.


Affected software

Linux kernel

How to mitigate CVE-2025-71306

Install security update from vendor's repository.

Linux kernel - update to 7.0 rc3

External References

Related Security Bulletins