| Name | CVE-2025-25473 |
| Description | FFmpeg git master before commit c08d30 was discovered to contain a memory leak in the avformat_free_context function in libavutil/mem.c. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-6073-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| ffmpeg (PTS) | bullseye | 7:4.3.7-0+deb11u1 | fixed |
| bullseye (security) | 7:4.3.9-0+deb11u1 | fixed |
| bookworm | 7:5.1.7-0+deb12u1 | fixed |
| bookworm (security) | 7:5.1.8-0+deb12u1 | fixed |
| trixie | 7:7.1.2-0+deb13u1 | vulnerable |
| trixie (security) | 7:7.1.3-0+deb13u1 | fixed |
| forky, sid | 7:8.0.1-2 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| ffmpeg | source | bullseye | (not affected) | | | |
| ffmpeg | source | bookworm | (not affected) | | | |
| ffmpeg | source | trixie | 7:7.1.3-0+deb13u1 | | DSA-6073-1 | |
| ffmpeg | source | (unstable) | (unfixed) | | | |
Notes
[bookworm] - ffmpeg <not-affected> (Vulnerable code introduced later; ff_flush_packet_queue() is always called)
[bullseye] - ffmpeg <not-affected> (Vulnerable code introduced later; ff_flush_packet_queue() is always called)
https://trac.ffmpeg.org/ticket/11419
Fixed by: https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/c08d300481b8ebb846cd43a473988fdbc6793d1b