CVE-2017-16938 Memory corruption in n/a

High 7.8 Published Updated

Remote attackers can cause denial of service via a maliciously crafted GIF file due to a buffer overflow in OptiPNG.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2017-16938?

CVE-2017-16938 is a high-severity memory corruption vulnerability in n/a, published on 24 Nov 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-119

Which versions are affected by CVE-2017-16938?

It affects 1 product.

Products include Optipng Project Optipng.

How do I fix CVE-2017-16938?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2017-16938 being exploited?

There is no known exploitation of CVE-2017-16938 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2017-16938, DLA-1196-1, GHSA-78q2-wp6j-q4hp, UBUNTU-CVE-2017-16938.

Is CVE-2017-16938 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free