Description
A null pointer dereference issue was discovered in 'FFmpeg' in decode_main_header() function of libavformat/nutdec.c file. The flaw occurs because the function lacks check of the return value of avformat_new_stream() and triggers the null pointer dereference error, causing an application to crash.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | FFmpeg | Fixed-in ffmpeg 5.1 | — |
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:5.1-1 | — |
| Debian 13 | ffmpeg | 7:5.1-1 | — |
| Debian 12 | ffmpeg | 7:5.1-1 | — |
| Debian 11 | ffmpeg | 7:4.3.6-0+deb11u1 | DSA-5394-1 |
| Debian 10 | ffmpeg | 7:4.1.11-0+deb10u1 | DLA-3454-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | ffmpeg | 7:4.4.2-0ubuntu0.22.04.1+esm1 | USN-5958-1 |
| Ubuntu Pro 20.04 LTS | ffmpeg | 7:4.2.7-0ubuntu0.1+esm1 | USN-5958-1 |
| Ubuntu Pro 18.04 LTS | ffmpeg | 7:3.4.11-0ubuntu0.1+esm1 | USN-5958-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | ffmpeg | 7:2.8.17-0ubuntu0.1+esm5 | USN-5958-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | ffmpeg | 3.4.2-150200.11.25.1 | SUSE-SU-2023:0206-1 |
| SLES 15 SP4 | ffmpeg-4 | 4.4-150400.3.11.1 | SUSE-SU-2023:0172-1 |
| SLES 15 SP1 | ffmpeg | 3.4.2-150000.4.53.2 | SUSE-SU-2023:2115-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP1 | ffmpeg | 3.4.2-150000.4.53.2 | SUSE-SU-2023:2115-1 |
| SLE Real Time 15 SP3 | ffmpeg | 3.4.2-150200.11.25.1 | SUSE-SU-2023:0206-1 |
| SLE HPC 15 SP1 | ffmpeg | 3.4.2-150000.4.53.2 | SUSE-SU-2023:2115-1 |
| SUSE Enterprise Storage 6 | ffmpeg | 3.4.2-150000.4.53.2 | SUSE-SU-2023:2115-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ffmpeg-4 | 4.4.3-4.1 | openSUSE-SU-2024:12636-1 |
| openSUSE Leap 15.4 | ffmpeg | 3.4.2-150200.11.25.1 | SUSE-SU-2023:0206-1 |
| openSUSE Leap 15.4 | ffmpeg-4 | 4.4-150400.3.11.1 | SUSE-SU-2023:0172-1 |
Advisories 8
- USN-5958-1 ffmpeg vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- DSA-5394-1 ffmpeg - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3454-1 ffmpeg - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2023:2115-1 Security update for ffmpeg SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0172-1 Security update for ffmpeg-4 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12636-1 ffmpeg-4-4.4.3-4.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0206-1 Security update for ffmpeg SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-0001 ffmpeg: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Jun 13, 2023