CVE-2009-5063 Denial of service in n/a
A memory leak in libpng allows attackers to cause denial of service via a crafted JPEG image with a negative embedded profile length.
- 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-2009-5063?
CVE-2009-5063 is a medium-severity denial of service vulnerability in Libpng Libpng, published on 31 Aug 2011. 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
Memory leak in the embedded_profile_len function in pngwutil.c in libpng before 1.2.39beta5 allows context-dependent attackers to cause a denial of service (memory leak or segmentation fault) via a JPEG image containing an iCCP chunk with a negative embedded profile length. NOTE: this is due to an incomplete fix for CVE-2006-7244.
Weakness: CWE-401
Which versions are affected by CVE-2009-5063?
It affects 1 product.
Products include Libpng Libpng.
How do I fix CVE-2009-5063?
Upgrade to a fixed version.
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-2009-5063 being exploited?
There is no known exploitation of CVE-2009-5063 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 AZL-41075, GHSA-w9jf-3rvw-rjrv.