CVE Database›Document archive›CVE-2026-3713

CVE-2026-3713

libpng: libpng: Heap-based buffer overflow in pnm2png allows information disclosure and denial of service

Loading…

Severity

Moderate

Red Hat Product Security

5.3

CVSS 3.1

Review impact separately from score.

Published · March 8, 2026

Updated · October 12, 2026

Description

A flaw was found in libpng. A local attacker could exploit this vulnerability by manipulating the width/height arguments in the do_pnm2png function of the pnm2png component. This manipulation causes a heap-based buffer overflow, which could lead to information disclosure and denial of service (DoS).

Statement

This MODERATE impact heap-based buffer overflow in the pnm2png utility of libpng requires local execution to exploit.

The libpng packages shipped with Red Hat Enterprise Linux are not affected by this vulnerability.

The issue originates from the pnm2png utility present in the upstream libpng source tree under the contrib/pngminus/ directory. This component is not part of the libpng build process in RHEL, is not included in the packaging specification, and is not present in any shipped binary RPMs.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

To mitigate this vulnerability, avoid processing untrusted image data with the pnm2png utility. Restrict execution of pnm2png to trusted users and ensure that only trusted image files are processed.

CVSS / CWE

CVSS 3.1 · 5.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

CWE-131 · Incorrect Calculation of Buffer Size