Critical Heap Buffer Overflow in libpng15 Package - Security Update Required
Summary
ALSA-2026:6439: Important: libpng15 security update. Affects libpng15 versions < 1.5.30-8.el8_10. Fixed in 1.5.30-8.el8_10. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
libpng15 is a package that provides version 1.5 of the libpng library, which is used for manipulating PNG (Portable Network Graphics) image format files. This library is essential for applications that require image processing capabilities, particularly those dealing with PNG files. The libpng15 package is considered outdated, and users are encouraged to upgrade to the latest version for improved security and functionality.
Vulnerability Detail
The vulnerability identified as CVE-2026-25646 is a heap buffer overflow in the png_set_quantize function of the libpng library. This flaw can potentially allow an attacker to execute arbitrary code on the affected system, leading to severe security risks. The vulnerability arises from improper handling of memory allocation, which can be exploited if an application processes specially crafted PNG files. The consequences of this vulnerability can range from data corruption to complete system compromise.
How To Fix
Minimum fixed version
1.5.30-8.el8_10
This is the first release that contains the fix.
sudo dnf update libpng15
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
If immediate updating is not possible, consider temporarily disabling the use of the libpng15 package in applications that process PNG files until the update can be applied. Additionally, avoid opening untrusted PNG files to mitigate the risk of exploitation.
Conclusion
The libpng15 package has a critical vulnerability that poses significant security risks. Users are strongly advised to update to the patched version to protect their systems. For those unable to update immediately, implementing workarounds can help mitigate the risks until a proper fix is applied.
See every vulnerability recorded for libpng15 →
FAQ
The vulnerability is a heap buffer overflow that can allow attackers to execute arbitrary code by exploiting the png_set_quantize function.
You can use Vulert, which monitors open-source vulnerabilities in your software. By uploading your manifest file like package-lock.json, you can check for vulnerabilities without needing to install any software.
The impacts can range from data corruption to unauthorized access and control over the affected system, depending on how the vulnerability is exploited.
Yes, the patched version of the libpng15 package is 1.5.30-8.el8_10. Users should update to this version to mitigate the vulnerability.
As a temporary measure, avoid using the libpng15 package in applications that handle PNG files and refrain from opening untrusted PNG files.
Related vulnerabilities
Recent vulnerabilities recorded for libpng15.