LiveActive security incident?Get immediate response
CVE Record

CVE-2025-40277: drm/vmwgfx: Validate command header size against SVGA_CMD_MAX_DATASIZE

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.

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A local user with existing access may submit oversized vmwgfx graphics command header data. Missing size validation could overflow kernel offset calculations and access memory outside intended bounds, threatening confidentiality, integrity, and availability. Severity is high, but the supplied evidence does not show remote or active exploitation.

Executive priority

Treat this as a high-priority kernel remediation for exposed multi-user Linux systems, especially those permitting untrusted local sessions. It is not internet-remote based on the supplied vector, and no active exploitation is cited. Schedule prompt vendor-supported updates after confirming vmwgfx exposure.

Technical view

The drm/vmwgfx command parser accepted a userspace-controlled command header size without checking it against SVGA_CMD_MAX_DATASIZE. The value feeds buffer-offset arithmetic, creating potential integer overflow and out-of-bounds access. CVSS 3.1 is 7.8: local, low complexity, low privileges, no user interaction, unchanged scope, and high confidentiality, integrity, and availability impacts.

Likely exposure

Exposure is most likely on Linux systems where vmwgfx is present and reachable by low-privileged local users. The bundle identifies releases across multiple stable lines, from 4.3 through 6.18, but lacks sufficient packaging detail to determine every distribution's status. Vendor backports must be checked.

Exploitation context

The CVSS vector requires local access and low privileges; user interaction is unnecessary. The bundle marks KEV false and provides no evidence of exploitation in the wild or public exploit availability. KEV absence alone does not prove exploitation is impossible.

Researcher notes

Eight stable-kernel commits are linked, consistent with fixes across maintained branches. The supplied data identifies no CWE, proof of concept, or confirmed exploit. Version entries are too compressed to establish exact distribution boundaries; analyze vendor backports and the relevant stable commit for each kernel line.

Mitigation direction

  • Apply a kernel update containing the applicable referenced stable fix or an authorized vendor backport.
  • Consult the Linux distribution or appliance vendor for package-specific fixed versions and reboot requirements.
  • Prioritize multi-user systems where untrusted local users can reach vmwgfx functionality.
  • If updating is delayed, restrict untrusted local access and follow vendor-approved temporary mitigations.

Validation and detection

  • Inventory kernel versions and determine whether vmwgfx is installed, loaded, or otherwise reachable.
  • Map each kernel package to its vendor advisory and applicable stable-fix commit.
  • Confirm the running kernel contains the header-size validation against SVGA_CMD_MAX_DATASIZE.
  • After updating, verify the intended kernel is running and repeat exposure checks.
Prepared
Confidence
medium
Sources
10

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2025-40277 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.8 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
1ADP providers
9Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9Linux

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2025-40277Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux8ce75f8ab9044fe11caaaf2b2c82471023212f9f, 8ce75f8ab9044fe11caaaf2b2c82471023212f9f, 8ce75f8ab9044fe11caaaf2b2c82471023212f9f, 8ce75f8ab9044fe11caaaf2b2c82471023212f9f, 8ce75f8ab9044fe11caaaf2b2c82471023212f9f, 8ce75f8ab9044fe11caaaf2b2c82471023212f9f, 8ce75f8ab9044fe11caaaf2b2c82471023212f9f, 8ce75f8ab9044fe11caaaf2b2c82471023212f9funaffected
LinuxLinux4.3, 0, 5.4.302, 5.10.247, 5.15.197, 6.1.159, 6.6.117, 6.12.59, 6.17.9, 6.18affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.