CVE-2025-40291 in Kernel products
In the Linux kernel, the following vulnerability has been resolved: io_uring: fix regbuf vector size truncation There is a report of io_estimate_bvec_size() truncating the calculated number of segments that leads to corruption issues. Check it doesn't overflow "int"s used later. Rough but simple, can be improved on top.
Affects 0 products from 4 vendors. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
In the Linux kernel, the following vulnerability has been resolved: io_uring: fix regbuf vector size truncation There is a report of io_estimate_bvec_size() truncating the calculated number of segments that leads to corruption issues. Check it doesn't overflow "int"s used later. Rough but simple, can be improved on top.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-40291 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-259073-I |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2025-12-08 |
| Last modified | 2026-10-14 |
| Source | NVD |
Analysis AI-written, not human-reviewed
A vulnerability in the Linux kernel's io_uring subsystem could lead to corruption issues due to the io_estimate_bvec_size() function truncating the calculated number of segments, potentially causing integer overflow.
The vulnerability arises from the io_estimate_bvec_size() function not properly handling the size of the regbuf vector, which could lead to incorrect memory allocation and corruption. This could be exploited by an attacker to cause a denial of service or potentially execute arbitrary code, depending on the context in which the vulnerability is triggered.
Questions
What is CVE-2025-40291?
A vulnerability in the Linux kernel's io_uring subsystem could lead to corruption issues due to the io_estimate_bvec_size() function truncating the calculated number of segments, potentially causing integer overflow.
What is the CVSS score for CVE-2025-40291?
CVE-2025-40291 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.2%.
Is CVE-2025-40291 actively exploited?
No confirmed active exploitation of CVE-2025-40291 as of 2026-10-15.
How do I remediate CVE-2025-40291?
Priority: MEDIUM.
What systems are affected by CVE-2025-40291?
CVE-2025-40291 affects Kernel; Linux; Simple; Vector.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Kernel","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-14.