Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local access to vicodec device node
-
DeliveryOpen codec and queue crafted frame
-
ExploitHeader advertises oversized frame, unsupported pixel format
-
Executioninfo_from_header() returns NULL, validation discarded
-
PersistNULL dereference in update_capture_data_from_header()
-
ImpactKernel crash / local denial of service
Vulnerability Assessment
| Exploitation Conditions | Requires the vicodec driver (CONFIG_VIDEO_VICODEC) to be built and loaded, and local access to its V4L2 device node (/dev/videoX), consistent with PR:L - this is a stateless/stateful codec test driver not enabled in most production kernels. The attacker must submit a crafted compressed-frame header that both advertises a frame size larger than comp_max_size (so comp_has_frame stays false and the failed header validation is discarded) and sets flags that resolve to no supported pixel format (so info_from_header() returns NULL). Limiting factors: no remote vector (AV:L), no code execution demonstrated (crash only), and exploitation is moot on systems where vicodec is absent or where the device node is not accessible to the attacker. |
| Impact | This is a local, low-privilege denial-of-service flaw in the Linux kernel's vicodec (virtual V4L2 codec) driver, not a remotely reachable or code-execution bug despite the headline 7.8 score. The supplied CVSS vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) is internally inconsistent with the described mechanism: the root cause is a NULL dereference (info_from_header() returning NULL when a crafted header's flags resolve to no supported pixel format, then dereferenced as q_dst->info->sizeimage_mult with no NULL check), which produces a kernel crash - an availability impact - not the confidentiality or integrity loss the vector's C:H/I:H assert. Treat the H/H/H impact as likely over-scored for a NULL-pointer oops; see assessed_cvss_vector below. The exploitation signals all point low: EPSS is 0.19% (9th percentile), there is no CISA KEV listing and no public exploit reference in the input, so this is no public exploit identified at time of analysis. The vendor priority label is this_week, consistent with a fixed, patch-available kernel bug that should be picked up in normal stable-update cadence rather than an emergency. Net: real but low-urgency, gated behind local access to a rarely-enabled test driver. |
| Exploit ScenarioDerived | A local user with access to the vicodec device node opens the stateless/stateful codec and submits a compressed frame whose header advertises an oversized frame size and flags that resolve to no supported pixel format. Because the oversized copy is clamped and comp_has_frame never becomes true, job_ready() discards the failed header validation and control reaches update_capture_data_from_header(), which dereferences the NULL info pointer and crashes the kernel. No public exploit code is referenced in the available data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Local, low-privilege users can crash the Linux kernel through the vicodec virtual V4L2 codec driver by submitting a crafted compressed-frame header: a header that advertises a frame larger than comp_max_size keeps comp_has_frame false, so job_ready() discards the failed is_header_valid() verdict and falls into the resolution-change branch, where update_capture_data_from_header() dereferences a NULL q_dst->info returned by info_from_header(). Only systems that build and load CONFIG_VIDEO_VICODEC and expose its /dev/videoX node to the attacker are affected, which rules out most production kernels; the impact is a kernel NULL-pointer dereference (availability only), and no public exploit was identified at time of analysis. EPSS is 0.19% (9th percentile), the flaw is not in CISA KEV, and vendor patches are released.
RemediationAI
Apply the vendor-released kernel updates that carry the fix: 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4 or 7.4-rc1, or cherry-pick the corresponding stable commit listed in the kernel.org references (for example 563dfdc969c1bf63e4ace17a53aaaedd59595a01). Systems that cannot update immediately can remove exposure by not building or not loading the vicodec module (blacklist vicodec / ensure CONFIG_VIDEO_VICODEC is not set) and by restricting access to the driver's /dev/videoX nodes to trusted users via ownership and permissions or a device cgroup policy; both measures fully remove the attack surface because the trigger requires opening the vicodec device node, at the cost of losing the virtual codec test functionality and any tooling that depends on it. Because the assessed impact is a kernel NULL-pointer dereference reachable only by local low-privilege users, systems where vicodec is absent or its nodes are not accessible to untrusted users need no urgent action; where the module is loaded and exposed, treat the update as a this-week priority.
Affected VersionsENISA
Affected Packages
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 (software-only) V4L2 driver used mainly as a codec test/reference implementation, exposing stateful and stateless codec device nodes; the vulnerable logic lives in the driver's job_ready() and the frame-header parsing helpers. is_header_valid() re-derives format information via info_from_header() and returns false when that result is NULL, i.e. when the header flags resolve to no supported pixel format. job_ready() only acted on that verdict when ctx->comp_has_frame was set, and comp_has_frame is set only once comp_size reaches the full declared frame size. Because the copy is clamped to ctx->comp_max_size, a header advertising a larger frame leaves comp_size pinned at comp_max_size, so comp_has_frame stays false and the invalid-header verdict is thrown away. Execution then enters the resolution-change path and calls update_capture_data_from_header(), which assigns the NULL info_from_header() result to q_dst->info and dereferences it as q_dst->info->sizeimage_mult without its own NULL check. The fix removes the comp_has_frame conjunct so an invalid header always bails out; the resolution-change path is unaffected because it is only entered with a valid header, and oversized frames are still rejected by device_process(), which already returns -EINVAL when comp_frame_size exceeds comp_max_size. The bug is a straightforward missing-NULL-check / discarded-validation-error issue rather than a memory-corruption primitive; the supplied assessment records only an availability impact.
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
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
A NULL-pointer dereference yields a kernel crash only, so C:N/I:N/A:H; local access to the vicodec device node gives AV:L and PR:L, and the crafted header is straightforward (AC:L).
Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).
CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Lifecycle Timeline
4DescriptionCVE.org
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.
Executive ViewAI
CVE-2026-138905 is a high-severity kernel crash vulnerability in the Linux vicodec virtual codec driver that can be triggered by any low-privilege local user with access to the device node. The primary business concern is reduced availability on systems where the driver is enabled, potentially causing downtime or service disruption.
Apply vendor patch.
Threat Intelligence Overview
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.
EUVD-2026-138608
GHSA-mfqp-crwm-2646
NVD
CVE.org
EPSS
Exploit-DB