Skip to main content
VulnerabilityPublished

CVE-2026-139041: Linux kernel · media: vicodec: make encoder CAPTURE dimensions read-only

Affects Linux kernelSource CVE Database V5

0
Compare

Not known to be exploited · fixed in f4bb5d4f446b6ae00a954003a0d9b7797a1b4197 : update Linux kernel when convenient.

Data as of 30 Nov 2026, 14:00 UTC

Severity
Unrated

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in f4bb5d4f446b6ae00a954003a0d9b7797a1b4197, ae0ced91c40cbe86a5f5fc196f02df6d85aee77d, 2532e9d2f8ccb330a9c924b1ee34c5629240d352 +5

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ efec9c815e5da15fe671fe7b3a0ea5575067b4b5, < f4bb5d4f446b6ae00a954003a0d9b7797a1b4197
Fixed in
  • f4bb5d4f446b6ae00a954003a0d9b7797a1b4197
LinuxLinuxAffected
  • ≥ efec9c815e5da15fe671fe7b3a0ea5575067b4b5, < ae0ced91c40cbe86a5f5fc196f02df6d85aee77d
Fixed in
  • ae0ced91c40cbe86a5f5fc196f02df6d85aee77d
LinuxLinuxAffected
  • ≥ efec9c815e5da15fe671fe7b3a0ea5575067b4b5, < 2532e9d2f8ccb330a9c924b1ee34c5629240d352
Fixed in
  • 2532e9d2f8ccb330a9c924b1ee34c5629240d352
LinuxLinuxAffected
  • ≥ efec9c815e5da15fe671fe7b3a0ea5575067b4b5, < 2373c6da34cd39ba58b3c1cf87cd32752bfa1612
Fixed in
  • 2373c6da34cd39ba58b3c1cf87cd32752bfa1612
LinuxLinuxAffected
  • ≥ efec9c815e5da15fe671fe7b3a0ea5575067b4b5, < 72b9c63beb0151c917bdc538daaefb636f442b17
Fixed in
  • 72b9c63beb0151c917bdc538daaefb636f442b17
LinuxLinuxAffected
  • ≥ efec9c815e5da15fe671fe7b3a0ea5575067b4b5, < 69ae6d7be0d67ecdedbea49a658d284cb6035495
Fixed in
  • 69ae6d7be0d67ecdedbea49a658d284cb6035495

Description

In the Linux kernel, the following vulnerability has been resolved: media: vicodec: make encoder CAPTURE dimensions read-only Setting the encoder's compressed CAPTURE format to a smaller resolution than the raw OUTPUT format makes the encoder write past the end of the CAPTURE buffer. For a stateful encoder the CAPTURE width and height are not client-settable; Documentation/userspace-api/media/v4l/dev-encoder.rst specifies them as "ignored (read-only)" on VIDIOC_S_FMT. vicodec only implements half of that: vidioc_s_fmt_vid_out() derives the CAPTURE coded size and sizeimage from the OUTPUT format, but S_FMT on the CAPTURE queue overwrites them. The encoder then takes its geometry from the OUTPUT queue alone, and v4l2_fwht_encode() gets no destination length. Overwrite the requested width and height with the OUTPUT queue's coded dimensions in vidioc_try_fmt_vid_cap(), making them read-only as the interface requires.

References

Community reviews

Loading reviews…