All reports
Low

optipng: global buffer overflow in gifread.c:LZWReadByte when parsing malicious GIF

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2017-16938

Probability of exploitation in the next 30 days: 1.86%

FIRST EPSS · 2026-11-22

Description

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.

An invalid memory write flaw was found in the way OptiPNG handles processing of GIF files. This flaw could potentially be used to crash the OptiPNG program by tricking it into processing crafted GIF files.