
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-24485 is an infinite loop (denial of service) vulnerability in ImageMagick's PCD file parser. When a PCD file does not contain a valid Sync marker, the DecodeImage() function enters an infinite loop while searching for the marker, causing uncontrolled CPU consumption and system resource exhaustion. Affected software includes ImageMagick versions prior to 7.1.2-15 (7.x branch) and prior to 6.9.13-40 (6.x branch), as well as Magick.NET (NuGet) versions prior to 14.10.3. The vulnerability was disclosed on February 23–24, 2026, and carries a CVSS v3.1 base score of 7.5 (High) (GitHub Advisory, Github Advisory).
The root cause is classified as CWE-400 (Uncontrolled Resource Consumption) and CWE-835 (Loop with Unreachable Exit Condition / Infinite Loop). In the PCDGetBits macro within coders/pcd.c, the code repeatedly calls ReadBlob() to read 0x800-byte chunks while searching for a valid Sync marker (IsSync). When the PCD file lacks a valid Sync marker, the return value of ReadBlob() was not checked, allowing the loop to continue indefinitely even after reaching end-of-file. The fix (commit 332c156) adds a check on the byte_count returned by ReadBlob() and breaks out of the loop if fewer than 0x800 bytes are read, preventing the infinite loop condition. Exploitation requires only that an attacker supply a malformed PCD file to any service or application that processes images with ImageMagick (GitHub Advisory, Patch Commit).
Successful exploitation results in a denial-of-service condition: the affected ImageMagick process becomes unresponsive and continuously consumes CPU resources until the system is exhausted or the process is killed. There is no impact on confidentiality or data integrity — the vulnerability is purely an availability issue. Any service or application that relies on ImageMagick for image processing (e.g., web upload handlers, media pipelines, document converters) could be rendered unavailable, potentially affecting dependent services (GitHub Advisory, bugzilla.redhat.com).
0xfffffe00 in the bitstream), ensuring the file is otherwise structurally plausible enough to pass initial parsing.DecodeImage() function in coders/pcd.c begins processing the file and enters the PCDGetBits macro loop, which continuously calls ReadBlob() searching for the missing Sync marker without ever finding it or exiting.convert, magick, or an application embedding libMagickCore) pinned at or near 100% CPU utilization for an extended or indefinite period..pcd file that never completes or times out; error logs may show no output or a timeout/kill signal for the ImageMagick process..pcd file in upload directories or temporary processing directories, particularly one with an unusually small size or missing expected header structure..pcd files from the same source IP, potentially indicating automated DoS attempts against an image-processing endpoint.The primary remediation is to upgrade ImageMagick to version 7.1.2-15 or later (7.x branch) or 6.9.13-40 or later (6.x branch). Magick.NET users should upgrade to version 14.10.3 or later. If immediate patching is not possible, consider: (1) disabling or restricting PCD file processing via ImageMagick's policy.xml (e.g., denying the PCD coder); (2) restricting image upload functionality to trusted users or known-safe file types; and (3) applying OS-level CPU quotas or process timeouts to limit the impact of any runaway ImageMagick process (GitHub Advisory, Magick.NET Release).
The vulnerability received routine coverage across Linux distribution security channels, with security updates issued for Debian (DSA-6158, DSA-6159, DLA-4497), SUSE/openSUSE, Ubuntu, and Amazon Linux 2. No notable researcher commentary or significant social media discussion beyond standard CVE tracking feeds has been identified. The fix was credited to reporter ylwango613 (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."