CVE-2025-40277
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.63-84.121.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 1:6.1.159-181.297.amzn2023 |
| python3-perf | Amazon Linux | 1:6.1.159-181.297.amzn2023 |
| kernel6.12-tools | Amazon Linux | 1:6.12.63-84.121.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.63-84.121.amzn2023 |
| kernel-devel | Amazon Linux | 1:6.1.159-181.297.amzn2023 |
| kernel-modules-extra | Amazon Linux | 1:6.1.159-181.297.amzn2023 |
| bpftool | Amazon Linux | 1:6.1.159-181.297.amzn2023 |
| python3-perf6.12 | Amazon Linux | 1:6.12.63-84.121.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 1:6.1.159-181.297.amzn2023 |
| Linux | Linux | 4.3, 32b415a9dc2c212e809b7ebc2b14bc3fbda2b9af |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 8ce75f8ab9044fe11caaaf2b2c82471023212f9f, 8ce75f8ab9044fe11caaaf2b2c82471023212f9f, 8ce75f8ab9044fe11caaaf2b2c82471023212f9f |
| Linux | Linux | 4.3, 0, 5.4.302 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| Linux | Linux | 8ce75f8ab9044fe11caaaf2b2c82471023212f9f, 8ce75f8ab9044fe11caaaf2b2c82471023212f9f, 8ce75f8ab9044fe11caaaf2b2c82471023212f9f |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel-livepatch-6.1.159-181.297 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | perf | 0 |
…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