CVE-2008-1382 Memory corruption in n/a
Attackers can cause crashes or execute code by tricking users into opening malicious PNG files with zero-length unknown chunks in libpng.
- 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-2008-1382?
CVE-2008-1382 is a high-severity memory corruption vulnerability in Libpng Libpng, published on 14 Apr 2008. 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
libpng 1.0.6 through 1.0.32, 1.2.0 through 1.2.26, and 1.4.0beta01 through 1.4.0beta19 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via a PNG file with zero length "unknown" chunks, which trigger an access of uninitialized memory.
Weakness: CWE-189
Which versions are affected by CVE-2008-1382?
It affects 1 product.
Products include Libpng Libpng.
How do I fix CVE-2008-1382?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2008-1382 being exploited?
There is no known exploitation of CVE-2008-1382 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 CVE-2007-6070, GHSA-wcwj-fgp8-wvg8.