8.3high
LIBPNG has a heap buffer overflow in png_set_quantize
- Severity
- 8.3high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.77% (higher than 52% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
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.55, an out-of-bounds read vulnerability exists in the png_set_quantize() API function. When the function is called with no histogram and the number of colors in the palette is more than twice the maximum supported by the user's display, certain palettes will cause the function to enter into an infinite loop that reads past the end of an internal heap-allocated buffer. The images that trigger this vulnerability are valid per the PNG specification. This vulnerability is fixed in 1.6.55.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| pnggroup libpng | < 1.6.55 | CVE List |
| libpng | Not specified Not affected: from 2:1.6.40-8.el10_1.2 before *, from 2:1.6.40-8.el10_0.2 before *, from 2:1.5.13-8.el7_9.2 before *, from 2:1.6.34-10.el8_10 before *, from 2:1.6.34-8.el8_2.2 before *, from 2:1.6.34-8.el8_4.2 before * | CVE List |
| libpng12 | Not specified Not affected: from 0:1.2.50-10.el7_9.1 before *, from 0:1.2.57-6.el8_10 before *, from 0:1.2.57-5.el8_2.1 before *, from 0:1.2.57-5.el8_4.1 before *, from 0:1.2.57-5.el8_6.1 before *, from 0:1.2.57-5.el8_8.1 before * | CVE List |
| libpng15 | Not specified Not affected: from 0:1.5.30-8.el8_10 before *, from 0:1.5.30-7.el8_2.1 before *, from 0:1.5.30-7.el8_4.1 before *, from 0:1.5.30-7.el8_6.1 before *, from 0:1.5.30-7.el8_8.1 before *, from 0:1.5.30-14.el9_7.1 before * | CVE List |
| mingw-libpng | Not specified Not affected: from 0:1.6.34-2.el8_10 before * | CVE List |
| rhcos | Not specified Not affected: from 412.86.202604281506-0 before *, from 413.92.202604080111-0 before *, from 414.92.202605060243-0 before *, from 415.92.202605060220-0 before *, from 416.94.202604211449-0 before *, from 417.94.202605112123-0 before * | CVE List |
| rhaiis/vllm-spyre-rhel9 | Not specified Not affected: from 1778244546 before * | CVE List |
| rhaiis/vllm-cuda-rhel9 | Not specified Not affected: from 1775680192 before * | CVE List |
| rhaiis/vllm-rocm-rhel9 | Not specified Not affected: from 1775680262 before * | CVE List |
| rhaiis/model-opt-cuda-rhel9 | Not specified Not affected: from 1775749857 before * | CVE List |
| rhceph/rhceph-8-rhel9 | Not specified Not affected: from 1774002867 before * | CVE List |
| discovery/discovery-ui-rhel9 | Not specified Not affected: from 1773273070 before * | CVE List |
| libpng-main | Not specified Not affected: from 1.6.56-1.hum1 before * | CVE List |
| java-11-openjdk | Not specified | CVE List |
| java-11-openjdk-portable | Not specified | CVE List |
| java-17-openjdk-portable | Not specified | CVE List |
| java-1.8.0-openjdk-portable | Not specified | CVE List |
| java-21-openjdk-portable | Not specified | CVE List |
| java-25-openjdk-portable | Not specified | CVE List |
| firefox | Not specified | CVE List |
| java-21-openjdk | Not specified | CVE List |
| java-25-openjdk | Not specified | CVE List |
| thunderbird | Not specified | CVE List |
| java-17-openjdk | Not specified | CVE List |
| java-1.8.0-openjdk | Not specified | CVE List |
| libpng libpng | before 1.6.55 | NVD |
All scores
| GitHub_M | 8.3high CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N |
| redhat-SADP | 7.0high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H |
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
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.55, an out-of-bounds read vulnerability exists in the png_set_quantize() API function. When the function is called with no histogram and the number of colors in the palette is more than twice the maximum supported by the user's display, certain palettes will cause the function to enter into an infinite loop that reads past the end of an internal heap-allocated buffer. The images that trigger this vulnerability are valid per the PNG specification. This vulnerability is fixed in 1.6.55.
NVD (es)
LIBPNG es una biblioteca de referencia para uso en aplicaciones que leen, crean y manipulan archivos de imagen ráster PNG (Portable Network Graphics). Antes de 1.6.55, existe una vulnerabilidad de lectura fuera de límites en la función API png_set_quantize(). Cuando se llama a la función sin histograma y el número de colores en la paleta es más del doble del máximo soportado por la pantalla del usuario, ciertas paletas harán que la función entre en un bucle infinito que lee más allá del final de un búfer interno asignado en el *heap*. Las imágenes que activan esta vulnerabilidad son válidas según la especificación PNG. Esta vulnerabilidad está corregida en 1.6.55.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-25646 changed 2026-09-01 | CVE Terms of Use |
| NVD | CVE-2026-25646 changed 2026-08-11 | Public domain |