CVE catalog

CVE-2026-22801

libpng vulnerabilities

[CVE catalog]

Severity
Medium · CVSS 6.8CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.13% · 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.6.26 to 1.6.53, there is an integer truncation in the libpng simplified write API functions png_write_image_16bit and png_write_image_8bit causes heap buffer over-read when the caller provides a negative row stride (for bottom-up image layouts) or a stride exceeding 65535 bytes. The bug was introduced in libpng 1.6.26 (October 2016) by casts added to silence compiler warnings on 16-bit systems. This vulnerability is fixed in 1.6.54.

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.3fixed
Ubuntulibpng-devnoble1.6.43-5ubuntu0.3fixed
Ubuntulibpng-toolsnoble1.6.43-5ubuntu0.3fixed
Ubuntulibpng16-16t64noble1.6.43-5ubuntu0.3fixed
Alpinelibpng3.201.6.54-r0fixed
Alpinelibpng3.211.6.54-r0fixed
Alpinelibpng3.221.6.54-r0fixed
Alpinelibpng3.231.6.54-r0fixed
Alpinelibpng3.241.6.54-r0fixed
Ubuntulibpng1.6pro1.6.37-1vulnerable
Ubuntulibpng1.6pro1.6.37-2vulnerable
Ubuntulibpng1.6pro1.6.37-2ubuntu0.1~esm1vulnerable
Ubuntulibpng1.6pro1.6.37-2ubuntu0.1~esm2fixed
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.3fixed
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.3fixed
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.3fixed
Ubuntulibpng1.626.041.6.50-1vulnerable
Ubuntulibpng1.626.041.6.51-1vulnerable
Ubuntulibpng1.626.041.6.53-1vulnerable
Ubuntulibpng1.626.041.6.54-1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibpng1.6sourcesid1.6.54-1not yet assignedNot reported[1125444]
Debianlibpng1.6sourceforky1.6.54-1not yet assignedNot reported[1125444]
Debianlibpng1.6sourcetrixie1.6.48-1+deb13u2not yet assignedNot reported[1125444]
Debianlibpng1.6sourcebookworm1.6.39-2+deb12u2not yet assignedNot reported[1125444]
Ubuntulibpng1.6debnoble1.6.43-5ubuntu0.3Not reportedNot reportedNot reported
Ubuntulibpng-devdebnoble1.6.43-5ubuntu0.3Not reportedNot reportedNot reported
Ubuntulibpng-toolsdebnoble1.6.43-5ubuntu0.3Not reportedNot reportedNot reported
Ubuntulibpng16-16t64debnoble1.6.43-5ubuntu0.3Not reportedNot reportedNot reported
Alpinelibpngapk3.201.6.54-r0Not reportedALPINE-CVE-2026-22801Not reported
Alpinelibpngapk3.211.6.54-r0Not reportedALPINE-CVE-2026-22801Not reported
Alpinelibpngapk3.221.6.54-r0Not reportedALPINE-CVE-2026-22801Not reported
Alpinelibpngapk3.231.6.54-r0Not reportedALPINE-CVE-2026-22801Not reported
Alpinelibpngapk3.241.6.54-r0Not reportedALPINE-CVE-2026-22801Not reported
Ubuntulibpng1.6debpro1.6.37-2ubuntu0.1~esm2Not reportedUBUNTU-CVE-2026-22801Not reported
Ubuntulibpng1.6deb22.041.6.37-3ubuntu0.3Not reportedUBUNTU-CVE-2026-22801Not reported
Ubuntulibpng1.6deb24.041.6.43-5ubuntu0.3Not reportedUBUNTU-CVE-2026-22801Not reported
Ubuntulibpng1.6deb25.101.6.50-1ubuntu0.3Not reportedUBUNTU-CVE-2026-22801Not reported
Ubuntulibpng1.6deb26.041.6.54-1Not reportedUBUNTU-CVE-2026-22801Not reported

[Debian bug #1125444]

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+deb12u2

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

    • 1.6.39-2+deb12u5 · arm64 · bookworm

      Fixed · Fixed: 1.6.39-2+deb12u2

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

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

      Fixed · Fixed: 1.6.39-2+deb12u2

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

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

      Fixed · Fixed: 1.6.39-2+deb12u2

      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+deb12u2

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

    • 1.6.39-2+deb12u5 · arm64 · bookworm

      Fixed · Fixed: 1.6.39-2+deb12u2

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

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

      Fixed · Fixed: 1.6.39-2+deb12u2

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

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

      Fixed · Fixed: 1.6.39-2+deb12u2

      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+deb12u2

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

    • 1.6.39-2+deb12u5 · arm64 · bookworm

      Fixed · Fixed: 1.6.39-2+deb12u2

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

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

      Fixed · Fixed: 1.6.39-2+deb12u2

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

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

      Fixed · Fixed: 1.6.39-2+deb12u2

      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+deb13u2

      usn · libpng1.6 · debian · 13

    • 1.6.48-1+deb13u5 · arm64 · trixie

      Fixed · Fixed: 1.6.48-1+deb13u2

      usn · libpng1.6 · debian · 13

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

      Fixed · Fixed: 1.6.48-1+deb13u2

      usn · libpng1.6 · debian · 13

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

      Fixed · Fixed: 1.6.48-1+deb13u2

      usn · libpng1.6 · debian · 13

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

      Fixed · Fixed: 1.6.48-1+deb13u2

      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+deb13u2

      usn · libpng1.6 · debian · 13

    • 1.6.48-1+deb13u5 · arm64 · trixie

      Fixed · Fixed: 1.6.48-1+deb13u2

      usn · libpng1.6 · debian · 13

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

      Fixed · Fixed: 1.6.48-1+deb13u2

      usn · libpng1.6 · debian · 13

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

      Fixed · Fixed: 1.6.48-1+deb13u2

      usn · libpng1.6 · debian · 13

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

      Fixed · Fixed: 1.6.48-1+deb13u2

      usn · libpng1.6 · debian · 13

  • Source package: [libpng1.6]

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

      Fixed · Fixed: 1.6.48-1+deb13u2

      usn · libpng1.6 · debian · 13

    • 1.6.48-1+deb13u5 · arm64 · trixie

      Fixed · Fixed: 1.6.48-1+deb13u2

      usn · libpng1.6 · debian · 13

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

      Fixed · Fixed: 1.6.48-1+deb13u2

      usn · libpng1.6 · debian · 13

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

      Fixed · Fixed: 1.6.48-1+deb13u2

      usn · libpng1.6 · debian · 13

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

      Fixed · Fixed: 1.6.48-1+deb13u2

      usn · libpng1.6 · debian · 13

Observed:

References