CVE-2026-25646: LIBPNG - Out-of-Bounds Read
- Cve: CVE-2026-25646
- Name: LIBPNG - Out-of-Bounds Read
- 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.
- Impact: Attackers can cause an infinite loop and out-of-bounds memory read, potentially leading to denial of service or information disclosure.
- Remediation: Update to version 1.6.55 or later.
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: denial_of_service, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.1
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.0112
- Epss percentile: 0.67018
- Assignee: [email protected]
- Published at: 2026-02-10T18:16:37Z
- Age in days: 287
- Modified at: 2026-08-11T13:17:59Z
- Patch available: yes
- Public exploits total: 1
- References total: 51
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-25646
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-122 | Heap-based Buffer Overflow |
| CWE-125 | Out-of-bounds Read |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/pnggroup/libpng/security/advisories/GHSA-g8hp-mq4h-rqm3 | nvd | 2026-02-10 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| libpng:libpng | < 1.6.55 | no | nvd | /v1/products/libpng/libpng |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| pnggroup/libpng | commit, fix, security_advisory | yes | /v1/repositories/pnggroup/libpng |
Index
- Repositories: 3021
- Repositories high signal: 1865
- Checked, none or zero: packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-02-10
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts