7.5

CVE-2026-33416: libpng Use After Free

CVSS: 7.5v3.1HighAnalyzed
AliasesALPINE-CVE-2026-33416SUSE-SU-2026:1311-1SUSE-SU-2026:1323-1
Published 26-03-2026Last modified 01-04-2026

Vulnerability summary

CVE-2026-33416 is a high (CVSS 7.5) Use After Free vulnerability in libpng. EPSS estimates a 1.05% chance of exploitation in the next 30 days, higher than 63.7% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
40/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
1.05%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 46 · Related 14

Timeline

  1. 26-03-2026
    PublishedVulnerability first disclosed.
  2. 01-04-2026
    Last modifiedVulnerability information updated.

Description

LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. In versions 1.2.1 through 1.6.55, `png_set_tRNS` and `png_set_PLTE` each alias a heap-allocated buffer between `png_struct` and `png_info`, sharing a single allocation across two structs with independent lifetimes. The `trans_alpha` aliasing has been present since at least libpng 1.0, and the `palette` aliasing since at least 1.2.1. Both affect all prior release lines `png_set_tRNS` sets `png_ptr->trans_alpha = info_ptr->trans_alpha` (256-byte buffer) and `png_set_PLTE` sets `info_ptr->palette = png_ptr->palette` (768-byte buffer). In both cases, calling `png_free_data` (with `PNG_FREE_TRNS` or `PNG_FREE_PLTE`) frees the buffer through `info_ptr` while the corresponding `png_ptr` pointer remains dangling. Subsequent row-transform functions dereference and, in some code paths, write to the freed memory. A second call to `png_set_tRNS` or `png_set_PLTE` has the same effect, because both functions call `png_free_data` internally before reallocating the `info_ptr` buffer. Version 1.6.56 fixes the issue.

CVSS metrics

8 scores · 8 sources · 1 version

EPSS trend

Probability

1.05%

Chance of exploitation in the next 30 days

Percentile

64%

Versus all other CVEs

30-day change

0.00 pp

From 1.05% on 18-09-2026

18-09-202618-10-2026
EPSS score
1.05%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Libpng

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Redhat14 products
  • libpng< 2:1.6.37-12.el9_7.4 | < 2:1.6.40-8.el10_1.4 | < 2:1.6.37-12.el9_6.4 | < 2:1.6.37-12.el9_4.4 | < 2:1.6.37-12.el9_2.4 | < 2:1.6.40-8.el10_0.4 | < 2:1.6.34-11.el8_10 | < 2:1.6.34-8.el8_8.3 | < 2:1.6.34-8.el8_6.3 | < 2:1.6.34-8.el8_4.3 | < 2:1.5.13-8.el7_9.3
  • libpng-debuginfo< 2:1.6.37-12.el9_7.4 | < 2:1.6.40-8.el10_1.4 | < 2:1.6.37-12.el9_6.4 | < 2:1.6.37-12.el9_4.4 | < 2:1.6.37-12.el9_2.4 | < 2:1.6.40-8.el10_0.4 | < 2:1.6.34-11.el8_10 | < 2:1.6.34-8.el8_8.3 | < 2:1.6.34-8.el8_6.3 | < 2:1.6.34-8.el8_4.3 | < 2:1.5.13-8.el7_9.3
  • libpng-debugsource< 2:1.6.37-12.el9_7.4 | < 2:1.6.40-8.el10_1.4 | < 2:1.6.37-12.el9_6.4 | < 2:1.6.37-12.el9_4.4 | < 2:1.6.37-12.el9_2.4 | < 2:1.6.40-8.el10_0.4 | < 2:1.6.34-11.el8_10 | < 2:1.6.34-8.el8_8.3 | < 2:1.6.34-8.el8_6.3 | < 2:1.6.34-8.el8_4.3
  • libpng-devel< 2:1.6.37-12.el9_7.4 | < 2:1.6.40-8.el10_1.4 | < 2:1.6.37-12.el9_6.4 | < 2:1.6.37-12.el9_4.4 | < 2:1.6.37-12.el9_2.4 | < 2:1.6.40-8.el10_0.4 | < 2:1.6.34-11.el8_10 | < 2:1.6.34-8.el8_8.3 | < 2:1.6.34-8.el8_6.3 | < 2:1.6.34-8.el8_4.3 | < 2:1.5.13-8.el7_9.3
  • libpng-devel-debuginfo< 2:1.6.37-12.el9_7.4 | < 2:1.6.40-8.el10_1.4 | < 2:1.6.37-12.el9_6.4 | < 2:1.6.37-12.el9_4.4 | < 2:1.6.37-12.el9_2.4 | < 2:1.6.40-8.el10_0.4 | < 2:1.6.34-11.el8_10 | < 2:1.6.34-8.el8_8.3 | < 2:1.6.34-8.el8_6.3 | < 2:1.6.34-8.el8_4.3
Suse14 products
  • libpng16&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 1.6.34-150000.3.22.1
  • libpng16&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 1.6.34-150000.3.22.1
  • libpng16&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS< 1.6.34-150000.3.22.1
  • libpng16&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS< 1.6.34-150000.3.22.1
  • libpng16&distro=SUSE Linux Enterprise Micro 5.2< 1.6.34-150000.3.22.1
Ubuntu2 products
  • libpng< 1.2.50-1ubuntu2.14.04.3+esm2 | < 1.2.54-1ubuntu1.1+esm3
  • libpng1.6< 1.6.20-2ubuntu0.1~esm4 | < 1.6.34-1ubuntu0.18.04.2+esm3 | < 1.6.37-2ubuntu0.1~esm3 | < 1.6.37-3ubuntu0.5 | < 1.6.43-5ubuntu0.6 | < 1.6.50-1ubuntu0.5
Alpine1 product
  • libpng≥ 1.2.1, < 1.6.56-r0
Chainguard1 product
  • libpng< 1.6.56-r0
Debian1 product
  • libpng1.6< 1.6.39-2+deb12u4 | < 1.6.48-1+deb13u4 | < 1.6.56-1
Libpng1 product
Pnggroup1 product
Wolfi1 product
  • libpng< 1.6.56-r0

9 vendors · 36 products

References

69 links
Show all 69 references