CVE-2025-66293: LIBPNG has an out-of-bounds read in png_image_read_composite

Published Dec 3, 2025
·
Updated

LIBPNG has an out-of-bounds read in pngimagereadcomposite

Other sources

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's simplified API allows reading up to 1012 bytes beyond the pngsRGBbase[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's internal state management. Upgrade to libpng 1.6.52 or later.

NVD

Affected Software

12 affected componentsFixes available
libpng LIBPNG<1.6.52
Microsoft azl3 libpng 1.6.40-1
Microsoft cbl2 libpng 1.6.51-1
Microsoft cbl2 tensorflow 2.11.1-2
Microsoft cbl2 syslinux 6.04-10
Microsoft azl3 syslinux 6.04-11
Microsoft azl3 tensorflow 2.16.1-9
Microsoft azl3 qtbase 6.6.3-4
Microsoft cbl2 qt5-qtbase 5.12.11-18
libpng LIBPNG<1.6.52
Microsoft azl3 qtbase 6.6.3-4
Microsoft cbl2 qt5-qtbase 5.12.11-18

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade libpng to a version that resolves this vulnerability.

    Fixed in 1.6.52
  2. Upgrade

    Upgrade libpng to a version that resolves this vulnerability.

    Fixed in 1.6.52Patch CVE-2025-66293

Event History

Dec 3, 2025
CVE Published
via MITRE·08:33 PM
Data Sourced
via MITRE·08:33 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·09:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Dec 5, 2025
Data Sourced
via Microsoft·01:02 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·01:02 AM
SeverityAffected Software
Updated
via Microsoft·01:02 AM
Affected Software
Updated
via Microsoft·01:02 AM
DescriptionSeverity
Updated
via Microsoft·09:02 AM
DescriptionSeverity
Updated
via Microsoft·09:02 AM
SeverityAffected Software
Updated
via Microsoft·09:02 AM
Affected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-66293?

CVE-2025-66293 is categorized as a security vulnerability that allows an out-of-bounds read, potentially leading to information disclosure.

2

How do I fix CVE-2025-66293?

To address CVE-2025-66293, update libpng to version 1.6.52 or later, where the vulnerability has been patched.

3

What types of systems are affected by CVE-2025-66293?

CVE-2025-66293 affects applications that utilize libpng versions prior to 1.6.52 for processing PNG image files.

4

Can CVE-2025-66293 lead to further exploitation?

While CVE-2025-66293 primarily involves an out-of-bounds read, it could potentially be leveraged for more complex attacks based on the context of use.

5

Is there a workaround for CVE-2025-66293 until I can update?

There are no known workarounds for CVE-2025-66293, so upgrading to the patched version is the recommended solution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203