CVE-2025-71231
Last modified
CVE-2025-71231 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: crypto: iaa - Fix out-of-bounds index in find_empty_iaa_compression_mode The local variable 'i' is initialized with -EINVAL, but the for loop immediately overwrites it and -EINVAL is never returned. If no empty compression mode can be found, the function would return the out-of-bounds index IAA_COMP_MODES_MAX, which would cause an invalid array access in add_iaa_compression_mode(). Fix both issues by returning either a valid index or -EINVAL.. EPSS estimates a 0.12% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: crypto: iaa - Fix out-of-bounds index in find_empty_iaa_compression_mode The local variable 'i' is initialized with -EINVAL, but the for loop immediately overwrites it and -EINVAL is never returned. If no empty compression mode can be found, the function would return the out-of-bounds index IAA_COMP_MODES_MAX, which would cause an invalid array access in add_iaa_compression_mode(). Fix both issues by returning either a valid index or -EINVAL.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.8, < 6.12.72 |
| Linux | Linux Kernel | >= 6.13, < 6.18.11 |
| Linux | Linux Kernel | >= 6.19, < 6.19.1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-71231?
How severe is CVE-2025-71231?
How do I fix CVE-2025-71231?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-71226Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2025-71227In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-71228Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2025-71229In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-7123A vulnerability was found in Campcodes Complaint Management …7.2
- CVE-2025-71230In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-71232In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-71233In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-71234In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-71235In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-71236In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-71237In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2025-71231?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
