Skip to main content
Mallory
← Back to News
internet-facing-service-vulnerabilityproof-of-concept-releaseopen-source-dependency-vulnerabilitywidely-deployed-product-advisory

Multiple High-Severity ImageMagick Vulnerabilities Including Heap Overflow and Policy Bypass

Vulnerability Disclosure · 3 sources · Updated 5mo ago · First seen Feb 24, 2026

Multiple High-Severity ImageMagick Vulnerabilities Including Heap Overflow and Policy Bypass

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.

Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

5 events · Feb 23, 2026 – Feb 24, 2026
  1. Feb 24, 20269mo ago

    Public CVE entries disclose two high-severity ImageMagick vulnerabilities

    Public advisories described CVE-2026-25794, a heap buffer overflow in WriteUHDRImage, and CVE-2026-25965, a path traversal-based policy bypass that could expose restricted files. Both disclosures identified affected versions and available fixes.

  2. Feb 24, 20269mo ago

    GitHub receives CVE-2026-25965 advisory submission

    The CVE-2026-25965 advisory was received by security-advisories@github.com, documenting the ImageMagick path traversal issue and its impact on policy enforcement. This marks the formal intake of the vulnerability report referenced by the CVE entry.

  3. Feb 24, 20269mo ago

    ImageMagick fixes heap buffer overflow in version 7.1.2-15

    ImageMagick fixed CVE-2026-25794, a heap buffer overflow in WriteUHDRImage caused by signed integer overflow when handling large UHDR image dimensions. The flaw could crash the process and potentially enable out-of-bounds heap writes with security impact.

  4. Feb 24, 20269mo ago

    ImageMagick fixes path traversal policy bypass in releases 7.1.2-15 and 6.9.13-40

    ImageMagick addressed a path traversal flaw that could bypass policy-secure.xml protections and allow local file disclosure by normalizing or otherwise blocking restricted file access. The fix was included in versions 7.1.2-15 and 6.9.13-40, with notes that additional default policy hardening for write protections would follow.

  5. Feb 23, 20269mo ago

    Belgium CCB warns of ImageMagick heap buffer overflow and urges patching

    Belgium's Centre for Cybersecurity issued a warning that the ImageMagick heap buffer overflow could be exploited to corrupt memory and potentially compromise affected systems. The advisory noted that proof-of-concept exploit code was available and urged immediate patching.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.