CVE-2026-56378: ImageMagick - Heap Out-of-Bounds Read in PCD Decoder

Published Jun 21, 2026
·
Updated

ImageMagick before 7.1.2-15 (and 6.x before 6.9.13-40) contains a heap out-of-bounds read in the PCD coder's DecodeImage loop. A crafted PCD file can trigger a one-byte heap out-of-bounds read during image decoding, resulting in denial of service and potential disclosure of an adjacent heap byte.

Affected Software

5 affected componentsFixes available
ImageMagick ImageMagick 7<7.1.2-15
ImageMagick ImageMagick 6<6.9.13-40
ImageMagick ImageMagick>=6.9.0-0<6.9.13-40
ImageMagick ImageMagick>=7.1.2-0<7.1.2-15
debian/imagemagick<=8:6.9.11.60+dfsg-1.6+deb12u11, <=8:7.1.1.43+dfsg1-1+deb13u10
8:6.9.11.60+dfsg-1.6+deb12u138:7.1.1.43+dfsg1-1+deb13u118:7.1.2.29+dfsg2-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 8:6.9.11.60+dfsg-1.6+deb12u13Fixed in 8:7.1.1.43+dfsg1-1+deb13u11Fixed in 8:7.1.2.29+dfsg2-1
  2. Upgrade

    Upgrade ImageMagick to a version that resolves this vulnerability.

    Fixed in 7.1.2-15
  3. Upgrade

    Upgrade ImageMagick to a version that resolves this vulnerability.

    Fixed in 6.9.13-40

Event History

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
Sep 9, 2026
Data Sourced
via Ubuntu·12:33 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·12:35 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-56378?

The severity of CVE-2026-56378 is classified as low with a score of 3.7.

2

What are the implications of CVE-2026-56378?

CVE-2026-56378 may lead to denial of service and potential disclosure of adjacent heap memory during image decoding.

3

How do I fix CVE-2026-56378?

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

4

Who is affected by CVE-2026-56378?

CVE-2026-56378 affects users of ImageMagick versions prior to 7.1.2-15 or those using 6.x versions prior to 6.9.13-40.

5

What types of file can trigger CVE-2026-56378?

A crafted PCD file can trigger the vulnerability CVE-2026-56378 during the image decoding process.

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