LiveActive security incident?Get immediate response
CVE Record

CVE-2017-14173: In the function ReadTXTImage() in coders/txt.c in ImageMagick 7.0.6-10, an integer overflow might occur for...

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This flaw can make ImageMagick hang when it reads a specially crafted TXT image file. The business impact is primarily availability: services that convert or inspect user-supplied images could stall workers or queues. The source bundle does not show confirmed active exploitation.

Executive priority

Treat this as a focused availability risk, not a confirmed breach indicator. Prioritize remediation for internet-facing upload or conversion services because a low-complexity crafted file could consume processing capacity.

Technical view

CVE-2017-14173 affects ImageMagick 7.0.6-10 in ReadTXTImage() in coders/txt.c. A large depth-derived value can trigger integer overflow in GetQuantumRange(depth)+1, producing an unexpected smaller value and causing an infinite loop when parsing crafted TXT input with a very large max_value.

Likely exposure

Exposure is most likely where ImageMagick processes untrusted or externally supplied TXT image files, such as upload handling, conversion pipelines, or automated media processing. The bundle names ImageMagick 7.0.6-10 and distribution security updates, but does not provide full affected-version ranges.

Exploitation context

The described attack requires a crafted TXT file and an application path that passes it to the vulnerable ImageMagick TXT decoder. KEV is false, and the provided sources do not claim exploitation in the wild.

Researcher notes

Evidence supports an integer overflow leading to an infinite loop in the TXT coder. The bundle lacks CVSS, CWE mapping, complete affected ranges, and exploitation evidence. Use vendor advisories and the upstream commit to confirm package-level applicability.

Mitigation direction

  • Apply ImageMagick security updates from your operating system or vendor channel.
  • Review Ubuntu, Gentoo, Debian, and upstream ImageMagick guidance for applicable fixed packages.
  • Update vulnerable ImageMagick builds that include the affected ReadTXTImage() logic.
  • Restrict untrusted TXT image processing where it is not business-required.
  • Monitor image conversion workers for hangs until patched.

Validation and detection

  • Inventory systems and containers with ImageMagick installed.
  • Confirm whether ImageMagick 7.0.6-10 or vulnerable distro packages are present.
  • Identify services that process user-supplied TXT image files.
  • Verify packages include the relevant vendor security update or upstream fix.
  • Review conversion queues and worker logs for repeated hangs on TXT inputs.
Prepared
Confidence
medium
Sources
8

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2017-14173 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
7Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.