{"id":74252,"date":"2025-11-25T03:45:47","date_gmt":"2025-11-25T00:15:47","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-64506-libpng-is-vulnerable-to-a-heap-buffer-over-read-in-png_write_image_8bit-with-grayscalealpha-or-rgb-rgba-images\/"},"modified":"2025-11-25T03:45:47","modified_gmt":"2025-11-25T00:15:47","slug":"cve-2025-64506-libpng-is-vulnerable-to-a-heap-buffer-over-read-in-png_write_image_8bit-with-grayscalealpha-or-rgb-rgba-images","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-64506-libpng-is-vulnerable-to-a-heap-buffer-over-read-in-png_write_image_8bit-with-grayscalealpha-or-rgb-rgba-images\/","title":{"rendered":"CVE-2025-64506 &#8211; LIBPNG is vulnerable to a heap buffer over-read in `png_write_image_8bit` with grayscale+alpha or RGB\/RGBA images"},"content":{"rendered":"<p>CVE ID : CVE-2025-64506<\/p>\n<p>Published :  Nov. 25, 2025, 12:15 a.m. | 1\u00a0hour, 7\u00a0minutes ago<\/p>\n<p>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, a heap buffer over-read vulnerability exists in libpng&#8217;s png_write_image_8bit function when processing 8-bit images through the simplified write API with convert_to_8bit enabled. The vulnerability affects 8-bit grayscale+alpha, RGB\/RGBA, and images with incomplete row data. A conditional guard incorrectly allows 8-bit input to enter code expecting 16-bit input, causing reads up to 2 bytes beyond allocated buffer boundaries. This issue has been patched in version 1.6.51.<\/p>\n<p>Severity: 6.1 | MEDIUM<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-64506 Published : Nov. 25, 2025, 12:15 a.m. | 1\u00a0hour, 7\u00a0minutes ago 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, a heap buffer over-read vulnerability exists in libpng&#8217;s png_write_image_8bit function when &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-74252","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/74252","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=74252"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/74252\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=74252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=74252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=74252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}