---
id: CVE-2026-112020
title: >-
  LodePNG through 20261006 Heap Out-of-Bounds Read via
  getFilterTypesInterlaced()
summary: >-
  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 declar…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-125
vendor: lvandeve
product: lodepng
affected:
  - lodepng <= 20261006
published: '2026-10-18'
updated: '2026-10-18'
sourceUpdated: '2026-10-18T11:38:39.921Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-112020'
references:
  - url: >-
      https://hackmd.io/@haindpwn/lodepng-getfiltertypesinterlaced-short-idat-oob-read
  - url: >-
      https://github.com/lvandeve/lodepng/blob/e584a8490db1b76b81bf298c11c09d3b55d9c270/lodepng_util.cpp#L185-L203
  - url: 'https://github.com/lvandeve/lodepng'
  - url: >-
      https://www.vulncheck.com/advisories/lodepng-through-20261006-heap-out-of-bounds-read-via-getfiltertypesinterlaced
    label: >-
      VulnCheck Advisory: LodePNG through 20261006 Heap Out-of-Bounds Read via
      getFilterTypesInterlaced()
tags:
  - cve.org
ingestedAt: '2026-10-18T11:40:26.619Z'
---

## Overview

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.

## Affected

- `lodepng <= 20261006`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
