Buffer overflow in OptiPNG - CVE-2017-16938

 

Buffer overflow in OptiPNG - CVE-2017-16938

Published: November 24, 2017 / Updated: August 8, 2020


Vulnerability identifier: #VU37876
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2017-16938
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: cosmin
Affected software:
OptiPNG

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

A global buffer overflow in OptiPNG 0.7.6 allows remote attackers to cause a denial-of-service attack or other unspecified impact with a maliciously crafted GIF format file, related to an uncontrolled loop in the LZWReadByte function of the gifread.c file.


How to mitigate CVE-2017-16938

Install update from vendor's website.

Sources