CVE-2026-56367 ImageMagick - Heap Out-of-Bounds Read in PSB RLE Decoding

Medium 6.3 Published Updated

An integer overflow in ImageMagick's PSB RLE decoding allows attackers to cause heap out-of-bounds reads, leading to information disclosure or crashes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-56367?

CVE-2026-56367 is a medium-severity vulnerability in Imagemagick Imagemagick, published on 21 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

ImageMagick before 7.1.2-15 and 6.9.x before 6.9.13-40 contains an integer overflow in the PSB (PSD v2) RLE decoding path (ReadPSDChannelRLE in coders/psd.c) that causes a heap out-of-bounds read on 32-bit builds. Processing a crafted PSB file can lead to information disclosure or a crash.

Weakness: CWE-125

Which versions are affected by CVE-2026-56367?

It affects 1 product.

Products include Imagemagick Imagemagick.

How do I fix CVE-2026-56367?

Upgrade to a fixed version.

Is CVE-2026-56367 being exploited?

There is no known exploitation of CVE-2026-56367 in the wild and no public exploit code.

All Imagemagick Imagemagick vulnerabilities

Sources

Also known as CLSA-2026-1791459583, DEBIAN-CVE-2026-56367, ECHO-0df6-8de2-95bc, GHSA-rg39-4fm5-hrp2, JLSEC-2026-1048, UBUNTU-CVE-2026-56367.

Is CVE-2026-56367 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free