CVE-2024-7272FFmpeg swresample.c fill_audiodata heap-based overflow
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Debian 14 | ffmpeg | Fixed | 7:6.0-4 | DEBIAN-CVE-2024-7272 |
| Debian 13 | ffmpeg | Fixed | 7:6.0-4 | DEBIAN-CVE-2024-7272 |
| Debian 12 | ffmpeg | Fixed | 7:5.1.6-0+deb12u1 | DEBIAN-CVE-2024-7272 |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- FFmpeg: affected: 5.1.0, 5.1.1, 5.1.2, 5.1.3, 5.1.4, 5.1.5
References
- https://vuldb.com/?id.273945
- https://vuldb.com/?ctiid.273945
- https://github.com/CookedMelon/ReportCVE/tree/main/FFmpeg/poc5
- https://github.com/CookedMelon/ReportCVE/tree/main/FFmpeg/poc6
- https://ffmpeg.org/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.