Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

suse-cvrf логотип

SUSE-SU-2026:1702-1

Опубликовано: 06 мая 2026
Источник: suse-cvrf

Описание

Security update for libpng12

This update for libpng12 fixes the following issues:

Update to version 1.2.59 (jsc#PED-16191).

  • CVE-2026-33416: use-after-free via pointer aliasing in png_set_tRNS and png_set_PLTE can lead to arbitrary code execution (bsc#1260754).
  • CVE-2026-34757: use-after-free in png_set_PLTE, png_set_tRNS and png_set_hIST can lead to corrupted chunk data and potential heap information disclosure (bsc#1261957).

Список пакетов

Image SLES12-SP5-Azure-SAP-BYOS
libpng12-0-1.2.59-20.14.1
Image SLES12-SP5-Azure-SAP-On-Demand
libpng12-0-1.2.59-20.14.1
Image SLES12-SP5-EC2-SAP-BYOS
libpng12-0-1.2.59-20.14.1
Image SLES12-SP5-EC2-SAP-On-Demand
libpng12-0-1.2.59-20.14.1
Image SLES12-SP5-GCE-SAP-BYOS
libpng12-0-1.2.59-20.14.1
Image SLES12-SP5-GCE-SAP-On-Demand
libpng12-0-1.2.59-20.14.1
SUSE Linux Enterprise Server 12 SP5-LTSS
libpng12-0-1.2.59-20.14.1
libpng12-0-32bit-1.2.59-20.14.1
libpng12-compat-devel-1.2.59-20.14.1
libpng12-devel-1.2.59-20.14.1
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5
libpng12-0-1.2.59-20.14.1
libpng12-0-32bit-1.2.59-20.14.1
libpng12-compat-devel-1.2.59-20.14.1
libpng12-devel-1.2.59-20.14.1

Описание

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.


Затронутые продукты
Image SLES12-SP5-Azure-SAP-BYOS:libpng12-0-1.2.59-20.14.1
Image SLES12-SP5-Azure-SAP-On-Demand:libpng12-0-1.2.59-20.14.1
Image SLES12-SP5-EC2-SAP-BYOS:libpng12-0-1.2.59-20.14.1
Image SLES12-SP5-EC2-SAP-On-Demand:libpng12-0-1.2.59-20.14.1

Ссылки

Описание

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.


Затронутые продукты
Image SLES12-SP5-Azure-SAP-BYOS:libpng12-0-1.2.59-20.14.1
Image SLES12-SP5-Azure-SAP-On-Demand:libpng12-0-1.2.59-20.14.1
Image SLES12-SP5-EC2-SAP-BYOS:libpng12-0-1.2.59-20.14.1
Image SLES12-SP5-EC2-SAP-On-Demand:libpng12-0-1.2.59-20.14.1

Ссылки