CVE-2026-33416
published high CVSS 3.1 · 7.5LIBPNG has use-after-free via pointer aliasing in `png_set_tRNS` and `png_set_PLTE`
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pnggroup | — | libpng>= 1.2.1, < 1.6.56 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3241 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3243 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3244 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2FIREFOX-2026-056 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1554 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | libpng | Advisory build | 2:1.6.40-11.el10_2.1 | ALSA-2026:28233 |
| Oracle Linux | 10 | libpngaarch64 | Advisory build | 2:1.6.40-11.el10_2.1 | ELSA-2026-28233 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1563 | Fixed | Not stated | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-10 | libpngaarch64 | Advisory build | 2:1.6.40-11.el10_2.1 | RHSA-2026:28233 |
| Ubuntu | trusty | libpng | Advisory build | 1.2.50-1ubuntu2.14.04.3+esm2 | USN-8639-1 |
| AlmaLinux | 10 | libpng | Advisory build | 2:1.6.40-8.el10_1.4 | ALSA-2026:18064 |
| AlmaLinux | 8 | libpng | Advisory build | 2:1.6.34-11.el8_10 | ALSA-2026:29898 |
| AlmaLinux | 9 | libpng | Advisory build | 2:1.6.37-12.el9_7.4 | ALSA-2026:18028 |
| AlmaLinux | 9 | libpng | Advisory build | 2:1.6.37-15.el9_8.2 | ALSA-2026:28255 |
| Oracle Linux | 10 | libpngaarch64 | Advisory build | 2:1.6.40-8.el10_1.4 | ELSA-2026-18064 |
| Oracle Linux | 10 | libpngx86_64 | Advisory build | 2:1.6.40-11.el10_2.1 | ELSA-2026-28233 |
| Oracle Linux | 10 | libpngx86_64 | Advisory build | 2:1.6.40-8.el10_1.4 | ELSA-2026-18064 |
| Oracle Linux | 7 | libpngx86_64 | Advisory build | 2:1.5.13-8.0.5.el7 | ELSA-2026-50808 |
| Oracle Linux | 8 | libpngaarch64 | Advisory build | 2:1.6.34-11.el8_10 | ELSA-2026-29898 |
| Oracle Linux | 8 | libpngx86_64 | Advisory build | 2:1.6.34-11.el8_10 | ELSA-2026-29898 |
| Oracle Linux | 9 | libpngaarch64 | Advisory build | 2:1.6.37-12.el9_7.4 | ELSA-2026-18028 |
| Oracle Linux | 9 | libpngaarch64 | Advisory build | 2:1.6.37-15.el9_8.2 | ELSA-2026-28255 |
| Oracle Linux | 9 | libpngx86_64 | Advisory build | 2:1.6.37-12.el9_7.4 | ELSA-2026-18028 |
| Oracle Linux | 9 | libpngx86_64 | Advisory build | 2:1.6.37-15.el9_8.2 | ELSA-2026-28255 |
| Red Hat Enterprise Linux | RHEL-10 | libpngaarch64 | Advisory build | 2:1.6.40-8.el10_0.4 | RHSA-2026:20551 |
| Red Hat Enterprise Linux | RHEL-10 | libpngaarch64 | Advisory build | 2:1.6.40-8.el10_1.4 | RHSA-2026:18064 |
| Red Hat Enterprise Linux | RHEL-10 | libpngppc64le | Advisory build | 2:1.6.40-11.el10_2.1 | RHSA-2026:28233 |
| Red Hat Enterprise Linux | RHEL-10 | libpngppc64le | Advisory build | 2:1.6.40-8.el10_0.4 | RHSA-2026:20551 |
| Red Hat Enterprise Linux | RHEL-10 | libpngppc64le | Advisory build | 2:1.6.40-8.el10_1.4 | RHSA-2026:18064 |
| Red Hat Enterprise Linux | RHEL-10 | libpngs390x | Advisory build | 2:1.6.40-11.el10_2.1 | RHSA-2026:28233 |
| Red Hat Enterprise Linux | RHEL-10 | libpngs390x | Advisory build | 2:1.6.40-8.el10_0.4 | RHSA-2026:20551 |
| Red Hat Enterprise Linux | RHEL-10 | libpngs390x | Advisory build | 2:1.6.40-8.el10_1.4 | RHSA-2026:18064 |
| Red Hat Enterprise Linux | RHEL-10 | libpngsrc | Advisory build | 2:1.6.40-11.el10_2.1 | RHSA-2026:28233 |
| Red Hat Enterprise Linux | RHEL-10 | libpngsrc | Advisory build | 2:1.6.40-8.el10_0.4 | RHSA-2026:20551 |
| Red Hat Enterprise Linux | RHEL-10 | libpngsrc | Advisory build | 2:1.6.40-8.el10_1.4 | RHSA-2026:18064 |
| Red Hat Enterprise Linux | RHEL-10 | libpngx86_64 | Advisory build | 2:1.6.40-11.el10_2.1 | RHSA-2026:28233 |
| Red Hat Enterprise Linux | RHEL-10 | libpngx86_64 | Advisory build | 2:1.6.40-8.el10_0.4 | RHSA-2026:20551 |
| Red Hat Enterprise Linux | RHEL-10 | libpngx86_64 | Advisory build | 2:1.6.40-8.el10_1.4 | RHSA-2026:18064 |
| Red Hat Enterprise Linux | RHEL-7 | libpngi686 | Advisory build | 2:1.5.13-8.el7_9.3 | RHSA-2026:50808 |
| Red Hat Enterprise Linux | RHEL-7 | libpngppc | Advisory build | 2:1.5.13-8.el7_9.3 | RHSA-2026:50808 |
| Red Hat Enterprise Linux | RHEL-7 | libpngppc64 | Advisory build | 2:1.5.13-8.el7_9.3 | RHSA-2026:50808 |
| Red Hat Enterprise Linux | RHEL-7 | libpngppc64le | Advisory build | 2:1.5.13-8.el7_9.3 | RHSA-2026:50808 |
| Red Hat Enterprise Linux | RHEL-7 | libpngs390 | Advisory build | 2:1.5.13-8.el7_9.3 | RHSA-2026:50808 |
| Red Hat Enterprise Linux | RHEL-7 | libpngs390x | Advisory build | 2:1.5.13-8.el7_9.3 | RHSA-2026:50808 |
| Red Hat Enterprise Linux | RHEL-7 | libpngsrc | Advisory build | 2:1.5.13-8.el7_9.3 | RHSA-2026:50808 |
| Red Hat Enterprise Linux | RHEL-7 | libpngx86_64 | Advisory build | 2:1.5.13-8.el7_9.3 | RHSA-2026:50808 |
| Red Hat Enterprise Linux | RHEL-8 | libpngaarch64 | Advisory build | 2:1.6.34-11.el8_10 | RHSA-2026:29898 |
| Red Hat Enterprise Linux | RHEL-8 | libpngi686 | Advisory build | 2:1.6.34-11.el8_10 | RHSA-2026:29898 |
| Red Hat Enterprise Linux | RHEL-8 | libpngi686 | Advisory build | 2:1.6.34-8.el8_4.3 | RHSA-2026:29902 |
| Red Hat Enterprise Linux | RHEL-8 | libpngi686 | Advisory build | 2:1.6.34-8.el8_6.3 | RHSA-2026:29901 |
| Red Hat Enterprise Linux | RHEL-8 | libpngi686 | Advisory build | 2:1.6.34-8.el8_8.3 | RHSA-2026:29900 |
| Red Hat Enterprise Linux | RHEL-8 | libpngppc64le | Advisory build | 2:1.6.34-11.el8_10 | RHSA-2026:29898 |
| Red Hat Enterprise Linux | RHEL-8 | libpngppc64le | Advisory build | 2:1.6.34-8.el8_8.3 | RHSA-2026:29900 |
| Red Hat Enterprise Linux | RHEL-8 | libpngs390x | Advisory build | 2:1.6.34-11.el8_10 | RHSA-2026:29898 |
| Red Hat Enterprise Linux | RHEL-8 | libpngsrc | Advisory build | 2:1.6.34-11.el8_10 | RHSA-2026:29898 |
| Red Hat Enterprise Linux | RHEL-8 | libpngsrc | Advisory build | 2:1.6.34-8.el8_4.3 | RHSA-2026:29902 |
| Red Hat Enterprise Linux | RHEL-8 | libpngsrc | Advisory build | 2:1.6.34-8.el8_6.3 | RHSA-2026:29901 |
| Red Hat Enterprise Linux | RHEL-8 | libpngsrc | Advisory build | 2:1.6.34-8.el8_8.3 | RHSA-2026:29900 |
| Red Hat Enterprise Linux | RHEL-8 | libpngx86_64 | Advisory build | 2:1.6.34-11.el8_10 | RHSA-2026:29898 |
| Red Hat Enterprise Linux | RHEL-8 | libpngx86_64 | Advisory build | 2:1.6.34-8.el8_4.3 | RHSA-2026:29902 |
| Red Hat Enterprise Linux | RHEL-8 | libpngx86_64 | Advisory build | 2:1.6.34-8.el8_6.3 | RHSA-2026:29901 |
| Red Hat Enterprise Linux | RHEL-8 | libpngx86_64 | Advisory build | 2:1.6.34-8.el8_8.3 | RHSA-2026:29900 |
| Red Hat Enterprise Linux | RHEL-9 | libpngaarch64 | Advisory build | 2:1.6.37-12.el9_2.4 | RHSA-2026:20550 |
| Red Hat Enterprise Linux | RHEL-9 | libpngaarch64 | Advisory build | 2:1.6.37-12.el9_4.4 | RHSA-2026:20549 |
| Red Hat Enterprise Linux | RHEL-9 | libpngaarch64 | Advisory build | 2:1.6.37-12.el9_6.4 | RHSA-2026:20548 |
| Red Hat Enterprise Linux | RHEL-9 | libpngaarch64 | Advisory build | 2:1.6.37-12.el9_7.4 | RHSA-2026:18028 |
| Red Hat Enterprise Linux | RHEL-9 | libpngaarch64 | Advisory build | 2:1.6.37-15.el9_8.2 | RHSA-2026:28255 |
| Red Hat Enterprise Linux | RHEL-9 | libpngi686 | Advisory build | 2:1.6.37-12.el9_2.4 | RHSA-2026:20550 |
| Red Hat Enterprise Linux | RHEL-9 | libpngi686 | Advisory build | 2:1.6.37-12.el9_4.4 | RHSA-2026:20549 |
| Red Hat Enterprise Linux | RHEL-9 | libpngi686 | Advisory build | 2:1.6.37-12.el9_6.4 | RHSA-2026:20548 |
| Red Hat Enterprise Linux | RHEL-9 | libpngi686 | Advisory build | 2:1.6.37-12.el9_7.4 | RHSA-2026:18028 |
| Red Hat Enterprise Linux | RHEL-9 | libpngi686 | Advisory build | 2:1.6.37-15.el9_8.2 | RHSA-2026:28255 |
| Red Hat Enterprise Linux | RHEL-9 | libpngppc64le | Advisory build | 2:1.6.37-12.el9_2.4 | RHSA-2026:20550 |
| Red Hat Enterprise Linux | RHEL-9 | libpngppc64le | Advisory build | 2:1.6.37-12.el9_4.4 | RHSA-2026:20549 |
| Red Hat Enterprise Linux | RHEL-9 | libpngppc64le | Advisory build | 2:1.6.37-12.el9_6.4 | RHSA-2026:20548 |
| Red Hat Enterprise Linux | RHEL-9 | libpngppc64le | Advisory build | 2:1.6.37-12.el9_7.4 | RHSA-2026:18028 |
| Red Hat Enterprise Linux | RHEL-9 | libpngppc64le | Advisory build | 2:1.6.37-15.el9_8.2 | RHSA-2026:28255 |
| Red Hat Enterprise Linux | RHEL-9 | libpngs390x | Advisory build | 2:1.6.37-12.el9_2.4 | RHSA-2026:20550 |
| Red Hat Enterprise Linux | RHEL-9 | libpngs390x | Advisory build | 2:1.6.37-12.el9_4.4 | RHSA-2026:20549 |
| Red Hat Enterprise Linux | RHEL-9 | libpngs390x | Advisory build | 2:1.6.37-12.el9_6.4 | RHSA-2026:20548 |
| Red Hat Enterprise Linux | RHEL-9 | libpngs390x | Advisory build | 2:1.6.37-12.el9_7.4 | RHSA-2026:18028 |
| Red Hat Enterprise Linux | RHEL-9 | libpngs390x | Advisory build | 2:1.6.37-15.el9_8.2 | RHSA-2026:28255 |
| Red Hat Enterprise Linux | RHEL-9 | libpngsrc | Advisory build | 2:1.6.37-12.el9_2.4 | RHSA-2026:20550 |
| Red Hat Enterprise Linux | RHEL-9 | libpngsrc | Advisory build | 2:1.6.37-12.el9_4.4 | RHSA-2026:20549 |
| Red Hat Enterprise Linux | RHEL-9 | libpngsrc | Advisory build | 2:1.6.37-12.el9_6.4 | RHSA-2026:20548 |
| Red Hat Enterprise Linux | RHEL-9 | libpngsrc | Advisory build | 2:1.6.37-12.el9_7.4 | RHSA-2026:18028 |
| Red Hat Enterprise Linux | RHEL-9 | libpngsrc | Advisory build | 2:1.6.37-15.el9_8.2 | RHSA-2026:28255 |
| Red Hat Enterprise Linux | RHEL-9 | libpngx86_64 | Advisory build | 2:1.6.37-12.el9_2.4 | RHSA-2026:20550 |
| Red Hat Enterprise Linux | RHEL-9 | libpngx86_64 | Advisory build | 2:1.6.37-12.el9_4.4 | RHSA-2026:20549 |
| Red Hat Enterprise Linux | RHEL-9 | libpngx86_64 | Advisory build | 2:1.6.37-12.el9_6.4 | RHSA-2026:20548 |
| Red Hat Enterprise Linux | RHEL-9 | libpngx86_64 | Advisory build | 2:1.6.37-12.el9_7.4 | RHSA-2026:18028 |
| Red Hat Enterprise Linux | RHEL-9 | libpngx86_64 | Advisory build | 2:1.6.37-15.el9_8.2 | RHSA-2026:28255 |
| Ubuntu | xenial | libpng | Advisory build | 1.2.54-1ubuntu1.1+esm3 | USN-8639-1 |
| AlmaLinux | 10 | java-21-openjdk | Advisory build | 1:21.0.11.0.10-2.el10_2.alma.1 | ALSA-2026:9689 |
| AlmaLinux | 10 | java-21-openjdk-demo | Advisory build | 1:21.0.11.0.10-2.el10_2.alma.1 | ALSA-2026:9689 |
| AlmaLinux | 10 | java-21-openjdk-demo-fastdebug | Advisory build | 1:21.0.11.0.10-2.el10_2.alma.1 | ALSA-2026:9689 |
| AlmaLinux | 10 | java-21-openjdk-demo-slowdebug | Advisory build | 1:21.0.11.0.10-2.el10_2.alma.1 | ALSA-2026:9689 |
| AlmaLinux | 10 | java-21-openjdk-devel | Advisory build | 1:21.0.11.0.10-2.el10_2.alma.1 | ALSA-2026:9689 |
| AlmaLinux | 10 | java-21-openjdk-devel-fastdebug | Advisory build | 1:21.0.11.0.10-2.el10_2.alma.1 | ALSA-2026:9689 |
| AlmaLinux | 10 | java-21-openjdk-devel-slowdebug | Advisory build | 1:21.0.11.0.10-2.el10_2.alma.1 | ALSA-2026:9689 |
| AlmaLinux | 10 | java-21-openjdk-fastdebug | Advisory build | 1:21.0.11.0.10-2.el10_2.alma.1 | ALSA-2026:9689 |
| AlmaLinux | 10 | java-21-openjdk-headless | Advisory build | 1:21.0.11.0.10-2.el10_2.alma.1 | ALSA-2026:9689 |
| AlmaLinux | 10 | java-21-openjdk-headless-fastdebug | Advisory build | 1:21.0.11.0.10-2.el10_2.alma.1 | ALSA-2026:9689 |
| AlmaLinux | 10 | java-21-openjdk-headless-slowdebug | Advisory build | 1:21.0.11.0.10-2.el10_2.alma.1 | ALSA-2026:9689 |
| AlmaLinux | 10 | java-21-openjdk-javadoc | Advisory build | 1:21.0.11.0.10-2.el10_2.alma.1 | ALSA-2026:9689 |
| AlmaLinux | 10 | java-21-openjdk-javadoc-zip | Advisory build | 1:21.0.11.0.10-2.el10_2.alma.1 | ALSA-2026:9689 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Showing the first 100 linked advisory records.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pnggroup | libpng | >= 1.2.1, < 1.6.56 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-416 CWE-416: Use After Free
References
6- https://github.com/pnggroup/libpng/commit/23019269764e35ed8458e517f1897bd3c54820eb
- https://github.com/pnggroup/libpng/commit/7ea9eea884a2328cc7fdcb3c0c00246a50d90667
- https://github.com/pnggroup/libpng/commit/a3a21443ed12bfa1ef46fa0d4fb2b74a0fa34a25
- https://github.com/pnggroup/libpng/commit/c1b0318b393c90679e6fa5bc1d329fd5d5012ec1
- https://github.com/pnggroup/libpng/pull/824
- https://github.com/pnggroup/libpng/security/advisories/GHSA-m4pc-p4q3-4c7j
Provider assertions
2GitHub_M · cna
LIBPNG has use-after-free via pointer aliasing in `png_set_tRNS` and `png_set_PLTE`
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 85299b45841963b26ed5c8ad12cd00d565e29b2072879e45d1561b209d6c3f78
- Ingested
- 23 Sep 2026, 09:10:36 UTC
- Source record
- Official CVE record