Heap-based buffer overflow in libpng - CVE-2013-7353

 

Heap-based buffer overflow in libpng - CVE-2013-7353

Published: May 6, 2014 / Updated: July 28, 2020


Vulnerability identifier: #VU32533
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2013-7353
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in Integer overflow in the png_set_unknown_chunks function in libpng/pngset.c in libpng before 1.5.14beta08. A remote attacker can use a crafted image to trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

libpng
Gentoo Linux
openEuler
libpng (Alpine package)
libpng12
libpng12-debuginfo
libpng12-debugsource
libpng12-devel

How to mitigate CVE-2013-7353

Update to version 1.5.14.

libpng - update to 1.5.14
libpng (Alpine package) - update to 1.5.14-r0
libpng12 - update to 1.2.57-12
libpng12-debuginfo - update to 1.2.57-12
libpng12-debugsource - update to 1.2.57-12
libpng12-devel - update to 1.2.57-12

External References

Related Security Bulletins