# CVE-2025-40277: drm/vmwgfx: Validate command header size against SVGA_CMD_MAX_DATASIZE

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 9% of CVEs (2026-11-30)
- Published: 2025-12-06T21:51:00.437Z
- Modified: 2026-10-15T19:10:00.173Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 8ce75f8ab9044fe11caaaf2b2c82471023212f9f before e58559845021c3bad5e094219378b869157fad53; from 8ce75f8ab9044fe11caaaf2b2c82471023212f9f before 54d458b244893e47bda52ec3943fdfbc8d7d068b; from 8ce75f8ab9044fe11caaaf2b2c82471023212f9f before 709e5c088f9c99a5cf2c1d1c6ce58f2cca7ab173; from 8ce75f8ab9044fe11caaaf2b2c82471023212f9f before a3abb54c27b2c393c44362399777ad2f6e1ff17e; from 8ce75f8ab9044fe11caaaf2b2c82471023212f9f before b5df9e06eed3df6a4f5c6f8453013b0cabb927b4; from 8ce75f8ab9044fe11caaaf2b2c82471023212f9f before 5aea2cde03d4247cdcf53f9ab7d0747c9dca1cfc; from 8ce75f8ab9044fe11caaaf2b2c82471023212f9f before f3f3a8eb3f0ba799fae057091d8c67cca12d6fa0; from 8ce75f8ab9044fe11caaaf2b2c82471023212f9f before 32b415a9dc2c212e809b7ebc2b14bc3fbda2b9af; 4.3 (not affected: before 4.3; from 5.4.302 up to 5.4.*; from 5.10.247 up to 5.10.*; from 5.15.197 up to 5.15.*; from 6.1.159 up to 6.1.*; from 6.6.117 up to 6.6.*; from 6.12.59 up to 6.12.*; from 6.17.9 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/e58559845021c3bad5e094219378b869157fad53>
- <https://git.kernel.org/stable/c/54d458b244893e47bda52ec3943fdfbc8d7d068b>
- <https://git.kernel.org/stable/c/709e5c088f9c99a5cf2c1d1c6ce58f2cca7ab173>
- <https://git.kernel.org/stable/c/a3abb54c27b2c393c44362399777ad2f6e1ff17e>
- <https://git.kernel.org/stable/c/b5df9e06eed3df6a4f5c6f8453013b0cabb927b4>
- <https://git.kernel.org/stable/c/5aea2cde03d4247cdcf53f9ab7d0747c9dca1cfc>
- <https://git.kernel.org/stable/c/f3f3a8eb3f0ba799fae057091d8c67cca12d6fa0>
- <https://git.kernel.org/stable/c/32b415a9dc2c212e809b7ebc2b14bc3fbda2b9af>

## Sources

- CVE List: [CVE-2025-40277](https://www.cve.org/CVERecord?id=CVE-2025-40277), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-40277](https://nvd.nist.gov/vuln/detail/CVE-2025-40277), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-40277 · Whole record: https://cve.day/CVE-2025-40277.json · Rebuilt by cve.day 2026-11-25T22:59:08.376Z
