Buffer Overflow Affecting libpng1.6 package, versions <1.6.39-2


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.52% (43rd 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-ECHOLATEST-LIBPNG16-20335104
  • published30 Sept 2026
  • disclosed24 Aug 2022

Introduced: 24 Aug 2022

CVE-2021-4214  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade Echo:latest libpng1.6 to version 1.6.39-2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libpng1.6 package and not the libpng1.6 package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

A heap overflow flaw was found in libpngs' pngimage.c program. This flaw allows an attacker with local network access to pass a specially crafted PNG file to the pngimage utility, causing an application to crash, leading to a denial of service.

CVSS Base Scores

version 3.1