Every CVE Search/ Get API key

CVE-2017-12652

libpng before 1.6.32 does not properly check the length of chunks against the user limit.

9.8 CriticalFix available

CVE-2017-12652 is a critical vulnerability (CVSS 9.8) in Libpng, published July 10, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.11%, the 90th percentile. Fixed in fltk 1.3.8-1.

libpng before 1.6.32 does not properly check the length of chunks against the user limit.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

4.11%Up 3.1 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

libpng before 1.6.32 does not properly check the length of chunks against the user limit.

Record
CVE-2017-12652
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-20
Updated
2026-11-02
CVE List 9.8

libpng before 1.6.32 does not properly check the length of chunks against the user limit.

Record
CVE-2017-12652
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-20
Updated
2026-11-02
EUVDEUVD-2017-4191 9.8

libpng before 1.6.32 does not properly check the length of chunks against the user limit.

Record
EUVD-2017-4191
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-94xg-qm4r-9r7c 9.8

libpng before 1.6.32 does not properly check the length of chunks against the user limit.

libpng before 1.6.32 does not properly check the length of chunks against the user limit.

Record
GHSA-94xg-qm4r-9r7c
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-20
Updated
2026-11-02
OSVAZL-43468 9.8

CVE-2017-12652 affecting package libpng15 1.5.30-15

libpng before 1.6.32 does not properly check the length of chunks against the user limit.

Record
AZL-43468
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVAZL-43573 9.8

CVE-2017-12652 affecting package libpng12 1.2.57-16

libpng before 1.6.32 does not properly check the length of chunks against the user limit.

Record
AZL-43573
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 18 moreShow less
OSVAZL-44469 9.8

CVE-2017-12652 affecting package libpng12 1.2.57-16

libpng before 1.6.32 does not properly check the length of chunks against the user limit.

Record
AZL-44469
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVAZL-44973 9.8

CVE-2017-12652 affecting package fltk for versions less than 1.3.8-1

libpng before 1.6.32 does not properly check the length of chunks against the user limit.

Record
AZL-44973
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVAZL-45045 9.8

CVE-2017-12652 affecting package libpng15 1.5.30-15

libpng before 1.6.32 does not properly check the length of chunks against the user limit.

Record
AZL-45045
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVAZL-45102 9.8

CVE-2017-12652 affecting package openjpeg2 2.3.1-12

libpng before 1.6.32 does not properly check the length of chunks against the user limit.

Record
AZL-45102
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVBELL-CVE-2017-12652 9.8

CVE-2017-12652 does not affect BellSoft software

Record
BELL-CVE-2017-12652
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSV 9.8

libpng before 1.6.32 does not properly check the length of chunks against the user limit.

Record
CVE-2017-12652
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2017-12652 9.8

libpng before 1.6.32 does not properly check the length of chunks against the user limit.

Record
DEBIAN-CVE-2017-12652
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2024-2091 9.8

syslinux security update

Security Fix(es):

The png_format_buffer function in pngerror.c in libpng 1.0.x before 1.0.55, 1.2.x before 1.2.45, 1.4.x before 1.4.8, and 1.5.x before 1.5.4 allows remote attackers to cause a denial of service (application crash) via a crafted PNG image that triggers an out-of-bounds read during the copying of error-message data. NOTE: this vulnerability exists because of a CVE-2004-0421 regression. NOTE: this is called an off-by-one error by some sources.(CVE-2011-2501)

Buffer overflow in libpng 1.0.x before 1.0.55, 1.2.x before 1.2.45, 1.4.x before 1.4.8, and 1.5.x before 1.5.4, when used by an application that calls the png_rgb_to_gray function but not the png_set_expand function, allows remote attackers to overwrite memory with an arbitrary amount of data, and possibly have unspecified other impact, via a crafted PNG image.(CVE-2011-2690)

The png_err function in pngerror.c in libpng 1.0.x before 1.0.55, 1.2.x before 1.2.45, 1.4.x before 1.4.8, and 1.5.x before 1.5.4 makes a function call using a NULL pointer argument instead of an empty-string argument, which allows remote attackers to cause a denial of service (application crash) via a crafted PNG image.(CVE-2011-2691)

The png_handle_sCAL function in pngrutil.c in libpng 1.0.x before 1.0.55, 1.2.x before 1.2.45, 1.4.x before 1.4.8, and 1.5.x before 1.5.4 does not properly handle invalid sCAL chunks, which allows remote attackers to cause a denial of service (memory corruption and application crash) or possibly have unspecified other impact via a crafted PNG image that triggers the reading of uninitialized memory.(CVE-2011-2692)

Integer signedness error in the png_inflate function in pngrutil.c in libpng before 1.4.10beta01, as used in Google Chrome before 17.0.963.83 and other products, allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted PNG file, a different vulnerability than CVE-2011-3026.(CVE-2011-3045)

The png_set_text_2 function in pngset.c in libpng 1.0.x before 1.0.59, 1.2.x before 1.2.49, 1.4.x before 1.4.11, and 1.5.x before 1.5.10 allows remote attackers to cause a denial of service (crash) or execute arbitrary code via a crafted text chunk in a PNG image file, which triggers a memory allocation failure that is not properly handled, leading to a heap-based buffer overflow.(CVE-2011-3048)

The png_push_read_zTXt function in pngpread.c in libpng 1.0.x before 1.0.58, 1.2.x before 1.2.48, 1.4.x before 1.4.10, and 1.5.x before 1.5.10 allows remote attackers to cause a denial of service (out-of-bounds read) via a large avail_in field value in a PNG image.(CVE-2012-3425)

The png_convert_to_rfc1123 function in png.c in libpng 1.0.x before 1.0.64, 1.2.x before 1.2.54, and 1.4.x before 1.4.17 allows remote attackers to obtain sensitive process memory information via crafted tIME chunk data in an image file, which triggers an out-of-bounds read.(CVE-2015-7981)

Multiple buffer overflows in the (1) png_set_PLTE and (2) png_get_PLTE functions in libpng before 1.0.64, 1.1.x and 1.2.x before 1.2.54, 1.3.x and 1.4.x before 1.4.17, 1.5.x before 1.5.24, and 1.6.x before 1.6.19 allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a small bit-depth value in an IHDR (aka image header) chunk in a PNG image.(CVE-2015-8126)

Buffer overflow in the png_set_PLTE function in libpng before 1.0.65, 1.1.x and 1.2.x before 1.2.55, 1.3.x, 1.4.x before 1.4.18, 1.5.x before 1.5.25, and 1.6.x before 1.6.20 allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a small bit-depth value in an IHDR (aka image header) chunk in a PNG image. NOTE: this vulnerability exists because of an incomplete fix for CVE-2015-8126.(CVE-2015-8472)

Integer underflow in the png_check_keyword function in pngwutil.c in libpng 0.90 through 0.99, 1.0.x before 1.0.66, 1.1.x and 1.2.x before 1.2.56, 1.3.x and 1.4.x…

Record
OESA-2024-2091
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2020:3901 3.7

Red Hat Security Advisory: libpng security update

Record
RHSA-2020:3901
CVSS 3.0
3.7 LowCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVUBUNTU-CVE-2017-12652 9.8

libpng before 1.6.32 does not properly check the length of chunks against the user limit.

Record
UBUNTU-CVE-2017-12652
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVopenSUSE-SU-2024:10971-1 No score

libpng12-0-1.2.59-1.9 on GA media

These are all security issues fixed in the libpng12-0-1.2.59-1.9 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10971-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:10972-1 No score

libpng16-16-1.6.37-3.3 on GA media

These are all security issues fixed in the libpng16-16-1.6.37-3.3 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10972-1
Updated
2026-11-02
OSVSUSE-SU-2019:3060-2 No score

Security update for libpng16

This update for libpng16 fixes the following issues:

Security issues fixed:

  • CVE-2019-7317: Fixed a use-after-free vulnerability, triggered when png_image_free() was called under png_safe_execute (bsc#1124211).
  • CVE-2017-12652: Fixed an Input Validation Error related to the length of chunks (bsc#1141493).
Record
SUSE-SU-2019:3060-2
Updated
2026-11-02
OSVSUSE-SU-2020:0911-1 No score

Security update for libpng12

This update for libpng12 fixes the following issues:

Security issue fixed:

  • CVE-2017-12652: Fixed an Input Validation Error related to the length of chunks (bsc#1141493).
Record
SUSE-SU-2020:0911-1
Updated
2026-11-02
OSVSUSE-SU-2023:3799-1 No score

Security update for libpng15

This update for libpng15 fixes the following issues:

Security issue fixed:

  • CVE-2017-12652: Fixed an Input Validation Error related to the length of chunks (bsc#1141493).
Record
SUSE-SU-2023:3799-1
Updated
2026-11-02
OSVSUSE-SU-2026:1716-1 No score

Security update for libpng12

This update for libpng12 fixes the following issues:

Update to version 1.2.59 (jsc#PED-16191).

Security issues :

  • CVE-2017-12652: missing chunk length check can lead to sensitive information disclosure, data corruption or crash (bsc#1141493).
  • CVE-2026-33416: use-after-free via pointer aliasing in png_set_tRNS and png_set_PLTE can lead to arbitrary code execution (bsc#1260754).
  • CVE-2026-34757: use-after-free in png_set_PLTE, png_set_tRNS and png_set_hIST can lead to corrupted chunk data and potential heap information disclosure (bsc#1261957).
Record
SUSE-SU-2026:1716-1
Updated
2026-11-02
OSVUSN-5432-1 No score

libpng vulnerabilities

It was discovered that libpng incorrectly handled memory when parsing certain PNG files. If a user or automated system were tricked into opening a specially crafted PNG file, an attacker could use this issue to cause libpng to crash, resulting in a denial of service, or possible execute arbitrary code. (CVE-2017-12652)

Zhengxiong Luo discovered that libpng incorrectly handled memory when parsing certain PNG files. If a user or automated system were tricked into opening a specially crafted PNG file, an attacker could use this issue to cause libpng to crash, resulting in a denial of service, or possible execute arbitrary code. (CVE-2018-14048)

Record
USN-5432-1
Updated
2026-11-02
OSVUSN-5432-2 No score

libpng1.6 vulnerabilities

USN-5432-1 fixed vulnerabilities in libpng. This update provides the corresponding updates for libpng1.6.

Original advisory details:

It was discovered that libpng incorrectly handled memory when parsing certain PNG files. If a user or automated system were tricked into opening a specially crafted PNG file, an attacker could use this issue to cause libpng to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2017-12652)

Zhengxiong Luo discovered that libpng incorrectly handled memory when parsing certain PNG files. If a user or automated system were tricked into opening a specially crafted PNG file, an attacker could use this issue to cause libpng to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2018-14048)

Record
USN-5432-2
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libpng15
Azure Linux:2
through 1.5.30-15 None known
libpng12
Azure Linux:2
through 1.2.57-16 None known
libpng12
Azure Linux:3
through 1.2.57-16 None known
fltk
Azure Linux:3
before 1.3.8-1
1.3.8-1
libpng15
Azure Linux:3
through 1.5.30-15 None known
openjpeg2
Azure Linux:3
through 2.3.1-12 None known
libpng1.6
Debian:12
before 1.6.32-1
1.6.32-1
libpng1.6
Debian:13
before 1.6.32-1
1.6.32-1
libpng1.6
Debian:14
before 1.6.32-1
1.6.32-1
syslinux
openEuler:24.03-LTS
before 6.04-16.oe2403
6.04-16.oe2403
Show 43 moreShow less
Affected packages
PackageAffectedFixed
syslinux
openEuler:22.03-LTS-SP4
before 6.04-16.oe2203sp4
6.04-16.oe2203sp4
syslinux
openEuler:22.03-LTS-SP3
before 6.04-16.oe2203sp3
6.04-16.oe2203sp3
syslinux
openEuler:20.03-LTS-SP4
before 6.04-14.oe2003sp4
6.04-14.oe2003sp4
syslinux
openEuler:22.03-LTS-SP1
before 6.04-16.oe2203sp1
6.04-16.oe2203sp1
libpng
Red Hat:enterprise_linux:7::client
before 2:1.5.13-8.el7
2:1.5.13-8.el7
libpng-debuginfo
Red Hat:enterprise_linux:7::client
before 2:1.5.13-8.el7
2:1.5.13-8.el7
libpng-devel
Red Hat:enterprise_linux:7::client
before 2:1.5.13-8.el7
2:1.5.13-8.el7
libpng-static
Red Hat:enterprise_linux:7::client
before 2:1.5.13-8.el7
2:1.5.13-8.el7
libpng
Red Hat:enterprise_linux:7::computenode
before 2:1.5.13-8.el7
2:1.5.13-8.el7
libpng-debuginfo
Red Hat:enterprise_linux:7::computenode
before 2:1.5.13-8.el7
2:1.5.13-8.el7
libpng-devel
Red Hat:enterprise_linux:7::computenode
before 2:1.5.13-8.el7
2:1.5.13-8.el7
libpng-static
Red Hat:enterprise_linux:7::computenode
before 2:1.5.13-8.el7
2:1.5.13-8.el7
libpng
Red Hat:enterprise_linux:7::server
before 2:1.5.13-8.el7
2:1.5.13-8.el7
libpng-debuginfo
Red Hat:enterprise_linux:7::server
before 2:1.5.13-8.el7
2:1.5.13-8.el7
libpng-devel
Red Hat:enterprise_linux:7::server
before 2:1.5.13-8.el7
2:1.5.13-8.el7
libpng-static
Red Hat:enterprise_linux:7::server
before 2:1.5.13-8.el7
2:1.5.13-8.el7
libpng
Red Hat:enterprise_linux:7::workstation
before 2:1.5.13-8.el7
2:1.5.13-8.el7
libpng-debuginfo
Red Hat:enterprise_linux:7::workstation
before 2:1.5.13-8.el7
2:1.5.13-8.el7
libpng-devel
Red Hat:enterprise_linux:7::workstation
before 2:1.5.13-8.el7
2:1.5.13-8.el7
libpng-static
Red Hat:enterprise_linux:7::workstation
before 2:1.5.13-8.el7
2:1.5.13-8.el7
libpng16
SUSE:OpenStack Cloud 7
before 1.6.8-15.5.2
1.6.8-15.5.2
libpng16
SUSE:OpenStack Cloud 8
before 1.6.8-15.5.2
1.6.8-15.5.2
libpng16
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
before 1.6.8-15.5.2
1.6.8-15.5.2
libpng16
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 1.6.8-15.5.2
1.6.8-15.5.2
libpng16
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 1.6.8-15.5.2
1.6.8-15.5.2
libpng16
SUSE:Linux Enterprise Server 12 SP1-LTSS
before 1.6.8-15.5.2
1.6.8-15.5.2
libpng16
SUSE:Linux Enterprise Server 12 SP2-LTSS
before 1.6.8-15.5.2
1.6.8-15.5.2
libpng16
SUSE:Linux Enterprise Server 12 SP2-BCL
before 1.6.8-15.5.2
1.6.8-15.5.2
libpng16
SUSE:Linux Enterprise Server 12 SP3-LTSS
before 1.6.8-15.5.2
1.6.8-15.5.2
libpng16
SUSE:Linux Enterprise Server 12 SP3-BCL
before 1.6.8-15.5.2
1.6.8-15.5.2
libpng16
SUSE:Enterprise Storage 5
before 1.6.8-15.5.2
1.6.8-15.5.2
libpng12
SUSE:Linux Enterprise Software Development Kit 12 SP4
before 1.2.50-20.3.2
1.2.50-20.3.2
libpng12
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 1.2.50-20.3.2
1.2.50-20.3.2
libpng12
SUSE:Linux Enterprise Server 12 SP4
before 1.2.50-20.3.2
1.2.50-20.3.2
libpng12
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
before 1.2.50-20.3.2
1.2.50-20.3.2
libpng12
SUSE:Linux Enterprise Server 12 SP5
before 1.2.50-20.3.2
1.2.50-20.3.2
libpng12
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 1.2.50-20.3.2
1.2.50-20.3.2
libpng15
SUSE:Linux Enterprise Server 12 SP5
before 1.5.22-10.4.1
1.5.22-10.4.1
libpng15
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 1.5.22-10.4.1
1.5.22-10.4.1
libpng
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
1.2.49-4ubuntu11.2.49-5ubuntu11.2.50-1ubuntu11.2.50-1ubuntu21.2.50-1ubuntu2.14.04.1
Show 4 moreShow less
1.2.50-1ubuntu2.14.04.21.2.50-1ubuntu2.14.04.31.2.50-1ubuntu2.14.04.3+esm11.2.50-1ubuntu2.14.04.3+esm2
None known
libpng
Ubuntu:Pro:16.04:LTS
before 1.2.54-1ubuntu1.1+esm1, plus listed versions
1.2.51-0ubuntu31.2.54-11.2.54-1ubuntu11.2.54-1ubuntu1.1
1.2.54-1ubuntu1.1+esm1
libpng1.6
Ubuntu:Pro:16.04:LTS
before 1.6.20-2ubuntu0.1~esm1, plus listed versions
1.6.20-2
1.6.20-2ubuntu0.1~esm1
libpng16
openSUSE:Tumbleweed
before 1.6.37-3.3
1.6.37-3.3

History

History
WhenChangedSources
2026-11-02createdCVE List, EUVD, GitHub Advisories, NVD, OSV

References

Show 48 moreShow less
This page doesn't list everything

Left out here: the rest of 1 source description. The JSON record has them.

MoveEnter Open