Critical Security Update for libpng: Addressing Arbitrary Code Execution and Information Disclosure

libpng Updated 25 Jun 2026

Summary

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

ALSA-2026:28255: Moderate: libpng security update. Affects libpng versions < 2:1.6.37-15.el9_8.2. Fixed in 2:1.6.37-15.el9_8.2. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

libpng is a widely used library that provides functions for creating and manipulating Portable Network Graphics (PNG) image files. It is an essential component in many applications that require image processing. The library supports various features such as transparency, interlacing, and color management, making it a versatile tool for developers. However, recent vulnerabilities have been identified that could compromise the security of applications relying on this library.

Vulnerability Detail

The vulnerabilities in libpng stem from a use-after-free condition that can lead to arbitrary code execution (CVE-2026-33416) and an out-of-bounds read/write issue during Neon palette expansion, which can result in information disclosure and denial of service (CVE-2026-33636). These vulnerabilities arise from improper memory management and inadequate bounds checking, posing significant risks to applications that utilize the library.

How To Fix

Minimum fixed version

2:1.6.37-15.el9_8.2

This is the first release that contains the fix.

sudo dnf update libpng

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, if updating the package is not immediately feasible, consider disabling features that utilize the affected functionalities of libpng until the update can be applied. This may involve modifying your application's image processing capabilities to avoid reliance on the vulnerable library functions.

Conclusion

The identified vulnerabilities in libpng pose significant security risks that can affect applications relying on this library. It is crucial to update to the patched version to mitigate these risks effectively. Users are encouraged to monitor their applications for vulnerabilities using tools like Vulert, which can provide real-time alerts based on manifest files.

See every vulnerability recorded for libpng →

Share this vulnerability

FAQ

libpng is a library used for handling PNG image files, providing essential functions for image creation and manipulation.

The vulnerabilities can lead to arbitrary code execution, information disclosure, and denial of service, potentially compromising the security of applications.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Consider implementing workarounds such as disabling features that rely on the vulnerable functionalities of libpng until you can apply the update.

For detailed information about the vulnerabilities, refer to the CVE pages: CVE-2026-33416 and CVE-2026-33636.

Related vulnerabilities

Recent vulnerabilities recorded for libpng.

How To Fix

Minimum fixed version

2:1.6.37-15.el9_8.2

This is the first release that contains the fix.

sudo dnf update libpng

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