Description
Integer overflow in the ape_decode_frame function in libavcodec/apedec.c in FFmpeg 2.4 through 3.3.2 allows remote attackers to cause a denial of service (out-of-array access and application crash) or possibly have unspecified other impact via a crafted APE file.
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:3.3.3-1 | — |
| Debian 13 | ffmpeg | 7:3.3.3-1 | — |
| Debian 12 | ffmpeg | 7:3.3.3-1 | — |
| Debian 9 | ffmpeg | 7:3.2.7-1~deb9u1 | DSA-3957-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | ffmpeg | 7:2.8.14-0ubuntu0.16.04.1 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ffmpeg-4 | 4.4-5.2 | openSUSE-SU-2024:10754-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.6 | ffmpeg | 3.2.7-r0 | — |
| Alpine v3.5 | ffmpeg | 3.1.10-r0 | — |
| Alpine v3.4 | ffmpeg | 3.1.10-r0 | — |
Advisories 2
- DSA-3957-1 ffmpeg - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10754-1 ffmpeg-4-4.4-5.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026