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 version 1.6.0 to before 1.6.51, an out-of-bounds read vulnerability exists in png_image_read_composite when processing palette images with PNG_FLAG_OPTIMIZE_ALPHA enabled. The palette compositing code in png_init_read_transformations incorrectly applies background compositing during premultiplication, violating the invariant component ≤ alpha × 257 required by the simplified PNG API. This issue has been patched in version 1.6.51.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
rpm rhel8 | 1:17.0.18.0.8-1.el8 | ||
rpm rhel10 | 1:21.0.10.0.7-1.el10 | ||
rpm rhel8 | 1:21.0.10.0.7-1.el8 | ||
rpm rhel9 | 1:21.0.10.0.7-1.el9 | ||
rpm rhel8 | 2:1.6.34-9.el8_10 | ||
rpm rhel8.4 | 2:1.6.34-8.el8_4.1 | ||
rpm rhel9 | 2:1.6.37-12.el9_7.1 | ||
alpine v3.22 | 1.6.51-r0 | ||
debian 12 | 1.6.39-2+deb12u1 | ||
debian 13 | 1.6.48-1+deb13u1 |
1-10 of 27
10
Aliases
References