An issue has been found in libpng 1.6.34. It is a SEGV in the function png_free_data in png.c, related to the recommended error handling for png_read_image. References: https://github.com/glennrp/libpng/issues/238 https://github.com/fouzhe/security/tree/master/libpng
Created libpng tracking bugs for this issue: Affects: fedora-all [bug 1608074] Created libpng10 tracking bugs for this issue: Affects: epel-6 [bug 1608082] Affects: fedora-all [bug 1608075] Created libpng12 tracking bugs for this issue: Affects: fedora-all [bug 1608076] Created libpng15 tracking bugs for this issue: Affects: fedora-all [bug 1608077] Created mingw-libpng tracking bugs for this issue: Affects: epel-7 [bug 1608080] Affects: fedora-all [bug 1608078]
Statement: This issue did not affect the versions of libpng as shipped with Red Hat Enterprise Linux 5, 6 and 7 as they did not include the vulnerable code.
This seems to be an intersection bug - the way pngwriter uses libpng can cause a segmentation fault. Using libpng alone, the issue has not been observed. We do not ship pngwriter in any Red Hat product.
Closing as per comment 5.
Sorry, my bad, disregard the previous comment.
rhel9 notaffected per https://github.com/glennrp/libpng/issues/238#issuecomment-483107600: The fix is in the master branch and in the public release libpng-1.6.37.