Name | CVE-2018-13785 |
Description | In libpng 1.6.34, a wrong calculation of row_factor in the png_check_chunk_length function (pngrutil.c) may trigger an integer overflow and resultant divide-by-zero while processing a crafted PNG file, leading to a denial of service. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 903430 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libpng1.6 (PTS) | stretch (security), stretch (lts), stretch | 1.6.28-1+deb9u1 | fixed |
| buster | 1.6.36-6 | fixed |
| bullseye | 1.6.37-3 | fixed |
| bookworm | 1.6.39-2 | fixed |
| sid, trixie | 1.6.44-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
libpng1.6 | source | stretch | (not affected) | | | |
libpng1.6 | source | (unstable) | 1.6.34-2 | | | 903430 |
Notes
[stretch] - libpng1.6 <not-affected> (Issue with wrong calculation of row_factor introduced after 1.6.32beta08)
https://github.com/glennrp/libpng/commit/8a05766cb74af05c04c53e6c9d60c13fc4d59bf2
https://sourceforge.net/p/libpng/bugs/278/