Description
The decode_ihdr_chunk function in libavcodec/pngdec.c in FFMpeg before 2.1.6, 2.2.x through 2.3.x, and 2.4.x before 2.4.4 allows remote attackers to cause a denial of service (out-of-bounds heap access) and possibly have other unspecified impact via an IDAT before an IHDR in a PNG 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 | 2.4.4-1 | — |
| Debian 13 | ffmpeg | 2.4.4-1 | — |
| Debian 12 | ffmpeg | 2.4.4-1 | — |
| Debian 8 | libav | 6:11.12-1~deb8u2 | DLA-1611-1 |
Advisories 1
- DLA-1611-1 libav - security update Debian Security (DSA / DLA) · Mar 9, 2026