CVE-2025-25473

NameCVE-2025-25473
DescriptionFFmpeg git master before commit c08d30 was discovered to contain a memory leak in the avformat_free_context function in libavutil/mem.c.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-6073-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ffmpeg (PTS)bullseye7:4.3.7-0+deb11u1fixed
bullseye (security)7:4.3.9-0+deb11u1fixed
bookworm7:5.1.7-0+deb12u1fixed
bookworm (security)7:5.1.8-0+deb12u1fixed
trixie7:7.1.2-0+deb13u1vulnerable
trixie (security)7:7.1.3-0+deb13u1fixed
forky, sid7:8.0.1-2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ffmpegsourcebullseye(not affected)
ffmpegsourcebookworm(not affected)
ffmpegsourcetrixie7:7.1.3-0+deb13u1DSA-6073-1
ffmpegsource(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

Search for package or bug name: Reporting problems