Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-40241

7.8 · HIGH
Published Dec 4, 2025 EPSS 0.14% (4th pctl)

Overview

CVE-2025-40241 is a high-severity vulnerability. It was published on December 4, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, 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:

erofs: fix crafted invalid cases for encoded extents

Robert recently reported two corrupted images that can cause system

crashes, which are related to the new encoded extents introduced

in Linux 6.15:

- The first one [1] has plen != 0 (e.g. plen == 0x2000000) but

(plen & Z_EROFS_EXTENT_PLEN_MASK) == 0. It is used to represent

special extents such as sparse extents (!EROFS_MAP_MAPPED), but

previously only plen == 0 was handled;

- The second one [2] has pa 0xffffffffffdcffed and plen 0xb4000,

then "cur [0xfffffffffffff000] += bvec.bv_len [0x1000]" in

"} while ((cur += bvec.bv_len) < end);" wraps around, causing an

out-of-bound access of pcl->compressed_bvecs[] in

z_erofs_submit_queue(). EROFS only supports 48-bit physical block

addresses (up to 1EiB for 4k blocks), so add a sanity check to

enforce this.

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-40241?

CVE-2025-40241 is a high-severity vulnerability. It was published on December 4, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2025-40241?

This vulnerability has a CVSS 3.1 base score of 7.8, 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-40241?

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-40241?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-40241 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.