Description
png_create_info_struct in png.c in libpng 1.6.36 has a memory leak, as demonstrated by pngcp. NOTE: a third party has stated "I don't think it is libpng's job to free this buffer.
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 | libpng1.6 | 1.6.39-1 | — |
| Debian 13 | libpng1.6 | 1.6.39-1 | — |
| Debian 12 | libpng1.6 | 1.6.39-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | libpng1.6 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | libpng +1 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | libpng | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libpng16 | 1.6.40-2.1 | openSUSE-SU-2024:13577-1 |
Advisories 2
- WID-SEC-2025-0149 Oracle Java SE: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 22, 2026
- openSUSE-SU-2024:13577-1 libpng16-16-1.6.40-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026