CVE-2026-138905
media: vicodec: fix NULL deref on oversized frame
No exploitation reported by the sources we read.
- Published2026-11-30
- Fixed in7.3.4 · 6.18.63 · 6.12.117 · 6.6.163 · 6.1.193 · 5.15.226
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-11-3013:26CVE publishedCNA
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.3 | ≥ 6.19.0, < 7.3.4 | 7.3.4 | OSV |
| 6.x | ≥ 6.13.0, < 6.18.63 | 6.18.63 | OSV |
| 6.x | ≥ 6.7.0, < 6.12.117 | 6.12.117 | OSV |
| 6.x | ≥ 6.2.0, < 6.6.163 | 6.6.163 | OSV |
| 6.1 | ≥ 5.16.0, < 6.1.193 | 6.1.193 | OSV |
| 5.x | ≥ 5.11.0, < 5.15.226 | 5.15.226 | OSV |
| 5.x | ≥ 5.1.0, < 5.10.275 | 5.10.275 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA2 products
As Linux, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Linuxother versions: not affected
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Affected- ≥ 3b15f68e19c28a76d175f61943a8c23224afce93, < ed06bca3414b045dd29a0a5ca65e64e83e0b5373fixed in ed06bca3414b045dd29a0a5ca65e64e83e0b5373git
- ≥ 3b15f68e19c28a76d175f61943a8c23224afce93, < 7347bd55fdc61db467400439a038a38ff69bc041fixed in 7347bd55fdc61db467400439a038a38ff69bc041git
- ≥ 3b15f68e19c28a76d175f61943a8c23224afce93, < 5dfb45a44264484dd6cdb82c8e9bdefd4d091842fixed in 5dfb45a44264484dd6cdb82c8e9bdefd4d091842git
- ≥ 3b15f68e19c28a76d175f61943a8c23224afce93, < 8a2486fbd2fb552a89adbfe7bd4e4437f9bdb1f7fixed in 8a2486fbd2fb552a89adbfe7bd4e4437f9bdb1f7git
- ≥ 3b15f68e19c28a76d175f61943a8c23224afce93, < 563dfdc969c1bf63e4ace17a53aaaedd59595a01fixed in 563dfdc969c1bf63e4ace17a53aaaedd59595a01git
- ≥ 3b15f68e19c28a76d175f61943a8c23224afce93, < 855012e5e1bb64b7f7e50422c02b2ebdcd872657fixed in 855012e5e1bb64b7f7e50422c02b2ebdcd872657git
- ≥ 3b15f68e19c28a76d175f61943a8c23224afce93, < b6f62366bc014a3a20fa0a3c42e51cadd198fb41fixed in b6f62366bc014a3a20fa0a3c42e51cadd198fb41git
- ≥ 3b15f68e19c28a76d175f61943a8c23224afce93, < c657eb609197e289b054bc2c4e86a0fc32dd7ebefixed in c657eb609197e289b054bc2c4e86a0fc32dd7ebegit
- Linuxother versions: affected
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Affected- = 5.1no fix stated
Not affected < 5.1 · ≥ 5.10.275, ≤ 5.10.* · ≥ 5.15.226, ≤ 5.15.* · ≥ 6.1.193, ≤ 6.1.* · ≥ 6.6.163, ≤ 6.6.* · ≥ 6.12.117, ≤ 6.12.* · ≥ 6.18.63, ≤ 6.18.*
2 more version lines in the CVE record.
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-11-30
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- linuxDebian:14all versions · fixed in 7.3.4-1
- linuxDebian:13all versions · fixed in 6.12.117-1
- linuxDebian:12all versions · no fixed version listed
Fix
- Update Linux kernel to 7.3.4 · 6.18.63 · 6.12.117 · 6.6.163 · 6.1.193 · 5.15.226 · 5.10.275
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-01
- Metasploit modules
- none listed Metasploit Framework
Sources
Identifiers
- EUVD-2026-138608same flawENISA EUVD · LicenseRef-ENISA-legal-notice
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 2026-11-30
- Last modified
- 2026-11-30
- NVD status
- Received
Frequently asked questions
What is CVE-2026-138905?
Is CVE-2026-138905 actively exploited?
What is the CVSS score for CVE-2026-138905?
Running Linux kernel? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served