Multiple High-Severity ImageMagick Vulnerabilities Including Heap Overflow and Policy Bypass
Vulnerability Disclosure · 3 sources · Updated 5mo ago · First seen Feb 24, 2026

Multiple ImageMagick vulnerabilities were disclosed affecting common image-processing deployments (web apps, CMS integrations, and automated pipelines). CVE-2026-25794 is a heap-based buffer overflow triggered when writing UHDR images: WriteUHDRImage (coders/uhdr.c) uses 32-bit int arithmetic to compute pixel buffer size, allowing a signed integer overflow on large dimensions that leads to an undersized heap allocation and out-of-bounds write; ImageMagick 7.1.2-15 includes a patch. Separately, Belgium’s CCB warned that CVE-2026-23876 is a high-severity heap buffer overflow in the XBM decoder (ReadXBMImage) that can be triggered by a crafted image and may enable memory corruption and potential code execution; the advisory notes a public PoC and urges immediate patching.
A second ImageMagick issue, CVE-2026-25965, allows a policy bypass via path traversal because the path security policy is applied to the raw filename string before filesystem normalization; attackers can use traversal to read sensitive files (local file disclosure) even when policy-secure.xml is in place. Fixes were reported in ImageMagick 7.1.2-15 and 6.9.13-40, and guidance indicates policy hardening may be required to ensure write operations are also blocked. A separate disclosure for Traccar stored XSS via malicious SVG upload is unrelated to the ImageMagick issues and should be tracked independently.


