5.7

CVE-2025-59730: Heap-buffer-overflow write in FFmpeg SANM decoding due to lack of bounds-checking in old_codec48

Deferred
AliasesUBUNTU-CVE-2025-59730DEBIAN-CVE-2025-59730CGA-24fw-q8v7-rj35
Published 06-10-2025Last modified 06-10-2025

Vulnerability summary

CVE-2025-59730 is a medium (CVSS 5.7) Out-of-bounds Write vulnerability in ffmpeg. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 5.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.7, adjacent network); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.7/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.16%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 06-10-2025
    PublishedVulnerability first disclosed.
  2. 06-10-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.16%

Chance of exploitation in the next 30 days

Percentile

6%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.16% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: adjacent network, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard24 products
  • eco-python-ffmpeg-6-minimalAll versions (No fix recorded)
  • eco-python-ffmpeg-6-minimal-devAll versions (No fix recorded)
  • eco-python-ffmpeg-6-minimal-staticAll versions (No fix recorded)
  • eco-python-ffmpeg-7-minimalAll versions (No fix recorded)
  • eco-python-ffmpeg-7-minimal-devAll versions (No fix recorded)
Wolfi2 products
  • ffmpeg-7All versions (No fix recorded)
  • ffmpeg-7.1All versions (No fix recorded)
Alpine1 product
  • ffmpeg< 8.0-r0
Debian1 product
  • ffmpegAll versions (No fix recorded)
Ffmpeg1 product
  • ffmpeg≥ 829680f96a7a7ff02d1543895ec0fb713309d5c0, < 8.0
Ubuntu1 product
  • libavAll versions (No fix recorded)

6 vendors · 30 products

References

8 links