ZeroDay Brief
Happy holidays from ZeroDay Brief!
CVE-2026-138905

In the Linux kernel, the following vulnerability has been resolved: media: vicodec: fix NULL deref on oversized frame job_ready() only honours the is_header_valid() verdict when ctx->comp_has_frame i…

CVSS
7.8High
Chance of exploitation (EPSS)
0.19%
Published
Nov 30, 2026
In the news
Not yet
More from this vendor

What to do

A serious security flaw in Linux that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Affected versions
Linux
5.1

Description

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

media: vicodec: fix NULL deref on oversized frame

job_ready() only honours the is_header_valid() verdict when
ctx->comp_has_frame is set, and comp_has_frame is only set once
comp_size reaches the full frame size. Since the copy is clamped to
ctx->comp_max_size, a header advertising a larger size leaves comp_size
stuck at comp_max_size, so comp_has_frame stays false and the failed
validation is discarded.

Control then falls into the resolution change branch, which calls
update_capture_data_from_header(). That function re-derives info via
info_from_header(), assigns it to q_dst->info and dereferences it as
q_dst->info->sizeimage_mult, with no NULL check of its own.
is_header_valid() does check that same info_from_header() result --
if (!info) return false which is precisely the false verdict
job_ready() discarded above. info_from_header() returns NULL whenever the
header flags resolve to no supported pixel format.

Drop the comp_has_frame conjunct so an invalid header always bails out.
The resolution change path is unaffected, as it is entered with a valid
header. Oversized frames are then rejected by device_process(), which
already returns -EINVAL when comp_frame_size exceeds comp_max_size.

Affected products

Get alerts for these →

Timeline 2

Latest change: Nessus plugin 389531: Linux Distros Unpatched Vulnerability : CVE-2026-138905 (Dec 1, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Mon, Nov 30, 2026

  1. CVECVE-2026-138905 published (CVSS 7.8)CVE Program · 14:17 UTC

References 8

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”