{"id":"CVE-2025-40277","aliases":["CVE-2025-40277"],"related":[],"kind":"vulnerability","state":"published","title":"drm/vmwgfx: Validate command header size against SVGA_CMD_MAX_DATASIZE","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ndrm/vmwgfx: Validar el tamaño del encabezado del comando contra SVGA_CMD_MAX_DATASIZE\n\nEstos datos se originan del espacio de usuario y se utilizan en cálculos de desplazamiento de búfer que podrían desbordarse potencialmente, causando un acceso fuera de límites.","source":"nvd"}],"published":"2025-12-06T21:51:00.437Z","modified":"2026-10-15T19:10:00.173Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"8ce75f8ab9044fe11caaaf2b2c82471023212f9f","fixed":"e58559845021c3bad5e094219378b869157fad53","status":"affected"},{"type":"git","introduced":"8ce75f8ab9044fe11caaaf2b2c82471023212f9f","fixed":"54d458b244893e47bda52ec3943fdfbc8d7d068b","status":"affected"},{"type":"git","introduced":"8ce75f8ab9044fe11caaaf2b2c82471023212f9f","fixed":"709e5c088f9c99a5cf2c1d1c6ce58f2cca7ab173","status":"affected"},{"type":"git","introduced":"8ce75f8ab9044fe11caaaf2b2c82471023212f9f","fixed":"a3abb54c27b2c393c44362399777ad2f6e1ff17e","status":"affected"},{"type":"git","introduced":"8ce75f8ab9044fe11caaaf2b2c82471023212f9f","fixed":"b5df9e06eed3df6a4f5c6f8453013b0cabb927b4","status":"affected"},{"type":"git","introduced":"8ce75f8ab9044fe11caaaf2b2c82471023212f9f","fixed":"5aea2cde03d4247cdcf53f9ab7d0747c9dca1cfc","status":"affected"},{"type":"git","introduced":"8ce75f8ab9044fe11caaaf2b2c82471023212f9f","fixed":"f3f3a8eb3f0ba799fae057091d8c67cca12d6fa0","status":"affected"},{"type":"git","introduced":"8ce75f8ab9044fe11caaaf2b2c82471023212f9f","fixed":"32b415a9dc2c212e809b7ebc2b14bc3fbda2b9af","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.3","status":"unaffected"},{"type":"semver","introduced":"5.4.302","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.247","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.197","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.159","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.117","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.59","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.9","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/e58559845021c3bad5e094219378b869157fad53","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/54d458b244893e47bda52ec3943fdfbc8d7d068b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/709e5c088f9c99a5cf2c1d1c6ce58f2cca7ab173","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a3abb54c27b2c393c44362399777ad2f6e1ff17e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b5df9e06eed3df6a4f5c6f8453013b0cabb927b4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5aea2cde03d4247cdcf53f9ab7d0747c9dca1cfc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f3f3a8eb3f0ba799fae057091d8c67cca12d6fa0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/32b415a9dc2c212e809b7ebc2b14bc3fbda2b9af","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-16T19:51:12.603Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40277","url":"https://www.cve.org/CVERecord?id=CVE-2025-40277","licence":"CVE Terms of Use","modified":"2026-08-05T12:09:09.886Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40277","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40277","licence":"Public domain","modified":"2026-10-15T19:10:00.173Z"}],"updatedAt":"2026-11-25T22:59:08.376Z","epss":{"score":0.00233,"percentile":0.08531,"date":"2026-11-30T12:00:22.000Z"}}