CVE-2026-56367: ImageMagick: Integer Overflow in PSB (PSD v2) RLE decoding path causes heap Out of Bounds reads for 32-bit builds

Published Feb 25, 2026
·
Updated

An integer overflow in the PSB (PSD v2) RLE decoding path causes a heap out-of-bounds read on 32-bit builds. This can lead to information disclosure or a crash when processing crafted PSB files.

================================================================= ==3298==ERROR: AddressSanitizer: heap-buffer-overflow on address 0xf512eb00 at pc 0xf76760b5 bp 0xffc1dfb8 sp 0xffc1dfa8 READ of size 8 at 0xf512eb00 thread T0 #0 0xf76760b4 in ReadPSDChannelRLE coders/psd.c:1141

Other sources

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.

— MITRE

Affected Software

23 affected componentsFixes available
ImageMagick ImageMagick<7.1.2-15, >=6.9.0<6.9.13-40
ImageMagick ImageMagick>=6.9.0-0<6.9.13-40
ImageMagick ImageMagick>=7.1.2-0<7.1.2-15
nuget/magick.net-q16-anycpu<14.10.3
14.10.3
nuget/magick.net-q16-hdri-anycpu<14.10.3
14.10.3
nuget/magick.net-q16-hdri-openmp-arm64<14.10.3
14.10.3
nuget/magick.net-q16-hdri-openmp-x64<14.10.3
14.10.3
nuget/magick.net-q16-hdri-arm64<14.10.3
14.10.3
nuget/magick.net-q16-hdri-x64<14.10.3
14.10.3
nuget/magick.net-q16-hdri-x86<14.10.3
14.10.3
nuget/magick.net-q16-openmp-arm64<14.10.3
14.10.3
nuget/magick.net-q16-openmp-x64<14.10.3
14.10.3
nuget/magick.net-q16-openmp-x86<14.10.3
14.10.3
nuget/magick.net-q16-arm64<14.10.3
14.10.3
nuget/magick.net-q16-x64<14.10.3
14.10.3
nuget/magick.net-q16-x86<14.10.3
14.10.3
nuget/magick.net-q8-anycpu<14.10.3
14.10.3
nuget/magick.net-q8-openmp-arm64<14.10.3
14.10.3
nuget/magick.net-q8-openmp-x64<14.10.3
14.10.3
nuget/magick.net-q8-arm64<14.10.3
14.10.3
nuget/magick.net-q8-x64<14.10.3
14.10.3
nuget/magick.net-q8-x86<14.10.3
14.10.3
debian/imagemagick<=8:6.9.11.60+dfsg-1.6+deb12u11
8:6.9.11.60+dfsg-1.6+deb12u158:7.1.1.43+dfsg1-1+deb13u128:7.1.1.43+dfsg1-1+deb13u148:7.1.2.34+dfsg1-18:7.1.2.35+dfsg1-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade nuget/Magick.NET-Q16-AnyCPU to a version that resolves this vulnerability.

    Fixed in 14.10.3
  2. Upgrade

    Upgrade nuget/Magick.NET-Q16-HDRI-AnyCPU to a version that resolves this vulnerability.

    Fixed in 14.10.3
  3. Upgrade

    Upgrade nuget/Magick.NET-Q16-HDRI-OpenMP-arm64 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  4. Upgrade

    Upgrade nuget/Magick.NET-Q16-HDRI-OpenMP-x64 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  5. Upgrade

    Upgrade nuget/Magick.NET-Q16-HDRI-arm64 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  6. Upgrade

    Upgrade nuget/Magick.NET-Q16-HDRI-x64 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  7. Upgrade

    Upgrade nuget/Magick.NET-Q16-HDRI-x86 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  8. Upgrade

    Upgrade nuget/Magick.NET-Q16-OpenMP-arm64 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  9. Upgrade

    Upgrade nuget/Magick.NET-Q16-OpenMP-x64 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  10. Upgrade

    Upgrade nuget/Magick.NET-Q16-OpenMP-x86 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  11. Upgrade

    Upgrade nuget/Magick.NET-Q16-arm64 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  12. Upgrade

    Upgrade nuget/Magick.NET-Q16-x64 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  13. Upgrade

    Upgrade nuget/Magick.NET-Q16-x86 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  14. Upgrade

    Upgrade nuget/Magick.NET-Q8-AnyCPU to a version that resolves this vulnerability.

    Fixed in 14.10.3
  15. Upgrade

    Upgrade nuget/Magick.NET-Q8-OpenMP-arm64 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  16. Upgrade

    Upgrade nuget/Magick.NET-Q8-OpenMP-x64 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  17. Upgrade

    Upgrade nuget/Magick.NET-Q8-arm64 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  18. Upgrade

    Upgrade nuget/Magick.NET-Q8-x64 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  19. Upgrade

    Upgrade nuget/Magick.NET-Q8-x86 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  20. Upgrade

    Upgrade debian/imagemagick to a version that resolves this vulnerability.

    Fixed in 8:6.9.11.60+dfsg-1.6+deb12u15Fixed in 8:7.1.1.43+dfsg1-1+deb13u12Fixed in 8:7.1.1.43+dfsg1-1+deb13u14Fixed in 8:7.1.2.34+dfsg1-1Fixed in 8:7.1.2.35+dfsg1-2
  21. Upgrade

    Upgrade ImageMagick to a version that resolves this vulnerability.

    Fixed in 7.1.2-15
  22. Upgrade

    Upgrade ImageMagick to a version that resolves this vulnerability.

    Fixed in 6.9.13-40

Event History

Feb 25, 2026
Advisory Published
via OSV·03:20 PM
Data Sourced
via OSV·03:20 PM
DescriptionSeverityWeaknessAffected Software
Jun 21, 2026
CVE Published
via MITRE·01:26 PM
Data Sourced
via MITRE·01:26 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2026-56367?

The severity of CVE-2026-56367 is low, with a score of 3.7.

2

How do I fix CVE-2026-56367?

To fix CVE-2026-56367, upgrade ImageMagick to version 7.1.2-15 or later, or version 6.9.13-40 or later.

3

What are the potential risks of CVE-2026-56367?

CVE-2026-56367 can lead to information disclosure or a crash when processing a crafted PSB file.

4

Is CVE-2026-56367 applicable to 64-bit builds of ImageMagick?

CVE-2026-56367 specifically affects 32-bit builds of ImageMagick.

5

Which ImageMagick versions are affected by CVE-2026-56367?

ImageMagick versions prior to 7.1.2-15 and 6.9.x before 6.9.13-40 are affected by CVE-2026-56367.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203