Menu

Star on GitHub · 3.2k

CVE-2025-71306

7.1 · HIGH

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_measuremen…

Published May 27, 2026CWE-125EPSS 0.15%

Overview

CVE-2025-71306 is a high-severity vulnerability. It was published on May 27, 2026 and has a CVSS 3.1 base score of 7.1 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2025-71306?

CVE-2025-71306 is a high-severity vulnerability. It was published on May 27, 2026 and has a CVSS 3.1 base score of 7.1 (HIGH).

How severe is CVE-2025-71306?

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-71306?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-71306?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-71306 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2025

View all