CVE-2019-6129 Denial of service in n/a
A memory leak in libpng's png_create_info_struct function can lead to resource exhaustion and denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2019-6129?
CVE-2019-6129 is a medium-severity denial of service vulnerability in Libpng Libpng, published on 11 Jan 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-401
Which versions are affected by CVE-2019-6129?
It affects 1 product.
Linux distribution packages (1)
libpng16 openSUSE:Tumbleweed | All versions | 1.6.40-2.1 |
Products include Libpng Libpng.
How do I fix CVE-2019-6129?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2019-6129 being exploited?
There is no known exploitation of CVE-2019-6129 in the wild and no public exploit code.
Other vulnerabilities in Libpng Libpng
- CVE-2017-12652 Denial of service in n/a
- CVE-2018-14550 Out-of-bounds write in libpng
- CVE-2026-25646 LIBPNG has a heap buffer overflow in png_set_quantize
- CVE-2026-33636 LIBPNG has ARM NEON Palette Expansion Out-of-Bounds Read on AArch64
- CVE-2026-33416 LIBPNG has use-after-free via pointer aliasing in `png_set_tRNS` and `png_set_PLTE`
Sources
Also known as DEBIAN-CVE-2019-6129, GHSA-rrr4-g4q4-hgr3, UBUNTU-CVE-2019-6129, openSUSE-SU-2024:13577-1.