CVE-2017-12652 Denial of service in n/a
An attacker can cause a denial of service by providing a crafted PNG file that bypasses chunk length checks in libpng.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-12652?
CVE-2017-12652 is a critical denial of service vulnerability in Libpng Libpng, published on 10 Jul 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
libpng before 1.6.32 does not properly check the length of chunks against the user limit.
Weakness: CWE-20
Which versions are affected by CVE-2017-12652?
It affects 2 products.
Linux distribution packages (24)
libpng Red Hat:enterprise_linux:7::client | All versions | 2:1.5.13-8.el7 |
libpng-debuginfo Red Hat:enterprise_linux:7::client | All versions | 2:1.5.13-8.el7 |
libpng-devel Red Hat:enterprise_linux:7::client | All versions | 2:1.5.13-8.el7 |
libpng-static Red Hat:enterprise_linux:7::client | All versions | 2:1.5.13-8.el7 |
libpng Red Hat:enterprise_linux:7::computenode | All versions | 2:1.5.13-8.el7 |
libpng-debuginfo Red Hat:enterprise_linux:7::computenode | All versions | 2:1.5.13-8.el7 |
libpng-devel Red Hat:enterprise_linux:7::computenode | All versions | 2:1.5.13-8.el7 |
libpng-static Red Hat:enterprise_linux:7::computenode | All versions | 2:1.5.13-8.el7 |
libpng Red Hat:enterprise_linux:7::server | All versions | 2:1.5.13-8.el7 |
libpng-debuginfo Red Hat:enterprise_linux:7::server | All versions | 2:1.5.13-8.el7 |
libpng-devel Red Hat:enterprise_linux:7::server | All versions | 2:1.5.13-8.el7 |
libpng-static Red Hat:enterprise_linux:7::server | All versions | 2:1.5.13-8.el7 |
libpng Red Hat:enterprise_linux:7::workstation | All versions | 2:1.5.13-8.el7 |
libpng-debuginfo Red Hat:enterprise_linux:7::workstation | All versions | 2:1.5.13-8.el7 |
libpng-devel Red Hat:enterprise_linux:7::workstation | All versions | 2:1.5.13-8.el7 |
libpng-static Red Hat:enterprise_linux:7::workstation | All versions | 2:1.5.13-8.el7 |
libpng12 SUSE:Linux Enterprise Server 12 SP4 | All versions | 1.2.50-20.3.2 |
libpng12 SUSE:Linux Enterprise Server 12 SP5 | All versions | 1.2.50-20.3.2 |
libpng15 SUSE:Linux Enterprise Server 12 SP5 | All versions | 1.5.22-10.4.1 |
libpng12 SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | All versions | 1.2.50-20.3.2 |
libpng12 SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | All versions | 1.2.50-20.3.2 |
libpng15 SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | All versions | 1.5.22-10.4.1 |
libpng12 SUSE:Linux Enterprise Software Development Kit 12 SP4 | All versions | 1.2.50-20.3.2 |
libpng12 SUSE:Linux Enterprise Software Development Kit 12 SP5 | All versions | 1.2.50-20.3.2 |
Products include Libpng Libpng, Netapp Active Iq Unified Manager.
How do I fix CVE-2017-12652?
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-2017-12652 being exploited?
There is no known exploitation of CVE-2017-12652 in the wild and no public exploit code.
Other vulnerabilities in Libpng Libpng
- 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`
- CVE-2016-10087 Null dereference in n/a
Sources
Also known as AZL-43468, AZL-43573, AZL-44469, AZL-44973, AZL-45045, AZL-45102 and 6 more.