---
id: CVE-2026-123273
title: ImageMagick before 7.1.2-35 and 6.9.13-60 Infinite Loop via SVG Decoder
summary: >-
  ImageMagick before 7.1.2-35 and 6.9.13-60 contains an infinite loop
  vulnerability in the SVG decoder because QueueAuthenticPixelCacheNexus in
  MagickCore/cache.c fails to validate requested region width and height.
  Attackers can supply a …
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-835
vendor: ImageMagick
product: ImageMagick
affected:
  - ImageMagick >= 7.0.0 < 7.1.2-35
  - ImageMagick < 6.9.13-60
published: '2026-11-05'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T18:45:36.913Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-123273'
references:
  - url: >-
      https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-q66g-3m63-78mh
    label: GitHub Security Advisory (GHSA-q66g-3m63-78mh)
  - url: >-
      https://github.com/ImageMagick/ImageMagick/commit/c5f2c6c9fb1458f960a506691c9351e9da6d2247
  - url: >-
      https://github.com/ImageMagick/ImageMagick6/commit/712e523e7f746d35c963b78555e1c24364a9426e
  - url: >-
      https://github.com/ImageMagick/ImageMagick/blob/3a9639c0bd21f61f22fcce4c5f6838f1f0d8f738/MagickCore/cache.c#L4348
  - url: 'https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-35'
    label: ImageMagick 7.1.2-35 Release Notes
  - url: 'https://github.com/ImageMagick/ImageMagick6/releases/tag/6.9.13-60'
    label: ImageMagick 6.9.13-60 Release Notes
  - url: >-
      https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-35-and-6.9.13-60-infinite-loop-via-svg-decoder
    label: >-
      VulnCheck Advisory: ImageMagick before 7.1.2-35 and 6.9.13-60 Infinite
      Loop via SVG Decoder
tags:
  - cve.org
ingestedAt: '2026-11-05T22:38:31.478Z'
---

## Overview

ImageMagick before 7.1.2-35 and 6.9.13-60 contains an infinite loop vulnerability in the SVG decoder because QueueAuthenticPixelCacheNexus in MagickCore/cache.c fails to validate requested region width and height. Attackers can supply a crafted SVG image that repeatedly requests a non-advancing pixel region, consuming CPU and hanging the decoding worker.

## Affected

- `ImageMagick >= 7.0.0 < 7.1.2-35`
- `ImageMagick < 6.9.13-60`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
