Interpretation Conflict Affecting libpng package, versions <1.6.58-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.2% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE323-LIBPNG-16752333
  • published19 May 2026
  • disclosed4 Jun 2026

Introduced: 19 May 2026

CVE-2026-40930  (opens in a new tab)
CWE-436  (opens in a new tab)

How to fix?

Upgrade Alpine:3.23 libpng to version 1.6.58-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libpng package and not the libpng package as distributed by Alpine. See How to fix? for Alpine:3.23 relevant fixed versions and status.

LIBPNG is a reference library for use in applications that process PNG (Portable Network Graphics) raster image files. In version 1.8.0, three inter-frame chunk discard paths in the push-mode APNG parser clear the chunk-header flag without consuming the chunk body and CRC, allowing attacker-controlled bytes inside an ignored ancillary chunk to be reinterpreted as a fresh chunk header on the next call to png_process_data. Commit faf06924688b62d7c1654b5ceddedbde66ffadb4 fixes the issue.