PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-116158 ImageMagick CVE debrief

ImageMagick before 7.1.2-33 contains a memory leak vulnerability in the magick compare command caused by missing cleanup when an operation fails. Attackers can supply inputs that trigger repeated failed compare operations to exhaust memory and cause denial of service. This vulnerability affects ImageMagick installations, particularly those using versions before 7.1.2-33, and can lead to denial-of-service attacks through memory exhaustion. Verification and remediation are crucial to prevent potential attacks.

Vendor
ImageMagick
Product
Unknown
CVSS
LOW 2
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-25
Original CVE updated
2026-10-26
Advisory published
2026-10-25
Advisory updated
2026-10-26

Who should care

Defenders responsible for ImageMagick installations, particularly those using versions before 7.1.2-33, should assess exposure and prioritize verification and remediation to prevent potential denial-of-service attacks.

Why it matters

Defenders should care about CVE-2026-116158 because it affects ImageMagick installations, particularly those using versions before 7.1.2-33, and can lead to denial-of-service attacks through memory exhaustion. Verification and remediation are crucial to prevent potential attacks.

  • Denial of service through memory exhaustion
  • Potential for attackers to exhaust memory by triggering repeated failed compare operations

Technical summary

The vulnerability is caused by missing cleanup when an operation fails in the magick compare command of ImageMagick before 7.1.2-33. This can lead to a memory leak, allowing attackers to exhaust memory and cause denial of service by supplying inputs that trigger repeated failed compare operations. The vulnerability affects ImageMagick installations, particularly those using versions before 7.1.2-33, and can lead to denial-of-service attacks through memory exhaustion. Defenders should prioritize verifying and upgrading to ImageMagick version 7.1.2-33 or later to prevent potential denial-of-service attacks.

Defensive priority

Defenders should prioritize verifying and upgrading to ImageMagick version 7.1.2-33 or later to prevent potential denial-of-service attacks.

Recommended defensive actions

  • Verify ImageMagick version and upgrade to 7.1.2-33 or later
  • Review and restrict inputs to the magick compare command
  • Monitor for potential denial-of-service attacks
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and source item provide details on the memory leak vulnerability in ImageMagick before 7.1.2-33. The vendor has provided an advisory on GitHub, and VulnCheck has published a third-party advisory.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-116158 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-116158

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-116158 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-116158

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • ImageMagick before 7.1.2-33 Memory Leak in magick compare

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/116xxx/CVE-2026-116158.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-m938-565c-h9qf

    Supplemental source - vendor-advisory

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-33-memory-leak-in-magick-compare

    Supplemental source - third-party-advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.