CVE-2025-40277 Details
Description
In the Linux kernel, the following vulnerability has been resolved: drm/vmwgfx: Validate command header size against SVGA_CMD_MAX_DATASIZE This data originates from userspace and is used in buffer offset calculations which could potentially overflow causing an out-of-bounds access.
A vulnerability exists in the Linux kernel's VMWGFX graphics driver, specifically in the handling of SVGA commands from userspace. The driver fails to properly validate the size of command headers against a maximum allowed data size. This oversight can lead to buffer offset calculations that overflow, causing out-of-bounds memory access. The vulnerability has been addressed in the Linux kernel stable tree.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the Linux Kernel Archives.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 6, 2025CISA-ADP
Assessed Jun 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/32b415a9dc2c212e809b7ebc2b14bc3fbda2b9af | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/54d458b244893e47bda52ec3943fdfbc8d7d068b | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/5aea2cde03d4247cdcf53f9ab7d0747c9dca1cfc | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/709e5c088f9c99a5cf2c1d1c6ce58f2cca7ab173 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/a3abb54c27b2c393c44362399777ad2f6e1ff17e | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/b5df9e06eed3df6a4f5c6f8453013b0cabb927b4 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/e58559845021c3bad5e094219378b869157fad53 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/f3f3a8eb3f0ba799fae057091d8c67cca12d6fa0 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Translated | [email protected] |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 6, 2025 | New CVE Received | kernel.org |
Volerion