Critical Heap Buffer Overflow in libpng15 Package - Security Update Required

libpng15 Updated 04 Mar 2026

Summary

23/02/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:3031: Important: libpng15 security update. Affects libpng15 versions < 1.5.30-14.el9_7.1. Fixed in 1.5.30-14.el9_7.1. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The libpng15 package provides version 1.5 of the libpng library, which is essential for manipulating PNG (Portable Network Graphics) image format files. This library is widely used in various applications for image processing. However, due to its age, it is recommended to use the latest version of libpng unless compatibility issues arise.

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 be exploited by attackers to execute arbitrary code, potentially leading to system compromise. The issue arises from improper handling of memory allocation, which can result in memory corruption and unpredictable behavior in applications that utilize this library.

How To Fix

Minimum fixed version

1.5.30-14.el9_7.1

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 an immediate update is not feasible, consider using an alternative image processing library or ensuring that applications using libpng15 are not exposed to untrusted input that could exploit this vulnerability.

Conclusion

The libpng15 package is vulnerable to a critical heap buffer overflow that can lead to severe security risks. It is imperative to update to the patched version to safeguard your systems. Utilize tools like Vulert to monitor for vulnerabilities in your applications effectively.

See every vulnerability recorded for libpng15 →

Share this vulnerability

FAQ

CVE-2026-25646 is a security vulnerability in the libpng15 library that allows for a heap buffer overflow, potentially leading to arbitrary code execution.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Check your application against the manifest file using the Vulert playground.

Failing to update libpng15 exposes your system to potential exploitation through the heap buffer overflow, which can lead to unauthorized access and control over your system.

Yes, you can mitigate the risk by avoiding the use of untrusted images and considering alternative libraries for image processing until an update can be applied.

For more details, refer to the CVE page associated with CVE-2026-25646, which provides in-depth information about the vulnerability and its impact.

Related vulnerabilities

Recent vulnerabilities recorded for libpng15.

How To Fix

Minimum fixed version

1.5.30-14.el9_7.1

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback