Skip to main content

Linux Kernel CVE-2026-139042

| EUVDEUVD-2026-138794 HIGH
2026-11-30 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-pxqv-94wv-8w5j
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Open vicodec V4L2 device node
  2. Exploit
    Set capture dimension of 16n+1
  3. Execution
    Run FWHT encode/decode
  4. Impact
    Overflow kernel heap by one 8x8 block

Vulnerability Assessment

Exploitation Conditions

Requires: (1) the vicodec virtual codec driver (CONFIG_VIDEO_VICODEC) built and loaded; (2) local access to its V4L2 device node with permission to set formats and run jobs - reflected by PR:L; and (3) configuring a capture format whose width or height satisfies dim % 16 == 1, which makes vic_round_dim() return dim-1 while encode_plane()/decode_plane() round to dim+7, sizing the buffer one 8x8 block short. The OOB read additionally requires a P-coded (inter) frame that references the prior frame. Limiting factors: no network vector (local only), authenticated access required to the device node, and vicodec being a test/virtual driver that is often not present in production kernels; no user interaction beyond the attacker's own actions.

Impact

This is a local, low-privilege kernel heap out-of-bounds write (and OOB read for P-coded frames) in the vicodec FWHT software codec, scored CVSS 7.8 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H). The signals point to a genuine but low-urgency memory-safety bug rather than a widely-exploited emergency: EPSS is only 0.33% (28th percentile), there is no CISA KEV listing, and no public exploit is identified. The CVSS vector is self-consistent with the description - AV:L and PR:L correctly reflect that an attacker needs local access to the V4L2 video device node, not network reach, so the high C/I/A scores stem from kernel-memory corruption impact, not remote reachability. The vuln.today decision label is 'this_week', consistent with a patched, non-KEV kernel memory bug that should be rolled into normal stable-kernel patching rather than treated as act_now/emergency. No signals conflict; the main limiting factor not captured by CVSS alone is that vicodec is a virtual/test codec driver that is frequently not enabled in production kernels, which materially lowers real-world exposure below what a raw 7.8 implies.

Exploit ScenarioDerived

A local user with access to the vicodec V4L2 device node configures a capture format whose width or height is one more than a multiple of 16 (e.g. 641x360 YUYV), then runs an encode or P-frame decode, causing the FWHT codec to write one 8x8 block row or column past the end of the capture plane in kernel heap memory (and read past the reference frame). The resulting slab-out-of-bounds corruption - demonstrated to trip KASAN in add_deltas via decode_plane - could be developed toward local privilege escalation or used for denial of service. No public exploit is identified at time of analysis; only vendor patch commits exist.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

Heap out-of-bounds write (and a matching out-of-bounds read on P-coded frames) in the Linux kernel's vicodec virtual codec driver, caused by a rounding mismatch when a capture format's width or height is exactly one more than a multiple of 16. The flaw is reachable by an authenticated local user who can open the vicodec V4L2 device node and set formats; triggering it requires configuring such a dimension (e.g. a 641x360 YUYV frame) and, for the read, a P-coded inter frame referencing the prior frame, after which the FWHT codec writes an 8x8 block row or column past the end of the capture plane, scored CVSS 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H). Exposure is limited to systems that build and load CONFIG_VIDEO_VICODEC, a test/virtual driver uncommon on production kernels; no public exploit has been identified at time of analysis (EPSS 0.33%, 28th percentile) and vendor patches are available across the affected stable branches.

RemediationAI

Apply the vendor-released kernel update for your branch: the fix is in mainline 7.4-rc1 and in stable releases 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63 and 7.3.4, published as git.kernel.org stable commits 0183746ebca4c478027e2261b904f844f1443b19, 1a5ec52bc663c10a975451eba090a6c51283c060, 1b317507238bbee272de232a11b6585d35166db1, 27ea3bc799033643aab1df06a3f0e9e16ad5a565, 673200195101b91f2acc2e2d8338bb6e47b897df, 6f2a9c71cd0a54b3d8dbfcf534506f165f5d5fd5, 805d4167f7cc419fac6687da3f0fcab96d1955d0 and e7259565c1246c6d20fe55815bf8e4e3f1d05363. Where immediate kernel upgrades are not possible, the most direct compensating control is to ensure the vicodec test driver is not available: do not build CONFIG_VIDEO_VICODEC, or blacklist/remove the vicodec module on hosts that do not need it - the trade-off is loss of the virtual codec device used for V4L2 codec API testing, which is rarely required in production. Additionally, restrict access to /dev/video* nodes to trusted groups so unprivileged local users cannot set capture formats, noting that this only reduces the attack surface for PR:L callers and does not fix the underlying rounding bug for privileged ones. Kernel updates remain the only complete fix.

Affected VersionsENISA

Linux 3b15f68e19c28a76d175f61943a8c23224afce93 <673200195101b91f2acc2e2d8338bb6e47b897df
Linux patch: 5.10.275
Linux 3b15f68e19c28a76d175f61943a8c23224afce93 <805d4167f7cc419fac6687da3f0fcab96d1955d0
Linux 3b15f68e19c28a76d175f61943a8c23224afce93 <27ea3bc799033643aab1df06a3f0e9e16ad5a565
Linux patch: 6.1.193
Linux 3b15f68e19c28a76d175f61943a8c23224afce93 <1b317507238bbee272de232a11b6585d35166db1
Linux 3b15f68e19c28a76d175f61943a8c23224afce93 <1a5ec52bc663c10a975451eba090a6c51283c060
Linux 3b15f68e19c28a76d175f61943a8c23224afce93 <6f2a9c71cd0a54b3d8dbfcf534506f165f5d5fd5
Linux patch: 7.4-rc1
Linux patch: 0
Linux patch: 5.15.226
Linux patch: 7.3.4
Linux patch: 6.6.163
Linux patch: 6.18.63
Linux 3b15f68e19c28a76d175f61943a8c23224afce93 <e7259565c1246c6d20fe55815bf8e4e3f1d05363
Linux patch: 6.12.117
Linux 3b15f68e19c28a76d175f61943a8c23224afce93 <0183746ebca4c478027e2261b904f844f1443b19
Linux 5.1

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

vicodec is a virtual V4L2 driver used to exercise the kernel's stateful and stateless video codec APIs via the FWHT (fast Walsh-Hadamard transform) software codec. The bug is an integer-rounding inconsistency in the dimension macros: vic_round_dim() computes round_up((dim)/(div), 8) * (div), which is documented to round a dimension up so that both luma and chroma planes end up a multiple of 8, but the expression only actually rounds the chroma plane. For div 2 the result is a multiple of 16 in every case except when dim % 16 1, where dim/2 is already a multiple of 8 and the macro therefore returns dim - 1 instead of rounding up. encode_plane() and decode_plane() independently round the same dimension with round_up(dim, 8), yielding dim + 7, i.e. one 8x8 block more than the coded dimension that sized the capture buffer. The result is a one-block heap overflow past the capture plane on encode, and an out-of-bounds read of the same block from the reference frame on decode of P-coded frames. A KASAN-enabled kernel with a 641x360 YUYV P-frame reports 'slab-out-of-bounds in add_deltas' with the call chain add_deltas -> decode_plane -> fwht_decode_frame -> v4l2_fwht_decode -> device_run. No CWE identifier was assigned in the source data, though the defect class is a dimension-validation error leading to an out-of-bounds write. The upstream fix rounds the dimension itself up to a multiple of 8 * div; the behavior changes only for div 2 with dim % 16 1, and because MAX_WIDTH and MAX_HEIGHT are both multiples of 16 the corrected value still fits the advertised limits. Access requires the device node (PR:L) and is purely local (AV:L), with no user interaction beyond the attacker's own actions.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Local V4L2 device access needed (AV:L, PR:L) with a deterministic trigger (AC:L); kernel-heap OOB write/read yields high confidentiality, integrity and availability impact without scope change.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Dec 01, 2026 - 06:22 NVD
7.8 (HIGH)
Patch available
Nov 30, 2026 - 15:04 EUVD
CVE Published
Nov 30, 2026 - 14:18 cve.org
HIGH 7.8
CVE Published
Nov 30, 2026 - 14:18 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

media: vicodec: fix out-of-bounds write on under-rounded coded dimensions

A capture format whose width or height is one more than a multiple of 16 makes the FWHT codec write one 8x8 block row, or column, past the end of the capture plane, and read the same block out of the reference frame for P-coded frames.

vic_round_dim() is documented to round a frame dimension up so that both the luma and the chroma plane end up a multiple of 8, but it only rounds the chroma plane:

round_up((dim) / (div), 8) * (div)

For div 2 the result is a multiple of 16 in every case but one: when dim % 16 1, dim / div is already a multiple of 8 and the macro returns dim - 1. encode_plane() and decode_plane() round the same dimension with round_up(dim, 8), which yields dim + 7 -- one block more than the coded dimension that sized the buffer.

On a KASAN-enabled kernel, a 641x360 YUYV P-frame triggers:

BUG: KASAN: slab-out-of-bounds in add_deltas+0x450/0xcc0 Read of size 1 at addr ffff888009070800 by task trigger_bin/70

Call Trace: add_deltas+0x450/0xcc0 decode_plane+0x1916/0x3390 fwht_decode_frame+0x173/0x620 v4l2_fwht_decode+0x751/0x1120 device_run+0x6bb/0x1850

Round the dimension itself up to a multiple of 8 * div. The rounding changes only for div 2 and dim % 16 1, and MAX_WIDTH and MAX_HEIGHT are both multiples of 16, so the rounded value still fits the advertised limits.

Executive ViewAI

Why It Matters

A high-severity vulnerability in the Linux kernel's vicodec test driver (CVE-2026-139042) allows an authenticated local attacker to gain full control of affected systems. While this driver is not typically enabled on production servers, any system that builds and loads CONFIG_VIDEO_VICODEC-including development and test environments-is at risk. Leadership should care because exploitation could lead to data breaches and system compromise, but current exposure is limited and no public exploit exists.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 72% exploitable
Prevalence
Low
vicodec is a virtual/test V4L2 codec driver, rarely enabled in production
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy