libpng memory corruption in png_set_tRNS function
CVE-2026-58936Critical
A use-after-free vulnerability exists in the png_set_tRNS function of pngset.c in libpng. An attacker can exploit this by providing a specially crafted PNG file, which could cause memory corruption and lead to remote code execution. No user interaction or additional privileges are required for exploitation.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H