Memory Leak Affecting libpng1.6 package, versions <1.6.39-1


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
1.61% (75th 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-20335102
  • published30 Sept 2026
  • disclosed11 Jan 2019

Introduced: 11 Jan 2019

CVE-2019-6129  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade Echo:latest libpng1.6 to version 1.6.39-1 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.

png_create_info_struct in png.c in libpng 1.6.36 has a memory leak, as demonstrated by pngcp. NOTE: a third party has stated "I don't think it is libpng's job to free this buffer.