Description
The avi_read_header function in libavformat/avidec.c in FFmpeg before 3.1.4 is vulnerable to memory leak when decoding an AVI file that has a crafted "strh" structure.
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.1.4-1 | — |
| Debian 13 | ffmpeg | 7:3.1.4-1 | — |
| Debian 12 | ffmpeg | 7:3.1.4-1 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 12 SP1 | ffmpeg | 2.8.8-6.1 | openSUSE-SU-2016:2560-1, openSUSE-SU-2016:2556-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.4 | ffmpeg | 3.0.7-r0 | — |
Advisories 2
- openSUSE-SU-2016:2556-1 Security update for ffmpeg SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2016:2560-1 Security update for ffmpeg SUSE / openSUSE Security Updates · Feb 4, 2026