CVE-2025-64505: LIBPNG is vulnerable to a heap buffer overflow in `png_do_quantize` via malformed palette index

Published Nov 22, 2025
·
Updated

802.1X. An authentication issue was addressed with improved state management.

Other sources

Accounts. An authorization issue was addressed with improved state management.

— Apple

Admin Framework. A path handling issue was addressed with improved validation.

— Apple

apache. This is a vulnerability in open source code and Apple Software is among the affected projects. The CVE-ID was assigned by a third party. Learn more about the issue and CVE-ID at cve.org.

— Apple

App Protection. The issue was addressed with improved checks.

— Apple

AppleKeyStore. A use after free issue was addressed with improved memory management.

— Apple

Credit

Héloïse Gollier, Mathy Vanhoef (KU Leuven), Johnny Franks (zeroxjf), an anonymous researcher, Justin Cohen(Google), Cristian Dinca (icmd.tech), Hossein Lotfi@@hosselot(TrendAI Zero Day Initiative), CVE-2025-14524, Etienne Charron (Renault), Victoria Martini (Renault), Kirin@@Pwnrin, Andreas Jaegersberger & Ro Achterberg(Nosebeard Labs), Zhongcheng Li(IES Red Team), CVE-2025-64505, Rosyna Keller(Totally Not Malicious Software), Mickey Jin@@patch1t, CVE-2025-55753, CVE-2025-58098, CVE-2025-59775, CVE-2025-65082, CVE-2025-66200, Mustafa Calap@@ordinal0, dbg.re), @@cloudlldb, YingQi Shi@@Mas0nShi(DBAppSecurity's WeBin lab), DARKNAVY@@DarkNavyOrg, Jex Amro, 风沐云烟@@binary_fmyy, Minghao Lin@@Y1nKoc, XiguaSec, Hazem Issa, Tuan D. Hoang, Yongdae Kim @ SysSec, KAIST, Adrián Pérez Martínez, Uluk Abylbekov, Zack Tickman, Yongdae Kim @ KAIST SysSec Lab, Alvin Aries Tapia, Amy (amys.website), Dalibor Milanovic, Ryan Dowd@@_rdowd, Koh M. Nakagawa@@tsunek0h(FFRI Security Inc), Talal Haj Bakry(Mysk Inc), Tommy Mysk@@mysk_co(Mysk Inc), Zhongquan Li@@Guluisacat, Asaf Cohen, Ye Zhang(Baidu Security), Ryan Dowd@@_rdowd(Iru), Csaba Fitzl@@theevilbit(Iru), Jonathan Bar Or@@yo_yo_yo_jbo

Affected Software

33 affected componentsFixes available
libpng LIBPNG<1.6.51
libpng LIBPNG<1.6.51
Microsoft azl3 libpng 1.6.40-1
Microsoft cbl2 libpng 1.6.39-1
Google Android
debian/libpng1.6
1.6.37-3+deb11u11.6.39-2+deb12u11.6.48-1+deb13u11.6.51-1
Apple iOS<18.7.7
18.7.7
Apple iPadOS<18.7.7
18.7.7
Apple macOS Sonoma<14.8.5
14.8.5
Apple visionOS<26.4
26.4
All of the following
azurelinux/libpng<1.6.51-1
1.6.51-1
Microsoft Azure Linux=3.0
All of the following
azurelinux/libpng<1.6.51-1
1.6.51-1
Microsoft CBL-Mariner=2.0
Apple iOS<26.4
26.4
Apple iPadOS<26.4
26.4
Apple macOS Sequoia<15.7.5
15.7.5
Apple WatchOS<26.4
26.4
Apple tvOS<26.4
26.4
Apple macOS Tahoe<26.4
26.4
android/platform/external/libpng>=17-next:0<17-next:2026-06-01
17-next:2026-06-01
android/platform/external/libpng>=15:0<15:2026-06-01
15:2026-06-01
android/platform/external/libpng>=16:0<16:2026-06-01
16:2026-06-01
android/platform/external/libpng>=16-qpr2:0<16-qpr2:2026-06-01
16-qpr2:2026-06-01
android/platform/external/libpng>=14:0<14:2026-06-01
14:2026-06-01
ubuntu/libpng<1.2.50-1ubuntu2.14.04.3+esm1
1.2.50-1ubuntu2.14.04.3+esm1
ubuntu/libpng<1.2.54-1ubuntu1.1+esm2
1.2.54-1ubuntu1.1+esm2
ubuntu/libpng1.6<1.6.20-2ubuntu0.1~esm2
1.6.20-2ubuntu0.1~esm2
ubuntu/libpng1.6<1.6.34-1ubuntu0.18.04.2+esm1
1.6.34-1ubuntu0.18.04.2+esm1
ubuntu/libpng1.6<1.6.37-2ubuntu0.1~esm1
1.6.37-2ubuntu0.1~esm1
ubuntu/libpng1.6<1.6.37-3ubuntu0.1
1.6.37-3ubuntu0.1
ubuntu/libpng1.6<1.6.43-5ubuntu0.1
1.6.43-5ubuntu0.1
ubuntu/libpng1.6<1.6.50-1ubuntu0.1
1.6.50-1ubuntu0.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/libpng1.6 to a version that resolves this vulnerability.

    Fixed in 1.6.37-3+deb11u1Fixed in 1.6.39-2+deb12u1Fixed in 1.6.48-1+deb13u1Fixed in 1.6.51-1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 18.7.7
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 14.8.5
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 26.4
  5. Upgrade

    Upgrade azurelinux/libpng to a version that resolves this vulnerability.

    Fixed in 1.6.51-1
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 15.7.5
  7. Upgrade

    Upgrade android/platform/external/libpng to a version that resolves this vulnerability.

    Fixed in 17-next:2026-06-01
  8. Upgrade

    Upgrade android/platform/external/libpng to a version that resolves this vulnerability.

    Fixed in 15:2026-06-01
  9. Upgrade

    Upgrade android/platform/external/libpng to a version that resolves this vulnerability.

    Fixed in 16:2026-06-01
  10. Upgrade

    Upgrade android/platform/external/libpng to a version that resolves this vulnerability.

    Fixed in 16-qpr2:2026-06-01
  11. Upgrade

    Upgrade android/platform/external/libpng to a version that resolves this vulnerability.

    Fixed in 14:2026-06-01
  12. Upgrade

    Upgrade ubuntu/libpng to a version that resolves this vulnerability.

    Fixed in 1.2.50-1ubuntu2.14.04.3+esm1
  13. Upgrade

    Upgrade ubuntu/libpng to a version that resolves this vulnerability.

    Fixed in 1.2.54-1ubuntu1.1+esm2
  14. Upgrade

    Upgrade ubuntu/libpng1.6 to a version that resolves this vulnerability.

    Fixed in 1.6.20-2ubuntu0.1~esm2
  15. Upgrade

    Upgrade ubuntu/libpng1.6 to a version that resolves this vulnerability.

    Fixed in 1.6.34-1ubuntu0.18.04.2+esm1
  16. Upgrade

    Upgrade ubuntu/libpng1.6 to a version that resolves this vulnerability.

    Fixed in 1.6.37-2ubuntu0.1~esm1
  17. Upgrade

    Upgrade ubuntu/libpng1.6 to a version that resolves this vulnerability.

    Fixed in 1.6.37-3ubuntu0.1
  18. Upgrade

    Upgrade ubuntu/libpng1.6 to a version that resolves this vulnerability.

    Fixed in 1.6.43-5ubuntu0.1
  19. Upgrade

    Upgrade ubuntu/libpng1.6 to a version that resolves this vulnerability.

    Fixed in 1.6.50-1ubuntu0.1
  20. Upgrade

    Upgrade libpng to a version that resolves this vulnerability.

    Fixed in 1.6.51

Event History

Nov 24, 2025
CVE Published
via MITRE·11:38 PM
Data Sourced
via MITRE·11:38 PM
DescriptionSeverityWeakness
Nov 25, 2025
Data Sourced
via Red Hat·12:01 AM
DescriptionSeverityAffected Software
Data Sourced
via OSV·12:15 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·12:15 AM
DescriptionSeverityWeakness
Nov 26, 2025
Data Sourced
via Microsoft·01:01 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·09:01 AM
WeaknessAffected Software
Data Sourced
via NVD·06:28 PM
RemedyAffected Software
Mar 24, 2026
Data Sourced
via Apple·12:00 AM
DescriptionWeaknessAffected Software
Updated
via Apple·12:00 AM
Description
May 11, 2026
Updated
via Apple·12:00 AM
Description
Jun 1, 2026
Advisory Published
via OSV·12:00 AM
Data Sourced
via Android·12:00 AM
SeverityWeaknessAffected Software
Aug 20, 2026
Updated
via Apple·12:00 AM
Description
Nov 21, 2026
Updated
via Microsoft·09:13 AM
Weakness

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2025-64505?

CVE-2025-64505 has been rated as a high severity vulnerability due to the potential for heap buffer over-read that could lead to information disclosure.

2

How do I fix CVE-2025-64505?

To mitigate CVE-2025-64505, upgrade libpng to version 1.6.51 or later.

3

What type of vulnerability is CVE-2025-64505?

CVE-2025-64505 is identified as a heap buffer over-read vulnerability.

4

Which versions of libpng are affected by CVE-2025-64505?

CVE-2025-64505 affects all versions of libpng prior to 1.6.51.

5

What might be the impact of exploiting CVE-2025-64505?

Exploiting CVE-2025-64505 could potentially lead to information leakage through the heap buffer over-read.

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