HIGH 7.5

CVE-2026-49218: ImageMagick DCM Decoder DoS Vulnerability – CVSS 7.5

ImageMagick, a widely used image editing and manipulation tool, contains a flaw in how it processes DCM (DICOM medical imaging) files. The vulnerability allows specially crafted DCM files with invalid dimensions to pass validation checks, potentially causing the application to crash when performing subsequent operations on the image. This is a denial-of-service issue affecting the availability of systems that rely on ImageMagick for image processing.

Source data · NVD / CISA · public domain

CVSS
3.1 · 7.5 HIGH · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses (CWE)
CWE-1284, CWE-20
Affected products
1 configuration(s)
Published / Modified
2026-06-10 / 2026-07-15

NVD description (verbatim)

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-48 and 7.1.2-24, a missing check in the DCM decoder could result in an image with invalid dimensions and that could cause crashes in other operation. This issue has been patched in versions 6.9.13-48 and 7.1.2-24.

5 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

CVE-2026-49218 stems from insufficient validation in ImageMagick's DCM decoder module. The missing dimension-checking logic permits malformed DICOM images with out-of-bounds or logically invalid dimensions to be loaded and processed. Downstream image operations that assume valid dimensions can then encounter unhandled exceptions or memory access violations, resulting in application crashes. The vulnerability is classified under CWE-1284 (Improper Validation of Specified Type of Input for Data Structure) and CWE-20 (Improper Input Validation).

Business impact

Organizations using ImageMagick for automated image processing—such as web applications handling user uploads, medical imaging systems, or document conversion services—face service disruption risks. An attacker sending malicious DCM files can trigger crashes in the processing pipeline, degrading availability and potentially impacting customer-facing workflows. The attack requires no authentication or user interaction, making it a straightforward denial-of-service vector for externally accessible image processing endpoints.

Affected systems

ImageMagick versions prior to 6.9.13-48 (legacy branch) and 7.1.2-24 (current branch) are affected. Any deployment using an older version is vulnerable if it processes DCM files or accepts untrusted image inputs. This includes web servers with ImageMagick plugins, medical imaging software, and containerized microservices that perform image manipulation.

Exploitability

The vulnerability has a CVSS 3.1 score of 7.5 (HIGH), reflecting its network-accessible, low-complexity nature. The attack vector is straightforward: an attacker crafts a malicious DCM file with invalid dimensions and delivers it to an affected system (via upload form, API, or file processing queue). No privileges or user interaction are required. The impact is limited to availability (denial of service), not confidentiality or integrity. Exploit development is low-effort given the simplicity of crafting invalid DICOM headers.

Remediation

Upgrade ImageMagick to version 6.9.13-48 or later for the legacy 6.x branch, or to version 7.1.2-24 or later for the current 7.x branch. Verify the patched version is installed in all production environments, including embedded installations and container images. For systems that cannot be patched immediately, restrict DCM file processing or disable the DCM decoder module if alternative image formats suffice.

Patch guidance

Apply updates from the official ImageMagick repository or your distribution's package manager. For legacy 6.x users: verify installed version matches 6.9.13-48 or higher. For 7.x users: confirm version 7.1.2-24 or later is deployed. Test patched versions in staging before production rollout to ensure compatibility with dependent applications. Review any custom builds or statically linked ImageMagick binaries and recompile with the patched source code.

Detection guidance

Monitor ImageMagick process crashes or error logs for DCM-related failures (e.g., decoder exceptions, segmentation faults during image processing). Implement input validation upstream to reject malformed or suspicious DCM files before they reach ImageMagick. Log file names and sources of all processed images. Use YARA rules or file magic-number validation to identify DCM files with anomalous headers. In environments with user-supplied image uploads, validate image dimensions and structure prior to processing.

Why prioritize this

This vulnerability merits rapid patching because it enables unauthenticated denial-of-service attacks on internet-facing image processing systems. The low complexity of exploitation and absence of required privileges make it an attractive attack vector. Organizations with public-facing image upload features, medical imaging workflows, or automated batch image processing should prioritize patching within their standard critical-update cycle.

Risk score, explained

The CVSS 7.5 (HIGH) score reflects the combination of network accessibility, zero authentication requirements, and the denial-of-service impact. Absence from the CISA Known Exploited Vulnerabilities (KEV) catalog does not diminish urgency—the straightforward nature of the flaw means exploit development is trivial. Businesses should treat this as a HIGH priority based on their reliance on ImageMagick and exposure to untrusted image inputs.

Frequently asked questions

Does this vulnerability affect only medical imaging systems?

No. While the flaw exists in the DCM (DICOM) decoder, any system using ImageMagick to process user-supplied images is at risk. Web applications with image upload features, document servers, and general-purpose image processing tools are vulnerable if an attacker can deliver a malicious DCM file to them.

What systems are immune to this attack?

ImageMagick installations that do not process DCM files are unaffected. Systems that disable the DCM decoder module, or those running versions 6.9.13-48 or 7.1.2-24 or later, are protected. Additionally, systems with strict input validation that rejects untrusted DCM files before processing are safe.

Is there a workaround if I cannot patch immediately?

Yes. If patching is delayed, disable or restrict DCM file processing in ImageMagick, or implement upstream file-type filtering to reject DCM inputs. Additionally, monitor logs for crashes and isolate any crashes to mitigate the impact of potential exploitation.

Could this vulnerability be exploited to execute code?

No. This vulnerability causes denial of service (crashes) only. There is no evidence of remote code execution capability. The impact is strictly limited to availability.

This analysis is based on publicly available vulnerability data as of the publication date. CVSS scores and severity ratings reflect official CVE records. Patch version numbers and affected versions should be verified against official ImageMagick release notes and vendor advisories before deployment. Organizations should conduct their own risk assessment based on their infrastructure and exposure. No exploit code or proof-of-concept is provided. This summary does not constitute professional security advice; consult your security team or a professional security consultant for specific remediation decisions. Source: NVD (public-domain), retrieved 2026-07-20. Analysis generated by SEC.co (claude-haiku-4-5).