Description
A vulnerability, which was classified as critical, was found in FFmpeg up to 5.1.5. This affects the function fill_audiodata of the file /libswresample/swresample.c. The manipulation leads to heap-based buffer overflow. It is possible to initiate the attack remotely. This issue was fixed in version 6.0 by 9903ba28c28ab18dc7b7b6fb8571cc8b5caae1a6 but a backport for 5.1 was forgotten. The exploit has been disclosed to the public and may be used. Upgrading to version 5.1.6 and 6.0 9903ba28c28ab18dc7b7b6fb8571cc8b5caae1a6 is able to address this issue. It is recommended to upgrade the affected component.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | FFmpeg | 5.1.0, 5.1.1, 5.1.2, 5.1.3, 5.1.4, 5.1.5 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ffmpeg | 7:6.0-4 | — |
| Debian 13 | ffmpeg | 7:6.0-4 | — |
| Debian 12 | ffmpeg | 7:5.1.6-0+deb12u1 | DSA-5748-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ffmpeg-5 | 5.1.4-11.1 | openSUSE-SU-2024:14290-1 |
Advisories 3
- DSA-5748-1 ffmpeg - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:14290-1 ffmpeg-5-5.1.4-11.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-1760 ffmpeg: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Oct 15, 2025
References
- VDB-273945 | FFmpeg swresample.c fill_audiodata heap-based overflow vdb-entry technical-description
- VDB-273945 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- https://github.com/CookedMelon/ReportCVE/tree/main/FFmpeg/poc5 exploit
- https://github.com/CookedMelon/ReportCVE/tree/main/FFmpeg/poc6 exploit
- https://ffmpeg.org/ product