CVE-2025-40277

published 6 Dec 2025 · updated 5 Aug 2026

drm/vmwgfx: Validate command header size against SVGA_CMD_MAX_DATASIZE

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 32b415a9dc2c212e809b7ebc2b14bc3fbda2b9af, Kernel 54d458b244893e47bda52ec3943fdfbc8d7d068b, Kernel 5aea2cde03d4247cdcf53f9ab7d0747c9dca1cfc and 5 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.3, >=8ce75f8ab9044fe11caaaf2b2c82471023212f9f <32b415a9dc2c212e809b7ebc2b14bc3fbda2b9af, >=8ce75f8ab9044fe11caaaf2b2c82471023212f9f <54d458b244893e47bda52ec3943fdfbc8d7d068b, >=8ce75f8ab9044fe11caaaf2b2c82471023212f9f <5aea2cde03d4247cdcf53f9ab7d0747c9dca1cfc, >=8ce75f8ab9044fe11caaaf2b2c82471023212f9f <709e5c088f9c99a5cf2c1d1c6ce58f2cca7ab173, >=8ce75f8ab9044fe11caaaf2b2c82471023212f9f <a3abb54c27b2c393c44362399777ad2f6e1ff17e, >=8ce75f8ab9044fe11caaaf2b2c82471023212f9f <b5df9e06eed3df6a4f5c6f8453013b0cabb927b4, >=8ce75f8ab9044fe11caaaf2b2c82471023212f9f <e58559845021c3bad5e094219378b869157fad53, >=8ce75f8ab9044fe11caaaf2b2c82471023212f9f <f3f3a8eb3f0ba799fae057091d8c67cca12d6fa032b415a9dc2c212e809b7ebc2b14bc3fbda2b9af, 54d458b244893e47bda52ec3943fdfbc8d7d068b, 5aea2cde03d4247cdcf53f9ab7d0747c9dca1cfc, 709e5c088f9c99a5cf2c1d1c6ce58f2cca7ab173, a3abb54c27b2c393c44362399777ad2f6e1ff17e, b5df9e06eed3df6a4f5c6f8453013b0cabb927b4, e58559845021c3bad5e094219378b869157fad53, f3f3a8eb3f0ba799fae057091d8c67cca12d6fa0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-40277 severity on Zeptric[![CVE-2025-40277](https://zeptric.io/badge/cve/CVE-2025-40277.svg)](https://zeptric.io/cve/CVE-2025-40277)