Out-of-bounds read In libpng
Description
LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. From 1.6.26 to 1.6.53, there is an integer truncation in the libpng simplified write API functions png_write_image_16bit and png_write_image_8bit causes heap buffer over-read when the caller provides a negative row stride (for bottom-up image layouts) or a stride exceeding 65535 bytes. The bug was introduced in libpng 1.6.26 (October 2016) by casts added to silence compiler warnings on 16-bit systems. This vulnerability is fixed in 1.6.54.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
rpm rhel10.0 | 1:21.0.11.0.10-1.el10_2 | ||
rpm rhel9.4 | 1:21.0.11.0.10-1.el9 | ||
alpine v3.23 | 1.6.54-r0 | ||
debian 12 | 1.6.39-2+deb12u2 | ||
debian 13 | 1.6.48-1+deb13u2 | ||
debian 14 | 1.6.54-1 | ||
alpine v3.20 | 1.6.54-r0 | ||
alpine v3.21 | 1.6.54-r0 | ||
alpine v3.22 | 1.6.54-r0 | ||
rpm rhel9 | 2:1.6.37-12.el9_7.2 |
1-10 of 33
10
Aliases