Skip to main content
EPSS 0.2%top 85%

In the Linux kernel, the following vulnerability has been resolved: drm/vmwgfx: Validate command header size against SVGA_CMD_MAX_DATASIZE This data… (CVE-2025-40277)

0
High
Published: 12/07/2025 (12/07/2025, 00:30:56 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's drm/vmwgfx component involved improper validation of command header size against SVGA_CMD_MAX_DATASIZE. This flaw allowed user-supplied data to be used in buffer offset calculations without sufficient checks, potentially causing an out-of-bounds access. The issue has been resolved in the Linux kernel. The vulnerability is rated with high severity due to its potential impact on confidentiality, integrity, and availability.

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 17:37:31 UTC

Technical Analysis

The Linux kernel contained a vulnerability in the drm/vmwgfx driver where the command header size was not properly validated against the maximum allowed data size (SVGA_CMD_MAX_DATASIZE). Since this data originates from userspace and is used in buffer offset calculations, the lack of validation could lead to an overflow and out-of-bounds memory access. This vulnerability has been fixed in the Linux kernel source. The CVSS 3.1 vector indicates the attack requires local access with low complexity and privileges, no user interaction, and impacts confidentiality, integrity, and availability with high severity.

Potential Impact

If exploited, this vulnerability could allow a local attacker with limited privileges to cause out-of-bounds memory access, potentially leading to arbitrary code execution, privilege escalation, or denial of service. The impact affects confidentiality, integrity, and availability of the system.

Mitigation Recommendations

A fix for this vulnerability has been implemented in the Linux kernel. Users and administrators should update their Linux kernel to the latest version that includes this patch. Since this is not a cloud service, remediation requires applying the official kernel update. Patch status is not explicitly confirmed in the provided data, so verify with the official Linux kernel advisories for the exact fixed versions and update accordingly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-6jjc-g279-fq4c
Osv Schema Version
1.4.0
Aliases
["CVE-2025-40277"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a6b72d59c2644c7f8479924

Added to database: 07/30/2026, 15:50:45 UTC

Last enriched: 07/30/2026, 17:37:31 UTC

Last updated: 09/10/2026, 19:26:53 UTC

Views: 14

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses