CVE catalog

CVE-2025-64720

libpng vulnerabilities

[CVE catalog]

Severity
High · CVSS 7.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.45% · Oct 25, 2026

LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. From version 1.6.0 to before 1.6.51, an out-of-bounds read vulnerability exists in png_image_read_composite when processing palette images with PNG_FLAG_OPTIMIZE_ALPHA enabled. The palette compositing code in png_init_read_transformations incorrectly applies background compositing during premultiplication, violating the invariant component ≤ alpha × 257 required by the simplified PNG API. This issue has been patched in version 1.6.51.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibpng1.6sid1.6.59-1fixed
Debianlibpng1.6forky1.6.59-1fixed
Debianlibpng1.6trixie1.6.48-1+deb13u5fixed
Debianlibpng1.6trixie-security1.6.48-1+deb13u6fixed
Debianlibpng1.6bookworm1.6.39-2+deb12u5fixed
Debianlibpng1.6bookworm-security1.6.39-2+deb12u6fixed
Ubuntulibpng1.6noble1.6.43-5ubuntu0.1fixed
Ubuntulibpng-devnoble1.6.43-5ubuntu0.1fixed
Ubuntulibpng-toolsnoble1.6.43-5ubuntu0.1fixed
Ubuntulibpng16-16t64noble1.6.43-5ubuntu0.1fixed
CpelibpngNot reported1.6.51fixed
Androidplatform/external/libpngNot reported14vulnerable
Androidplatform/external/libpngNot reported14:2026-06-01fixed
Alpinelibpng3.201.6.53-r0fixed
Alpinelibpng3.211.6.53-r0fixed
Alpinelibpng3.221.6.51-r0fixed
Alpinelibpng3.231.6.51-r0fixed
Alpinelibpng3.241.6.51-r0fixed
Suselibpng15linux enterprise server ltss extended security 12 sp51.5.30-10.13.1fixed
Ubuntulibpng1.6pro1.6.37-1vulnerable
Ubuntulibpng1.6pro1.6.37-2vulnerable
Ubuntulibpng1.6pro1.6.37-2ubuntu0.1~esm1fixed
Ubuntulibpng1.622.041.6.37-3build4vulnerable
Ubuntulibpng1.622.041.6.37-3build5vulnerable
Ubuntulibpng1.622.041.6.37-3ubuntu0.1fixed
Ubuntulibpng1.624.041.6.40-1vulnerable
Ubuntulibpng1.624.041.6.40-2vulnerable
Ubuntulibpng1.624.041.6.40-3vulnerable
Ubuntulibpng1.624.041.6.42-1vulnerable
Ubuntulibpng1.624.041.6.43-1vulnerable
Ubuntulibpng1.624.041.6.43-3vulnerable
Ubuntulibpng1.624.041.6.43-5build1vulnerable
Ubuntulibpng1.624.041.6.43-5ubuntu0.1fixed
Ubuntulibpng1.625.101.6.47-1.1vulnerable
Ubuntulibpng1.625.101.6.48-1vulnerable
Ubuntulibpng1.625.101.6.49-1~exp1vulnerable
Ubuntulibpng1.625.101.6.50-1~exp1vulnerable
Ubuntulibpng1.625.101.6.50-1vulnerable
Ubuntulibpng1.625.101.6.50-1ubuntu0.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibpng1.6sourcesid1.6.51-1not yet assignedNot reported[1121217]
Debianlibpng1.6sourceforky1.6.51-1not yet assignedNot reported[1121217]
Debianlibpng1.6sourcetrixie1.6.48-1+deb13u1not yet assignedNot reported[1121217]
Debianlibpng1.6sourcebookworm1.6.39-2+deb12u1not yet assignedNot reported[1121217]
Ubuntulibpng1.6debnoble1.6.43-5ubuntu0.1Not reportedNot reportedNot reported
Ubuntulibpng-devdebnoble1.6.43-5ubuntu0.1Not reportedNot reportedNot reported
Ubuntulibpng-toolsdebnoble1.6.43-5ubuntu0.1Not reportedNot reportedNot reported
Ubuntulibpng16-16t64debnoble1.6.43-5ubuntu0.1Not reportedNot reportedNot reported
CpelibpngcpeNot reported1.6.51Not reportedNVD-CVE-2025-64720Not reported
Androidplatform/external/libpngAndroidNot reported14:2026-06-01Not reportedASB-A-463995203Not reported
Alpinelibpngapk3.201.6.53-r0Not reportedALPINE-CVE-2025-64720Not reported
Alpinelibpngapk3.211.6.53-r0Not reportedALPINE-CVE-2025-64720Not reported
Alpinelibpngapk3.221.6.51-r0Not reportedALPINE-CVE-2025-64720Not reported
Alpinelibpngapk3.231.6.51-r0Not reportedALPINE-CVE-2025-64720Not reported
Alpinelibpngapk3.241.6.51-r0Not reportedALPINE-CVE-2025-64720Not reported
Suselibpng15rpmlinux enterprise server ltss extended security 12 sp51.5.30-10.13.1Not reportedSUSE-SU-2026:2619-1Not reported
Ubuntulibpng1.6debpro1.6.37-2ubuntu0.1~esm1Not reportedUBUNTU-CVE-2025-64720Not reported
Ubuntulibpng1.6deb22.041.6.37-3ubuntu0.1Not reportedUBUNTU-CVE-2025-64720Not reported
Ubuntulibpng1.6deb24.041.6.43-5ubuntu0.1Not reportedUBUNTU-CVE-2025-64720Not reported
Ubuntulibpng1.6deb25.101.6.50-1ubuntu0.1Not reportedUBUNTU-CVE-2025-64720Not reported

[Debian bug #1121217]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [libpng1.6]

    Details (4)
    • 1.6.39-2+deb12u5 · amd64 · bookworm

      Fixed · Fixed: 1.6.39-2+deb12u1

      usn · libpng1.6 · debian · bookworm; usn · libpng1.6 · debian · 12

    • 1.6.39-2+deb12u5 · arm64 · bookworm

      Fixed · Fixed: 1.6.39-2+deb12u1

      usn · libpng1.6 · debian · bookworm; usn · libpng1.6 · debian · 12

    • 1.6.39-2+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 1.6.39-2+deb12u1

      usn · libpng1.6 · debian · bookworm; usn · libpng1.6 · debian · 12

    • 1.6.39-2+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 1.6.39-2+deb12u1

      usn · libpng1.6 · debian · bookworm; usn · libpng1.6 · debian · 12

  • [libpng-dev]Fixed

    Source package: [libpng1.6]

    Details (4)
    • 1.6.39-2+deb12u5 · amd64 · bookworm

      Fixed · Fixed: 1.6.39-2+deb12u1

      usn · libpng1.6 · debian · bookworm; usn · libpng1.6 · debian · 12

    • 1.6.39-2+deb12u5 · arm64 · bookworm

      Fixed · Fixed: 1.6.39-2+deb12u1

      usn · libpng1.6 · debian · bookworm; usn · libpng1.6 · debian · 12

    • 1.6.39-2+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 1.6.39-2+deb12u1

      usn · libpng1.6 · debian · bookworm; usn · libpng1.6 · debian · 12

    • 1.6.39-2+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 1.6.39-2+deb12u1

      usn · libpng1.6 · debian · bookworm; usn · libpng1.6 · debian · 12

  • Source package: [libpng1.6]

    Details (4)
    • 1.6.39-2+deb12u5 · amd64 · bookworm

      Fixed · Fixed: 1.6.39-2+deb12u1

      usn · libpng1.6 · debian · bookworm; usn · libpng1.6 · debian · 12

    • 1.6.39-2+deb12u5 · arm64 · bookworm

      Fixed · Fixed: 1.6.39-2+deb12u1

      usn · libpng1.6 · debian · bookworm; usn · libpng1.6 · debian · 12

    • 1.6.39-2+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 1.6.39-2+deb12u1

      usn · libpng1.6 · debian · bookworm; usn · libpng1.6 · debian · 12

    • 1.6.39-2+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 1.6.39-2+deb12u1

      usn · libpng1.6 · debian · bookworm; usn · libpng1.6 · debian · 12

[Debian 13 (Trixie)]

  • Source package: [libpng1.6]

    Details (5)
    • 1.6.48-1+deb13u5 · amd64 · trixie

      Fixed · Fixed: 1.6.48-1+deb13u1

      usn · libpng1.6 · debian · 13

    • 1.6.48-1+deb13u5 · arm64 · trixie

      Fixed · Fixed: 1.6.48-1+deb13u1

      usn · libpng1.6 · debian · 13

    • 1.6.48-1+deb13u5 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 1.6.48-1+deb13u1

      usn · libpng1.6 · debian · 13

    • 1.6.48-1+deb13u5 · arm64 · trixie-security

      Fixed · Fixed: 1.6.48-1+deb13u1

      usn · libpng1.6 · debian · 13

    • 1.6.48-1+deb13u6 · amd64 · trixie-security

      Fixed · Fixed: 1.6.48-1+deb13u1

      usn · libpng1.6 · debian · 13

  • [libpng-dev]Fixed

    Source package: [libpng1.6]

    Details (5)
    • 1.6.48-1+deb13u5 · amd64 · trixie

      Fixed · Fixed: 1.6.48-1+deb13u1

      usn · libpng1.6 · debian · 13

    • 1.6.48-1+deb13u5 · arm64 · trixie

      Fixed · Fixed: 1.6.48-1+deb13u1

      usn · libpng1.6 · debian · 13

    • 1.6.48-1+deb13u5 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 1.6.48-1+deb13u1

      usn · libpng1.6 · debian · 13

    • 1.6.48-1+deb13u5 · arm64 · trixie-security

      Fixed · Fixed: 1.6.48-1+deb13u1

      usn · libpng1.6 · debian · 13

    • 1.6.48-1+deb13u6 · amd64 · trixie-security

      Fixed · Fixed: 1.6.48-1+deb13u1

      usn · libpng1.6 · debian · 13

  • Source package: [libpng1.6]

    Details (5)
    • 1.6.48-1+deb13u5 · amd64 · trixie

      Fixed · Fixed: 1.6.48-1+deb13u1

      usn · libpng1.6 · debian · 13

    • 1.6.48-1+deb13u5 · arm64 · trixie

      Fixed · Fixed: 1.6.48-1+deb13u1

      usn · libpng1.6 · debian · 13

    • 1.6.48-1+deb13u5 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 1.6.48-1+deb13u1

      usn · libpng1.6 · debian · 13

    • 1.6.48-1+deb13u5 · arm64 · trixie-security

      Fixed · Fixed: 1.6.48-1+deb13u1

      usn · libpng1.6 · debian · 13

    • 1.6.48-1+deb13u6 · amd64 · trixie-security

      Fixed · Fixed: 1.6.48-1+deb13u1

      usn · libpng1.6 · debian · 13

Observed:

References