---
id: "CVE-2026-116143"
kind: "vulnerability"
aliases: ["CVE-2026-116143"]
title: "ImageMagick: PS, PDF and XPS decoders bypass scene-count policy limit"
severity: "medium"
cvss: 4.8
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["image-processing", "imagemagick", "package", "self-hosted"]
not_affected_if: ["no-ps-pdf-xps-input", "trusted-input-only"]
published_at: "2026-10-25T14:16:52+00:00"
first_seen_at: "2026-10-25T14:41:22+00:00"
updated_at: "2026-10-25T14:44:13+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-116143", "first_seen_at": "2026-10-25T14:41:22+00:00"}]
---

# ImageMagick: PS, PDF and XPS decoders bypass scene-count policy limit

ImageMagick's PostScript, PDF and XPS decoders ignore the security policy limit on how many scenes (pages or frames) a file may produce. A crafted file or argument can make it process more scenes than allowed, which can exhaust server memory or CPU.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Run `magick -version` and compare against the fixed releases: `6.9.13-58` and `7.1.2-33`.
- Check whether a policy file sets a scene limit for these formats: `grep -i scene /etc/ImageMagick-*/policy.xml`.

## Fix

- Upgrade ImageMagick 6 to `6.9.13-58` or later.
- Upgrade ImageMagick 7 to `7.1.2-33` or later.

## Timeline

- 2026-10-25T14:41:22+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-116143

## From the sources

ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a policy bypass in the PS, PDF and XPS decoders that allows the security policy's list length limit on scene selection to be circumvented. Attackers supplying a specific argument can cause ImageMagick to process more scenes than permitted, potentially exhausting resources.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
