CVE-2026-26283CWE-835

ImageMagick has possible infinite loop in JPEG encoder when using `jpeg:extent`

Medium · published February 24, 2026

CVSS v3.1
6.2
EPSS
0%
Percentile
31.6
In the wild
Unconfirmed
What it is

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 `continue` statement in the JPEG extent binary search loop in the jpeg encoder causes an infinite loop when writing persistently fails. An attacker can trigger a 100% CPU consumption and process hang (Denial of Service) with a crafted image. Versions 7.1.2-15 and 6.9.13-40 contain a patch.

The record
Technical detail
CVSS v3.1
6.2 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00387 · 31.6th percentile
Weakness
CWE-835 · Loop with Unreachable Exit Condition ('Infinite Loop')
Published
2026-02-24T01:55Z
EPSS history
Timeline
  • 24 FEB 01:55Z
    ImageMagick has possible infinite loop in JPEG encoder when using `jpeg:extent`
    cvelistv5