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.
Published: 2026-10-18
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Heap out‑of‑bounds read
Action: Apply patch
AI Analysis

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.

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

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 yet.

History

Thu, 22 Oct 2026 03:30:00 +0000


Sun, 18 Oct 2026 11:45:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-22T02:15:36.959Z

Reserved: 2026-10-18T01:24:55.951Z

Link: CVE-2026-112020

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-18T12:17:15.067

Modified: 2026-10-22T03:16:33.110

Link: CVE-2026-112020

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T13:45:04Z

Weaknesses