CVE-2026-26066: ImageMagick has infinite loop when writing IPTCTEXT leads to denial of service via crafted profile
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a crafted profile contain invalid IPTC data may cause an infinite loop when writing it with `IPTCTEXT`. Versions 7.1.2-15 and 6.9.13-40 contain a patch.
Security readout for executives and security teams
Plain-English summary
A malformed image profile can make vulnerable ImageMagick versions loop indefinitely when writing IPTCTEXT data. The main business impact is service disruption: image-processing jobs may hang and consume availability. The advisory identifies patched releases, and there is no provided evidence of active exploitation.
Executive priority
Treat as a medium-priority availability risk. Patch during the next normal maintenance window, sooner for internet-facing or customer-supplied image-processing pipelines.
Technical view
ImageMagick before 7.1.2-15 and 6.x before 6.9.13-40 can enter an infinite loop while writing invalid IPTC profile data with IPTCTEXT. The weakness maps to uncontrolled resource consumption and loop with unreachable exit condition. CVSS is 6.2, availability-only impact.
Likely exposure
Exposure is limited to systems running affected ImageMagick versions and processing crafted profiles through IPTCTEXT writing paths. Risk is higher in automated image-processing workflows that accept untrusted files or metadata.
Exploitation context
The CVSS vector is local, low complexity, no privileges, no user interaction, with high availability impact. The source bundle marks KEV false and provides no cited evidence of active exploitation.
Researcher notes
Evidence is limited to the CVE record and ImageMagick advisory. The bug is described as malformed IPTC profile handling causing an infinite loop during IPTCTEXT writing; no exploit details or broader affected products are provided.
Mitigation direction
Upgrade ImageMagick 7.x to 7.1.2-15 or later.
Upgrade ImageMagick 6.x to 6.9.13-40 or later.
Prioritize systems processing untrusted images or profiles.
Review the GitHub advisory for vendor-specific guidance.
Temporarily reduce untrusted IPTC profile processing until patched.
Validation and detection
Inventory ImageMagick versions across servers, containers, and build images.
Confirm no production host runs below 7.1.2-15 or 6.9.13-40.
Identify workflows that write IPTCTEXT from external inputs.
Monitor image-processing jobs for hangs or abnormal runtime.
Verify package updates after deployment through version reporting.
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.
cwe · low confidence lookup
CWE-400: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
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.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-400 · source CWE mapping
Uncontrolled Resource Consumption
Uncontrolled Resource Consumption represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Loop with Unreachable Exit Condition ('Infinite Loop')
Loop with Unreachable Exit Condition ('Infinite Loop') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.