VDB

CVE-2025-40277

CVE-2025-40277 PUBLISHED CVSS 7.8 HIGH

drm/vmwgfx: Validate command header size against SVGA_CMD_MAX_DATASIZE

Reported by linux · Published December 6, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-modules-extraAmazon Linux1:6.12.63-84.121.amzn2023
kernel-libbpf-staticAmazon Linux1:6.1.159-181.297.amzn2023
python3-perfAmazon Linux1:6.1.159-181.297.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.63-84.121.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.63-84.121.amzn2023
kernel-develAmazon Linux1:6.1.159-181.297.amzn2023
kernel-modules-extraAmazon Linux1:6.1.159-181.297.amzn2023
bpftoolAmazon Linux1:6.1.159-181.297.amzn2023
python3-perf6.12Amazon Linux1:6.12.63-84.121.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.159-181.297.amzn2023
LinuxLinux4.3, 32b415a9dc2c212e809b7ebc2b14bc3fbda2b9af

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux8ce75f8ab9044fe11caaaf2b2c82471023212f9f, 8ce75f8ab9044fe11caaaf2b2c82471023212f9f, 8ce75f8ab9044fe11caaaf2b2c82471023212f9f
LinuxLinux4.3, 0, 5.4.302
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-libbpf-static0
amazon:2023python3-perf0
amazon:2023kernel6.12-tools0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-devel0
amazon:2023kernel-modules-extra0
amazon:2023bpftool0
amazon:2023python3-perf6.120
amazon:2023kernel-modules-extra-common0
LinuxLinux8ce75f8ab9044fe11caaaf2b2c82471023212f9f, 8ce75f8ab9044fe11caaaf2b2c82471023212f9f, 8ce75f8ab9044fe11caaaf2b2c82471023212f9f
amazon:2023kernel-tools-devel0
amazon:2023kernel6.12-headers0
amazon:2023kernel-livepatch-6.1.159-181.2970
amazon:2023perf6.120
amazon:2023bpftool6.120
amazon:2023kernel-libbpf-devel0
amazon:2023perf0

…and 12 more

Timeline

  • Dec 6, 2025 CVE Published
  • Dec 7, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (195 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (234 in total, the first dated here)
  • Jun 8, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-40277
vulnetix vdb fixes CVE-2025-40277

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40277/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›