# drm/vmwgfx: Validate command header size against SVGA_CMD_MAX_DATASIZE

CVE record · `CVE-2025-40277`

- **Identifiers:** `CVE-2025-40277`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 6 Dec 2025
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 6 Dec 2025, 21:51 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `8ce75f8ab9044fe11caaaf2b2c82471023212f9f to before e58559845021c3bad5e094219378b869157fad53` (git)
  - affected: `8ce75f8ab9044fe11caaaf2b2c82471023212f9f to before 54d458b244893e47bda52ec3943fdfbc8d7d068b` (git)
  - affected: `8ce75f8ab9044fe11caaaf2b2c82471023212f9f to before 709e5c088f9c99a5cf2c1d1c6ce58f2cca7ab173` (git)
  - affected: `8ce75f8ab9044fe11caaaf2b2c82471023212f9f to before a3abb54c27b2c393c44362399777ad2f6e1ff17e` (git)
  - affected: `8ce75f8ab9044fe11caaaf2b2c82471023212f9f to before b5df9e06eed3df6a4f5c6f8453013b0cabb927b4` (git)
  - affected: `8ce75f8ab9044fe11caaaf2b2c82471023212f9f to before 5aea2cde03d4247cdcf53f9ab7d0747c9dca1cfc` (git)
  - affected: `8ce75f8ab9044fe11caaaf2b2c82471023212f9f to before f3f3a8eb3f0ba799fae057091d8c67cca12d6fa0` (git)
  - affected: `8ce75f8ab9044fe11caaaf2b2c82471023212f9f to before 32b415a9dc2c212e809b7ebc2b14bc3fbda2b9af` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.3`
  - unaffected: `before 4.3` (semver)
  - unaffected: `5.4.302 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.247 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.197 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.159 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.117 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.59 to 6.12.*, inclusive` (semver)
  - unaffected: `6.17.9 to 6.17.*, inclusive` (semver)
  - unaffected: `6.18 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0025, the 17th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 6 Dec 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2025-40277](https://www.cve.org/CVERecord?id=CVE-2025-40277)
- [NVD: CVE-2025-40277](https://nvd.nist.gov/vuln/detail/CVE-2025-40277)

### References from the CNA

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

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-40277>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-40277/>. Everything for agents: <https://agentprime.io/llms.txt>.
