{"id":"CVE-2025-40277","published":"2025-12-06T21:51:00Z","modified":"2026-08-05T12:09:09Z","title":"drm/vmwgfx: Validate command header size against SVGA_CMD_MAX_DATASIZE","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/vmwgfx: Validate command header size against SVGA_CMD_MAX_DATASIZE\n\nThis data originates from userspace and is used in buffer offset\ncalculations which could potentially overflow causing an out-of-bounds\naccess.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00254,"percentile":0.17314,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/e58559845021c3bad5e094219378b869157fad53","tags":[]},{"url":"https://git.kernel.org/stable/c/54d458b244893e47bda52ec3943fdfbc8d7d068b","tags":[]},{"url":"https://git.kernel.org/stable/c/709e5c088f9c99a5cf2c1d1c6ce58f2cca7ab173","tags":[]},{"url":"https://git.kernel.org/stable/c/a3abb54c27b2c393c44362399777ad2f6e1ff17e","tags":[]},{"url":"https://git.kernel.org/stable/c/b5df9e06eed3df6a4f5c6f8453013b0cabb927b4","tags":[]},{"url":"https://git.kernel.org/stable/c/5aea2cde03d4247cdcf53f9ab7d0747c9dca1cfc","tags":[]},{"url":"https://git.kernel.org/stable/c/f3f3a8eb3f0ba799fae057091d8c67cca12d6fa0","tags":[]},{"url":"https://git.kernel.org/stable/c/32b415a9dc2c212e809b7ebc2b14bc3fbda2b9af","tags":[]}],"priority":{"score":8.9,"factors":[{"name":"EPSS percentile","points":3.46},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 8ce75f8ab9044fe11caaaf2b2c82471023212f9f, < e58559845021c3bad5e094219378b869157fad53",">= 8ce75f8ab9044fe11caaaf2b2c82471023212f9f, < 54d458b244893e47bda52ec3943fdfbc8d7d068b",">= 8ce75f8ab9044fe11caaaf2b2c82471023212f9f, < 709e5c088f9c99a5cf2c1d1c6ce58f2cca7ab173",">= 8ce75f8ab9044fe11caaaf2b2c82471023212f9f, < a3abb54c27b2c393c44362399777ad2f6e1ff17e",">= 8ce75f8ab9044fe11caaaf2b2c82471023212f9f, < b5df9e06eed3df6a4f5c6f8453013b0cabb927b4",">= 8ce75f8ab9044fe11caaaf2b2c82471023212f9f, < 5aea2cde03d4247cdcf53f9ab7d0747c9dca1cfc",">= 8ce75f8ab9044fe11caaaf2b2c82471023212f9f, < f3f3a8eb3f0ba799fae057091d8c67cca12d6fa0",">= 8ce75f8ab9044fe11caaaf2b2c82471023212f9f, < 32b415a9dc2c212e809b7ebc2b14bc3fbda2b9af"]},{"vendor":"Linux","product":"Linux","versions":["4.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-16T19:51:12.603019Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-201578","exploited":false,"provenance":"source"}}