CVE-2026-139041

Description

A flaw was found in the Linux kernel's Virtual Codec (vicodec) driver. A local attacker could exploit this vulnerability to cause a Denial of Service (DoS) or potentially escalate privileges on the system. By configuring the video encoder's capture format to a smaller resolution than the output format, the driver writes data past the end of the allocated capture buffer, resulting in memory corruption.

Statement

This vulnerability is rated as Moderate impact because exploitation requires local access to the virtual codec device and is limited to causing a denial of service through a kernel crash. The vicodec driver is a media test module not loaded by default or required for typical enterprise workloads, substantially reducing exposure on standard Red Hat Enterprise Linux installations. To trigger the flaw, an authenticated local user must send manipulated Video4Linux ioctl commands to induce an out-of-bounds buffer write.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.5N/AN/A
Attack VectorLocalN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredLowN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityNoneN/AN/A
Integrity ImpactNoneN/AN/A
Availability ImpactHighN/AN/A

Vector

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

Understanding the Weakness (CWE)

Integrity

Technical Impact: Modify Memory; Execute Unauthorized Code or Commands

Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.

Other

Technical Impact: Unexpected State

Subsequent write operations can produce undefined or unexpected results.

Frequently Asked Questions

Want to get errata notifications? Sign up here.