CVE-2017-14173

ImageMagick: Integer overflow in the function ReadTXTImage()

Published Sep 7, 2017 CVSS 3.1 · 6.5 Medium EPSS 1.9% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-1131-1 imagemagick security update
Debian DLA Debian DLA DLA-1785-1 imagemagick security update
Debian DLA Debian DLA DLA-2366-1 imagemagick security update
EUVD EUVD EUVD-2017-5683 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.
Ubuntu USN Ubuntu USN USN-3681-1 ImageMagick vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 7:20 PM
Reserved
Sep 7, 2017, 12:00 AM
Status
Modified
Published
Sep 7, 2017, 6:29 AM
Modified
Jun 17, 2026, 1:05 AM
Severity
Low
Public date
Sep 7, 2017, 12:00 AM