CVE-2017-14173 Integer overflow in n/a

Medium 6.5 Published Updated

An integer overflow in ImageMagick's TXT image reader causes an infinite loop when processing crafted files, leading to denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2017-14173?

CVE-2017-14173 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 7 Sep 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

In the function ReadTXTImage() in coders/txt.c in ImageMagick 7.0.6-10, an integer overflow might occur for the addition operation "GetQuantumRange(depth)+1" when "depth" is large, producing a smaller value than expected. As a result, an infinite loop would occur for a crafted TXT file that claims a very large "max_value" value.

Weakness: CWE-835, CWE-190

Which versions are affected by CVE-2017-14173?

It affects 3 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Imagemagick Imagemagick.

How do I fix CVE-2017-14173?

Upgrade to a fixed version.

Is CVE-2017-14173 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-14173, GHSA-gmpq-cwfx-xxr2, UBUNTU-CVE-2017-14173.

Is CVE-2017-14173 in your software?

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

Check your SBOMs for free