CVE-2025-59730

Publication date 6 October 2025

Last updated 16 October 2026


Ubuntu priority

Description

When decoding a frame for a SANM file (ANIM v0 variant), the decoded data can be larger than the buffer allocated for it. Frames encoded with codec 48 can specify their resolution (width x height). A buffer of appropriate size is allocated depending on the resolution. This codec can encode the frame contents using a run-length encoding algorithm. There are no checks that the decoded frame fits in the allocated buffer, leading to a heap-buffer-overflow. process_frame_obj initializes the buffers based on the frame resolution: We recommend upgrading to version 8.0 or beyond.

Read the notes from the security team

Status

Package Ubuntu Release Status
ffmpeg 26.10 stonking
Not affected
26.04 LTS resolute
Not affected
25.10 questing
Not affected
25.04 plucky Ignored end of life, was needs-triage
24.04 LTS noble
Not affected
22.04 LTS jammy
Not affected
20.04 LTS focal
Not affected
18.04 LTS bionic
Not affected
16.04 LTS xenial
Not affected
libav 26.10 stonking Not in release
26.04 LTS resolute Not in release
25.10 questing Not in release
25.04 plucky Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
14.04 LTS trusty
Needs evaluation

Notes


rodrigo-zaiden

Google Big Sleep identifier: BIGSLEEP-434637586

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
ffmpeg

Severity score breakdown

CVSS version: CVSS v4.0

Base score 5.7 · Medium

Vector: CVSS:4.0/AV:A/AC:H/AT:P/PR:L/UI:P/VC:L/VI:H/VA:N/SC:L/SI:H/SA:N


Access our resources on patching vulnerabilities