<?xml version="1.0" encoding="utf-8"?>
  <?xml-stylesheet type="text/xsl" href="sa-render.xsl"?>
  <update from="huaweicloud.com" type="security" status="stable" version="1">
    <id>HCE2-SA-2026-0020</id>
    <title>An update for libpng is now available for HCE 2.0</title>
    <severity>Important</severity>
    <release>HCE 2.0</release>
    <issued date="2026-03-02 12:00:43"/>
    <updated date="2026-03-02 12:00:43"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-64506" id="CVE-2025-64506" title="CVE-2025-64506 Base Score: 6.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-64505" id="CVE-2025-64505" title="CVE-2025-64505 Base Score: 6.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-66293" id="CVE-2025-66293" title="CVE-2025-66293 Base Score: 7.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-64720" id="CVE-2025-64720" title="CVE-2025-64720 Base Score: 7.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-65018" id="CVE-2025-65018" title="CVE-2025-65018 Base Score: 7.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H" type="cve"/>
    </references>
    <description>Security Fix(es):

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_x27;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. (CVE-2025-64506)

LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. Prior to version 1.6.51, a heap buffer over-read vulnerability exists in libpng_x27;s png_do_quantize function when processing PNG files with malformed palette indices. The vulnerability occurs when palette_lookup array bounds are not validated against externally-supplied image data, allowing an attacker to craft a PNG file with out-of-range palette indices that trigger out-of-bounds memory access. This issue has been patched in version 1.6.51. (CVE-2025-64505)

LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. Prior to 1.6.52, an out-of-bounds read vulnerability in libpng_x27;s simplified API allows reading up to 1012 bytes beyond the png_sRGB_base[512] array when processing valid palette PNG images with partial transparency and gamma correction. The PNG files that trigger this vulnerability are valid per the PNG specification; the bug is in libpng_x27;s internal state management. Upgrade to libpng 1.6.52 or later. (CVE-2025-66293)

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. (CVE-2025-64720)

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, there is a heap buffer overflow vulnerability in the libpng simplified API function png_image_finish_read when processing 16-bit interlaced PNGs with 8-bit output format. Attacker-crafted interlaced PNG files cause heap writes beyond allocated buffer bounds. This issue has been patched in version 1.6.51. (CVE-2025-65018)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="libpng">
        <name>HCE 2.0</name>
        <package arch="x86_64" name="libpng" version="1.6.37" release="2.r3.hce2">
          <filename>libpng-1.6.37-2.r3.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="libpng-devel" version="1.6.37" release="2.r3.hce2">
          <filename>libpng-devel-1.6.37-2.r3.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="libpng-help" version="1.6.37" release="2.r3.hce2">
          <filename>libpng-help-1.6.37-2.r3.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="libpng-static" version="1.6.37" release="2.r3.hce2">
          <filename>libpng-static-1.6.37-2.r3.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="libpng-tools" version="1.6.37" release="2.r3.hce2">
          <filename>libpng-tools-1.6.37-2.r3.hce2.x86_64.rpm</filename>
        </package>
        <package arch="aarch64" name="libpng" version="1.6.37" release="2.r3.hce2">
          <filename>libpng-1.6.37-2.r3.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="libpng-devel" version="1.6.37" release="2.r3.hce2">
          <filename>libpng-devel-1.6.37-2.r3.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="libpng-help" version="1.6.37" release="2.r3.hce2">
          <filename>libpng-help-1.6.37-2.r3.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="libpng-static" version="1.6.37" release="2.r3.hce2">
          <filename>libpng-static-1.6.37-2.r3.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="libpng-tools" version="1.6.37" release="2.r3.hce2">
          <filename>libpng-tools-1.6.37-2.r3.hce2.aarch64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
