# CVE-2026-89724: media: vicodec: fix out-of-bounds write in FWHT encoder

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-09-11T19:46:35.914Z
- **Modified:** 2026-10-19T09:18:13.167Z

## Who should check

- Anyone running Linux \>= 16ecf6dff97ce0194a7126e26159492668d47a7e, \< f7ae26c100a6c26c2a166d2c41e73188067b36bd; \>= 16ecf6dff97ce0194a7126e26159492668d47a7e, \< 6ea647e76c44387d5c1c635df4604c2154d9060e; \>= 16ecf6dff97ce0194a7126e26159492668d47a7e, \< d40838a63f2bd6a3df0a6cdd8ff1d5c6366e8fff; \>= 16ecf6dff97ce0194a7126e26159492668d47a7e, \< e21cccc29b840930cd9dcfdf1139658063a681af; \>= 16ecf6dff97ce0194a7126e26159492668d47a7e, \< 84cfebf7f4229d748cca8eb9c4e1f1c4099d3ab7; \>= 16ecf6dff97ce0194a7126e26159492668d47a7e, \< 8c14472431e27f13661d0db9d837156eaced0ecb; \>= 16ecf6dff97ce0194a7126e26159492668d47a7e, \< b95315ffc66b39856396c1043618bb4e4d5785ba; \>= 16ecf6dff97ce0194a7126e26159492668d47a7e, \< cf4500ebf6fb57bf4ab83c3dd349a40257dbe2a9
- Anyone running Linux 5.0

## Description

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

media: vicodec: fix out-of-bounds write in FWHT encoder

vidioc\_s\_fmt\_vid\_out() sizes the encoder CAPTURE buffer from the
compressed descriptor pixfmt\_fwht, whose sizeimage\_mult is 3:
coded\_w \* coded\_h \* 3 + sizeof(struct fwht\_cframe\_hdr). fwht\_encode\_frame()
encodes one plane per component, and an incompressible plane takes the
FWHT\_FRAME\_UNENCODED path in encode\_plane(), copying the plane verbatim.

For a 4-component pixel format all four planes are full resolution
(width\_div == height\_div == 1), so a frame that forces every plane
through the unencoded fallback writes
sizeof(struct fwht\_cframe\_hdr) + 4 \* coded\_w \* coded\_h bytes, overrunning
the plane by coded\_w \* coded\_h, which can result in corruption
of adjacent kernel heap memory.

Bump pixfmt\_fwht.sizeimage\_mult from 3 to 4, matching the largest
components\_num among the supported raw formats, so the capture buffer is
always large enough for the unencoded fallback.

## Affected and fixed versions

- Linux: \>= 16ecf6dff97ce0194a7126e26159492668d47a7e, \< f7ae26c100a6c26c2a166d2c41e73188067b36bd; \>= 16ecf6dff97ce0194a7126e26159492668d47a7e, \< 6ea647e76c44387d5c1c635df4604c2154d9060e; \>= 16ecf6dff97ce0194a7126e26159492668d47a7e, \< d40838a63f2bd6a3df0a6cdd8ff1d5c6366e8fff; \>= 16ecf6dff97ce0194a7126e26159492668d47a7e, \< e21cccc29b840930cd9dcfdf1139658063a681af; \>= 16ecf6dff97ce0194a7126e26159492668d47a7e, \< 84cfebf7f4229d748cca8eb9c4e1f1c4099d3ab7; \>= 16ecf6dff97ce0194a7126e26159492668d47a7e, \< 8c14472431e27f13661d0db9d837156eaced0ecb; \>= 16ecf6dff97ce0194a7126e26159492668d47a7e, \< b95315ffc66b39856396c1043618bb4e4d5785ba; \>= 16ecf6dff97ce0194a7126e26159492668d47a7e, \< cf4500ebf6fb57bf4ab83c3dd349a40257dbe2a9 (cvelist)
- Linux: 5.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89724. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89724.md
Affected: Linux >= 16ecf6dff97ce0194a7126e26159492668d47a7e, < f7ae26c100a6c26c2a166d2c41e73188067b36bd; >= 16ecf6dff97ce0194a7126e26159492668d47a7e, < 6ea647e76c44387d5c1c635df4604c2154d9060e; >= 16ecf6dff97ce0194a7126e26159492668d47a7e, < d40838a63f2bd6a3df0a6cdd8ff1d5c6366e8fff; >= 16ecf6dff97ce0194a7126e…
Fixed in: Linux 6ea647e76c44387d5c1c635df4604c2154d9060e, Linux 84cfebf7f4229d748cca8eb9c4e1f1c4099d3ab7, Linux 8c14472431e27f13661d0db9d837156eaced0ecb

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89724 being exploited?

There is no confirmed exploitation: CVE-2026-89724 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89724?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-89724?

Linux \>= 16ecf6dff97ce0194a7126e26159492668d47a7e, \< f7ae26c100a6c26c2a166d2c41e73188067b36bd; \>= 16ecf6dff97ce0194a7126e26159492668d47a7e, \< 6ea647e76c44387d5c1c635df4604c2154d9060e; \>= 16ecf6dff97ce0194a7126e26159492668d47a7e, \< d40838a63f2bd6a3df0a6cdd8ff1d5c6366e8fff; \>= 16ecf6dff97ce0194a7126e26159492668d47a7e, \< e21cccc29b840930cd9dcfdf1139658063a681af; \>= 16ecf6dff97ce0194a7126e26159492668d47a7e, \< 84cfebf7f4229d748cca8eb9c4e1f1c4099d3ab7; \>= 16ecf6dff97ce0194a7126e26159492668d47a7e, \< 8c14472431e27f13661d0db9d837156eaced0ecb; \>= 16ecf6dff97ce0194a7126e26159492668d47a7e, \< b95315ffc66b39856396c1043618bb4e4d5785ba; \>= 16ecf6dff97ce0194a7126e26159492668d47a7e, \< cf4500ebf6fb57bf4ab83c3dd349a40257dbe2a9; Linux 5.0.

### Is there a fix for CVE-2026-89724?

Yes. Fixed in Linux 6ea647e76c44387d5c1c635df4604c2154d9060e, Linux 84cfebf7f4229d748cca8eb9c4e1f1c4099d3ab7, Linux 8c14472431e27f13661d0db9d837156eaced0ecb. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-89724?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/f7ae26c100a6c26c2a166d2c41e73188067b36bd>
- other: <https://git.kernel.org/stable/c/6ea647e76c44387d5c1c635df4604c2154d9060e>
- other: <https://git.kernel.org/stable/c/d40838a63f2bd6a3df0a6cdd8ff1d5c6366e8fff>
- other: <https://git.kernel.org/stable/c/e21cccc29b840930cd9dcfdf1139658063a681af>
- other: <https://git.kernel.org/stable/c/84cfebf7f4229d748cca8eb9c4e1f1c4099d3ab7>
- other: <https://git.kernel.org/stable/c/8c14472431e27f13661d0db9d837156eaced0ecb>
- other: <https://git.kernel.org/stable/c/b95315ffc66b39856396c1043618bb4e4d5785ba>
- other: <https://git.kernel.org/stable/c/cf4500ebf6fb57bf4ab83c3dd349a40257dbe2a9>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89724>

HTML: <https://flawdb.com/CVE-2026-89724> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89724>
