CyberSecBulletin
CVE-2025-71306NVD status: Modified

Linux: Out-of-bounds Read

CVE-2025-71306 is a high-severity out-of-bounds read vulnerability in Linux, with a CVSS 3.1 base score of 7.1 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. The record lists versions 0f39d936a34933ebfbdc13a04f0aba814d3b9709, ab3d16da982a4ebb715d487dbf9dd66e3990d935, 377cae9851e8559e9d8b82a78c1ac0abeb18839c as the first without the flaw, so updating Linux to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.18% chance of exploitation within 30 days, which is low compared with other CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Linux to 0f39d936a34933ebfbdc13a04f0aba814d3b9709 or ab3d16da982a4ebb715d487dbf9dd66e3990d935 or 377cae9851e8559e9d8b82a78c1ac0abeb18839c, whichever matches your release line, or a later version.
  2. Update Linux Kernel to 6.19.4 or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
LinuxLinux95b3cdafd7cb74414070893445a9b731793f7b55 up to, but not including, 0f39d936a34933ebfbdc13a04f0aba814d3b9709; 95b3cdafd7cb74414070893445a9b731793f7b55 up to, but not including, ab3d16da982a4ebb715d487dbf9dd66e3990d935; 95b3cdafd7cb74414070893445a9b731793f7b55 up to, but not including, 377cae9851e8559e9d8b82a78c1ac0abeb18839c; 6.140f39d936a34933ebfbdc13a04f0aba814d3b9709, ab3d16da982a4ebb715d487dbf9dd66e3990d935, 377cae9851e8559e9d8b82a78c1ac0abeb18839c
LinuxLinux Kernel6.14 up to, but not including, 6.19.46.19.4

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
LocalThe attacker needs local access or must trick a user into running something.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
LowA basic user account is enough.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
NoneNothing can be modified.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H. Scored by NVD.

Official description

In the Linux kernel, the following vulnerability has been resolved: ima: Fix stack-out-of-bounds in is_bprm_creds_for_exec() KASAN reported a stack-out-of-bounds access in ima_appraise_measurement from is_bprm_creds_for_exec: BUG: KASAN: stack-out-of-bounds in ima_appraise_measurement+0x12dc/0x16a0 Read of size 1 at addr ffffc9000160f940 by task sudo/550 The buggy address belongs to stack of task sudo/550 and is located at offset 24 in frame: ima_appraise_measurement+0x0/0x16a0 This frame has 2 objects: [48, 56) 'file' [80, 148) 'hash' This is caused by using container_of on the *file pointer. This offset calculation is what triggers the stack-out-of-bounds error. In order to fix this, pass in a bprm_is_check boolean which can be set depending on how process_measurement is called. If the caller has a linux_binprm pointer and the function is BPRM_CHECK we can determine is_check and set it then. Otherwise set it to false.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Out-of-bounds Read

The product reads data past the end, or before the beginning, of the intended buffer.

How developers prevent this class of flaw

  • Use a language that provides appropriate memory abstractions.

More Out-of-bounds Read vulnerabilities (CWE-125)

Timeline

  1. CVE record published.
  2. Record last changed materially (score, affected products, status or references).

References

Recent Out-of-bounds Read vulnerabilities

Spotted an error? Tell us.