Critical Update Required: libpng Package Vulnerability Leading to Arbitrary Code Execution

libpng Updated 18 May 2026

Summary

18/05/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:18028: Moderate: libpng security update. Affects libpng versions < 2:1.6.37-12.el9_7.4. Fixed in 2:1.6.37-12.el9_7.4. 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 for creating and manipulating Portable Network Graphics (PNG) image format files. It provides essential functions for handling PNG images, making it a crucial component in various applications that require image processing. However, a recent security vulnerability has been identified that could allow attackers to exploit this library, leading to severe consequences for affected systems.

Vulnerability Detail

The vulnerability in libpng is classified as a use-after-free issue, which can lead to arbitrary code execution. This occurs when the program continues to use a memory location after it has been freed, potentially allowing an attacker to manipulate the program's execution flow. The specific identifier for this vulnerability is CVE-2026-33416. If exploited, this vulnerability could enable attackers to execute malicious code, compromising the integrity and security of the affected systems.

How To Fix

Minimum fixed version

2:1.6.37-12.el9_7.4

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 restricting access to applications that utilize libpng until the update can be applied. This may help mitigate the risk of exploitation while you prepare for the update.

Conclusion

The libpng security update addresses a critical vulnerability that could lead to arbitrary code execution. It is essential for users to update their packages to the latest version to protect their systems from potential exploitation. Utilizing tools like Vulert can further enhance your security posture by providing real-time monitoring for vulnerabilities.

See every vulnerability recorded for libpng →

Share this vulnerability

FAQ

The vulnerability is a use-after-free issue that can lead to arbitrary code execution, allowing attackers to execute malicious code on affected systems.

You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities. By using the Vulert playground, you can check if your application is affected without needing to sign up.

You should update the libpng and libpng-devel packages to the patched version 2:1.6.37-12.el9_7.4 to mitigate the vulnerability.

While specific exploits may not be publicly disclosed, the nature of the vulnerability allows for potential arbitrary code execution, which is a significant risk.

Vulert is a tool that monitors open-source vulnerabilities in your software using a manifest file like package-lock.json. It provides real-time alerts for vulnerabilities, helping you maintain the security of your applications.

Related vulnerabilities

Recent vulnerabilities recorded for libpng.

How To Fix

Minimum fixed version

2:1.6.37-12.el9_7.4

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