Description
libavcodec/hevcdec.c in FFmpeg 3.4 and 4.1.2 mishandles detection of duplicate first slices, which allows remote attackers to cause a denial of service (NULL pointer dereference and out-of-array access) or possibly have unspecified other impact via crafted HEVC data.
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:4.1.3-1 | — |
| Debian 13 | ffmpeg | 7:4.1.3-1 | — |
| Debian 12 | ffmpeg | 7:4.1.3-1 | — |
| Debian 9 | ffmpeg | 7:3.2.14-1~deb9u1 | DSA-4449-1 |
| Debian 8 | libav | 6:11.12-1~deb8u7 | DLA-1809-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | ffmpeg | 7:4.2.4-1ubuntu0.1 | USN-4431-1 |
| Ubuntu 18.04 LTS | ffmpeg | 7:3.4.6-0ubuntu0.18.04.1 | USN-4431-1, USN-3967-1 |
| Ubuntu 16.04 LTS | ffmpeg | 7:2.8.17-0ubuntu0.1 | USN-4431-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP1 | ffmpeg-4 | 4.2.1-bp151.5.3.1 | openSUSE-SU-2020:0024-1 |
| SUSE Package Hub 15 | ffmpeg-4 | 4.2.1-bp151.5.3.1 | openSUSE-SU-2020:0024-1 |
| SUSE Package Hub 12 SP2 | ffmpeg-4 | 4.2.1-bp151.5.3.1 | openSUSE-SU-2020:0024-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ffmpeg-4 | 4.4-5.2 | openSUSE-SU-2024:10754-1 |
| openSUSE Leap 15.1 | ffmpeg-4 | 4.2.1-bp151.5.3.1 | openSUSE-SU-2020:0024-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | ffmpeg | 4.1.3-r0 | — |
| Alpine v3.23 | ffmpeg | 4.1.3-r0 | — |
| Alpine v3.22 | ffmpeg +1 | 4.1.3-r0 | — |
| Alpine v3.21 | ffmpeg +1 | 4.1.3-r0 | — |
| Alpine v3.20 | ffmpeg +1 | 4.1.3-r0 | — |
Show 11 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | ffmpeg +1 | 4.1.3-r0 | — |
| Alpine v3.18 | ffmpeg +1 | 4.1.3-r0 | — |
| Alpine v3.17 | ffmpeg +1 | 4.1.3-r0 | — |
| Alpine v3.16 | ffmpeg +1 | 4.1.3-r0 | — |
| Alpine v3.15 | ffmpeg | 4.1.3-r0 | — |
| Alpine v3.14 | ffmpeg | 4.1.3-r0 | — |
| Alpine v3.13 | ffmpeg | 4.1.3-r0 | — |
| Alpine v3.12 | ffmpeg | 4.1.3-r0 | — |
| Alpine v3.11 | ffmpeg | 4.1.3-r0 | — |
| Alpine v3.10 | ffmpeg | 4.1.3-r0 | — |
| Alpine v3.8 | ffmpeg | 3.4.6-r0 | — |
Advisories 6
- USN-4431-1 ffmpeg vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- USN-3967-1 FFmpeg vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4449-1 ffmpeg - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1809-1 libav - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2020:0024-1 Security update for ffmpeg-4 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10754-1 ffmpeg-4-4.4-5.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/FFmpeg/FFmpeg/commit/54655623a82632e7624714d7b2a3e039dc5faa7e
- 108034 vdb-entry
- USN-3967-1 vendor-advisory
- 20190523 [SECURITY] [DSA 4449-1] ffmpeg security update mailing-list
- DSA-4449 vendor-advisory
- [debian-lts-announce] 20190529 [SECURITY] [DLA 1809-1] libav security update mailing-list
- openSUSE-SU-2020:0024 vendor-advisory
- USN-4431-1 vendor-advisory
- https://github.com/FFmpeg/FFmpeg/commit/9ccc633068c6fe76989f487c8932bd11886ad65b