CVE-2025-64720
BaseFortify
Publication date: 2025-11-25
Last updated on: 2025-11-26
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| libpng | libpng | From 1.6.0 (inc) to 1.6.51 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-125 | The product reads data past the end, or before the beginning, of the intended buffer. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is an out-of-bounds read in the LIBPNG library versions 1.6.0 to before 1.6.51. It occurs in the function png_image_read_composite when processing palette images with the PNG_FLAG_OPTIMIZE_ALPHA enabled. The issue arises because the palette compositing code incorrectly applies background compositing during premultiplication, violating an internal invariant required by the PNG API. This can cause the program to read memory outside the intended bounds.
How can this vulnerability impact me? :
This vulnerability can lead to an out-of-bounds read, which may cause application crashes or potentially expose sensitive memory contents. According to the CVSS score (7.1), it has a high impact on availability (causing crashes) and a low impact on confidentiality. It requires network attack vector with low complexity and no privileges but user interaction is required.
What immediate steps should I take to mitigate this vulnerability?
The immediate step to mitigate this vulnerability is to upgrade LIBPNG to version 1.6.51 or later, where the issue has been patched.