CVE-2026-112020

LodePNG through 20261006 Heap Out-of-Bounds Read via getFilterTypesInterlaced()

Published Oct 18, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
LodePNG through 20261006 contains a heap out-of-bounds read vulnerability in lodepng::getFilterTypesInterlaced() in lodepng_util.cpp that lacks bounds checks on decompressed IDAT data. Attackers can supply a crafted interlaced PNG declaring a raster larger than its IDAT stream to disclose adjacent heap memory or crash applications.

Analysis

AI-generated

Technical impact

The vulnerability lies in LodePNG’s getFilterTypesInterlaced() routine in lodepng_util.cpp. Lacking bounds checks on the decompressed IDAT data, a malicious PNG can request a raster larger than the actual IDAT stream, causing the program to read beyond the intended heap region. This results in disclosure of adjacent heap memory contents or a potential crash, compromising confidentiality or availability of the application. The weakness is identified as CWE‑125, an out‑of‑bounds read.

Affected Systems

The affected product is LVandEve’s LodePNG library, versions up to and including 20261006. Any application that uses this library to decode interlaced PNG images without further validation may be impacted. Users of newer releases that contain the patched implementation are not affected.

Risk and Exploitability

The CVSS score of 6.9 indicates medium severity. EPSS data is not available, and the issue is not listed in KEV, suggesting no widespread exploitation has been observed yet. However, since the flaw allows arbitrary heap memory disclosure, an attacker with the ability to supply crafted PNG files can potentially read sensitive data or crash the host application. The vulnerability is local to the execution context of the library and does not require elevated privileges, but it enables an attacker to influence the application’s behavior during decoding.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the LodePNG library to a version newer than 20261006 that implements bounds checking in getFilterTypesInterlaced().
  • Ensure that all decoded PNG data comes from trusted or fully validated sources before invoking the library’s decoding functions.
  • If an upgrade is not immediately possible, isolate the decoding process in a restricted environment such as a sandbox or container with strict memory limits and monitor for anomalous memory accesses.

Generated by OpenCVE AI on October 18, 2026 at 12:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description LodePNG through 20261006 contains a heap out-of-bounds read vulnerability in lodepng::getFilterTypesInterlaced() in lodepng_util.cpp that lacks bounds checks on decompressed IDAT data. Attackers can supply a crafted interlaced PNG declaring a raster larger than its IDAT stream to disclose adjacent heap memory or crash applications.
Title LodePNG through 20261006 Heap Out-of-Bounds Read via getFilterTypesInterlaced()
First Time appeared Lodev
Lodev lodepng
Weaknesses CWE-125
CPEs cpe:2.3:a:lodev:lodepng:*:*:*:*:*:*:*:*
Vendors & Products Lodev
Lodev lodepng
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 22, 2026, 2:15 AM
Reserved
Oct 18, 2026, 1:24 AM
Status
Deferred
Published
Oct 18, 2026, 12:17 PM
Modified
Oct 22, 2026, 3:16 AM