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: 8.6 [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]
CVE-ID: CVE-2017-16938
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

OptiPNG
Gentoo Linux
Fedora
optipng

How to mitigate CVE-2017-16938

Install update from vendor's website.

optipng - addressed in versions 0.7.6-5.fc27, 0.7.6-6.el6, 0.7.6-6.fc25, 0.7.6-6.fc26

External References

Related Security Bulletins