Description
The decode_ihdr_chunk function in libavcodec/pngdec.c in FFmpeg before 2.7.2 does not enforce uniqueness of the IHDR (aka image header) chunk in a PNG image, which allows remote attackers to cause a denial of service (out-of-bounds array access) or possibly have unspecified other impact via a crafted image with two or more of these chunks.
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:2.7.2-1 | — |
| Debian 13 | ffmpeg | 7:2.7.2-1 | — |
| Debian 12 | ffmpeg | 7:2.7.2-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