CVE catalog

CVE-2026-34757

LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. From 1.0.9 to before 1.6.57, passing a pointer obtained from

[CVE catalog]

Severity
Medium · CVSS 5.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.19% · 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 1.0.9 to before 1.6.57, passing a pointer obtained from png_get_PLTE, png_get_tRNS, or png_get_hIST back into the corresponding setter on the same png_struct/png_info pair causes the setter to read from freed memory and copy its contents into the replacement buffer. The setter frees the internal buffer before copying from the caller-supplied pointer, which now dangles. The freed region may contain stale data (producing silently corrupted chunk metadata) or data from subsequent heap allocations (leaking unrelated heap contents into the chunk struct). This vulnerability is fixed in 1.6.57.

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
Cpelibpng1.6Not reported1.6.43-5ubuntu0.6fixed
Cpelibpng-devNot reported1.6.43-5ubuntu0.6fixed
Cpelibpng-toolsNot reported1.6.43-5ubuntu0.6fixed
Cpelibpng16-16t64Not reported1.6.43-5ubuntu0.6fixed
CpelibpngNot reported1.6.57fixed
Cpedebian_linuxNot reportedNot reportedunknown
Alpinelibpng3.201.6.57-r0fixed
Alpinelibpng3.211.6.57-r0fixed
Alpinelibpng3.221.6.57-r0fixed
Alpinelibpng3.231.6.57-r0fixed
Alpinelibpng3.241.6.57-r0fixed
Ubuntulibpngpro1.2.51-0ubuntu3vulnerable
Ubuntulibpngpro1.2.54-1vulnerable
Ubuntulibpngpro1.2.54-1ubuntu1vulnerable
Ubuntulibpngpro1.2.54-1ubuntu1.1vulnerable
Ubuntulibpngpro1.2.54-1ubuntu1.1+esm1vulnerable
Ubuntulibpngpro1.2.54-1ubuntu1.1+esm2vulnerable
Ubuntulibpngpro1.2.54-1ubuntu1.1+esm3fixed
Ubuntulibpng1.6pro1.6.37-1vulnerable
Ubuntulibpng1.6pro1.6.37-2vulnerable
Ubuntulibpng1.6pro1.6.37-2ubuntu0.1~esm1vulnerable
Ubuntulibpng1.6pro1.6.37-2ubuntu0.1~esm2vulnerable
Ubuntulibpng1.6pro1.6.37-2ubuntu0.1~esm3fixed
Ubuntulibpng1.622.041.6.37-3build4vulnerable
Ubuntulibpng1.622.041.6.37-3build5vulnerable
Ubuntulibpng1.622.041.6.37-3ubuntu0.1vulnerable
Ubuntulibpng1.622.041.6.37-3ubuntu0.3vulnerable
Ubuntulibpng1.622.041.6.37-3ubuntu0.4vulnerable
Ubuntulibpng1.622.041.6.37-3ubuntu0.5fixed
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.1vulnerable
Ubuntulibpng1.624.041.6.43-5ubuntu0.3vulnerable
Ubuntulibpng1.624.041.6.43-5ubuntu0.4vulnerable
Ubuntulibpng1.624.041.6.43-5ubuntu0.5vulnerable
Ubuntulibpng1.624.041.6.43-5ubuntu0.6fixed
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.1vulnerable
Ubuntulibpng1.625.101.6.50-1ubuntu0.3vulnerable
Ubuntulibpng1.625.101.6.50-1ubuntu0.4vulnerable
Ubuntulibpng1.625.101.6.50-1ubuntu0.5fixed
Suselibpng16linux enterprise module for basesystem 15 sp71.6.40-150600.3.20.1fixed
Suselibpng16linux enterprise server ltss extended security 12 sp51.6.8-15.24.1fixed
Suselibpng16linux micro 6.11.6.43-slfo.1.1_5.1fixed
Suselibpng16linux micro 6.01.6.43-5.1fixed
Suselibpng16linux micro 6.21.6.44-160000.7.1fixed
Opensuselibpng16leap 16.01.6.44-160000.7.1fixed
Opensuselibpng16tumbleweed1.6.57-1.1fixed
CpelibpngNot reported1.6.57fixed
Cpedebian_linuxNot reportedNot reportedunknown

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibpng1.6sourcesid1.6.57-1not yet assignedNot reported[1133051]
Debianlibpng1.6sourceforky1.6.57-1not yet assignedNot reported[1133051]
Debianlibpng1.6sourcetrixie1.6.48-1+deb13u5not yet assignedNot reported[1133051]
Debianlibpng1.6sourcebookworm1.6.39-2+deb12u5not yet assignedNot reported[1133051]
Cpelibpng1.6cpeNot reported1.6.43-5ubuntu0.6Not reportedNot reportedNot reported
Cpelibpng-devcpeNot reported1.6.43-5ubuntu0.6Not reportedNot reportedNot reported
Cpelibpng-toolscpeNot reported1.6.43-5ubuntu0.6Not reportedNot reportedNot reported
Cpelibpng16-16t64cpeNot reported1.6.43-5ubuntu0.6Not reportedNot reportedNot reported
CpelibpngcpeNot reported1.6.57Not reportedNot reportedNot reported
Alpinelibpngapk3.201.6.57-r0Not reportedALPINE-CVE-2026-34757Not reported
Alpinelibpngapk3.211.6.57-r0Not reportedALPINE-CVE-2026-34757Not reported
Alpinelibpngapk3.221.6.57-r0Not reportedALPINE-CVE-2026-34757Not reported
Alpinelibpngapk3.231.6.57-r0Not reportedALPINE-CVE-2026-34757Not reported
Alpinelibpngapk3.241.6.57-r0Not reportedALPINE-CVE-2026-34757Not reported
Ubuntulibpngdebpro1.2.54-1ubuntu1.1+esm3Not reportedUBUNTU-CVE-2026-34757Not reported
Ubuntulibpng1.6debpro1.6.37-2ubuntu0.1~esm3Not reportedUBUNTU-CVE-2026-34757Not reported
Ubuntulibpng1.6deb22.041.6.37-3ubuntu0.5Not reportedUBUNTU-CVE-2026-34757Not reported
Ubuntulibpng1.6deb24.041.6.43-5ubuntu0.6Not reportedUBUNTU-CVE-2026-34757Not reported
Ubuntulibpng1.6deb25.101.6.50-1ubuntu0.5Not reportedUBUNTU-CVE-2026-34757Not reported
Suselibpng16rpmlinux enterprise module for basesystem 15 sp71.6.40-150600.3.20.1Not reportedSUSE-SU-2026:1602-1Not reported
Suselibpng16rpmlinux enterprise server ltss extended security 12 sp51.6.8-15.24.1Not reportedSUSE-SU-2026:1601-1Not reported
Suselibpng16rpmlinux micro 6.11.6.43-slfo.1.1_5.1Not reportedSUSE-SU-2026:21262-1Not reported
Suselibpng16rpmlinux micro 6.01.6.43-5.1Not reportedSUSE-SU-2026:21251-1Not reported
Suselibpng16rpmlinux micro 6.21.6.44-160000.7.1Not reportedSUSE-SU-2026:21239-1Not reported
Opensuselibpng16rpmleap 16.01.6.44-160000.7.1Not reportedOPENSUSE-SU-2026:20593-1Not reported
Opensuselibpng16rpmtumbleweed1.6.57-1.1Not reportedOPENSUSE-SU-2026:10564-1Not reported
CpelibpngcpeNot reported1.6.57Not reportedNVD-CVE-2026-34757Not reported

[Debian bug #1133051]

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • [libpng16-16]Unknown

    Source package: [libpng16]

    Details (1)
    • 1.6.58-1.2 · x86_64 · tumbleweed

      Unknown · Fixed: 1.6.57-1.1

      Version impact unknown

      nvd · libpng16 · opensuse · tumbleweed

  • Source package: [libpng16]

    Details (1)
    • 1.6.58-1.2 · x86_64 · tumbleweed

      Unknown · Fixed: 1.6.57-1.1

      Version impact unknown

      nvd · libpng16 · opensuse · tumbleweed

  • Source package: [libpng16]

    Details (1)
    • 1.6.58-1.2 · x86_64 · tumbleweed

      Unknown · Fixed: 1.6.57-1.1

      Version impact unknown

      nvd · libpng16 · opensuse · tumbleweed

  • Source package: [libpng16]

    Details (1)
    • 1.6.58-1.2 · x86_64 · tumbleweed

      Unknown · Fixed: 1.6.57-1.1

      Version impact unknown

      nvd · libpng16 · opensuse · tumbleweed

  • Source package: [libpng16]

    Details (1)
    • 1.6.58-1.2 · x86_64 · tumbleweed

      Unknown · Fixed: 1.6.57-1.1

      Version impact unknown

      nvd · libpng16 · opensuse · tumbleweed

  • Source package: [libpng16]

    Details (1)
    • 1.6.58-1.2 · x86_64 · tumbleweed

      Unknown · Fixed: 1.6.57-1.1

      Version impact unknown

      nvd · libpng16 · opensuse · tumbleweed

  • Source package: [libpng16]

    Details (1)
    • 1.6.58-1.2 · x86_64 · tumbleweed

      Unknown · Fixed: 1.6.57-1.1

      Version impact unknown

      nvd · libpng16 · opensuse · tumbleweed

  • Source package: [libpng16]

    Details (1)
    • 1.6.58-1.2 · x86_64 · tumbleweed

      Unknown · Fixed: 1.6.57-1.1

      Version impact unknown

      nvd · libpng16 · opensuse · tumbleweed

  • Source package: [libpng16]

    Details (1)
    • 1.6.58-1.2 · x86_64 · tumbleweed

      Unknown · Fixed: 1.6.57-1.1

      Version impact unknown

      nvd · libpng16 · opensuse · tumbleweed

  • Source package: [libpng16]

    Details (1)
    • 1.6.58-1.2 · x86_64 · tumbleweed

      Unknown · Fixed: 1.6.57-1.1

      Version impact unknown

      nvd · libpng16 · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • Source package: [libpng1.6]

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

      Fixed · Fixed: 1.6.39-2+deb12u5

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

    • 1.6.39-2+deb12u5 · arm64 · bookworm

      Fixed · Fixed: 1.6.39-2+deb12u5

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

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

      Fixed · Fixed: 1.6.39-2+deb12u5

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

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

      Fixed · Fixed: 1.6.39-2+deb12u5

      nvd · libpng1.6 · debian · bookworm; nvd · 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+deb12u5

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

    • 1.6.39-2+deb12u5 · arm64 · bookworm

      Fixed · Fixed: 1.6.39-2+deb12u5

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

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

      Fixed · Fixed: 1.6.39-2+deb12u5

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

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

      Fixed · Fixed: 1.6.39-2+deb12u5

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

  • Source package: [libpng1.6]

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

      Fixed · Fixed: 1.6.39-2+deb12u5

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

    • 1.6.39-2+deb12u5 · arm64 · bookworm

      Fixed · Fixed: 1.6.39-2+deb12u5

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

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

      Fixed · Fixed: 1.6.39-2+deb12u5

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

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

      Fixed · Fixed: 1.6.39-2+deb12u5

      nvd · libpng1.6 · debian · bookworm; nvd · 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+deb13u5

      nvd · libpng1.6 · debian · 13

    • 1.6.48-1+deb13u5 · arm64 · trixie

      Fixed · Fixed: 1.6.48-1+deb13u5

      nvd · libpng1.6 · debian · 13

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

      Fixed · Fixed: 1.6.48-1+deb13u5

      nvd · libpng1.6 · debian · 13

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

      Fixed · Fixed: 1.6.48-1+deb13u5

      nvd · libpng1.6 · debian · 13

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

      Fixed · Fixed: 1.6.48-1+deb13u5

      nvd · 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+deb13u5

      nvd · libpng1.6 · debian · 13

    • 1.6.48-1+deb13u5 · arm64 · trixie

      Fixed · Fixed: 1.6.48-1+deb13u5

      nvd · libpng1.6 · debian · 13

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

      Fixed · Fixed: 1.6.48-1+deb13u5

      nvd · libpng1.6 · debian · 13

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

      Fixed · Fixed: 1.6.48-1+deb13u5

      nvd · libpng1.6 · debian · 13

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

      Fixed · Fixed: 1.6.48-1+deb13u5

      nvd · libpng1.6 · debian · 13

  • Source package: [libpng1.6]

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

      Fixed · Fixed: 1.6.48-1+deb13u5

      nvd · libpng1.6 · debian · 13

    • 1.6.48-1+deb13u5 · arm64 · trixie

      Fixed · Fixed: 1.6.48-1+deb13u5

      nvd · libpng1.6 · debian · 13

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

      Fixed · Fixed: 1.6.48-1+deb13u5

      nvd · libpng1.6 · debian · 13

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

      Fixed · Fixed: 1.6.48-1+deb13u5

      nvd · libpng1.6 · debian · 13

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

      Fixed · Fixed: 1.6.48-1+deb13u5

      nvd · libpng1.6 · debian · 13

Observed:

References

[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]