PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-105398 ImageMagick CVE debrief

ImageMagick before 7.1.2-31 contains a heap buffer overflow vulnerability via the GetVirtualPixels API, allowing attackers to overwrite heap memory, potentially causing a denial of service. This vulnerability exists due to a lack of proper bounds checking, enabling attackers to craft input that triggers the overflow. Defenders should assess exposure and prioritize patching to prevent potential attacks. The vulnerability has a CVSS score of 5.9 and a severity rating of MEDIUM. ImageMagick installations should be reviewed for potential exposure, and patches should be applied as soon as possible.

Vendor
ImageMagick
Product
Unknown
CVSS
MEDIUM 5.9
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-08
Original CVE updated
2026-10-08
Advisory published
2026-10-08
Advisory updated
2026-10-08

Who should care

Defenders responsible for ImageMagick installations should assess exposure and prioritize patching to prevent potential denial-of-service attacks. This includes reviewing the affected scope and severity of the vulnerability, as well as vendor guidance for patching and mitigation. Additionally, defenders should monitor for suspicious activity and review compensating controls for exposed systems.

Why it matters

Defenders should prioritize patching ImageMagick installations to prevent potential denial-of-service attacks due to the heap buffer overflow vulnerability via the GetVirtualPixels API.

  • Potential denial-of-service attacks
  • Heap memory overwrite via GetVirtualPixels API

Technical summary

The vulnerability exists in ImageMagick before version 7.1.2-31, where a heap buffer overflow occurs via the GetVirtualPixels API. This allows attackers to overwrite heap memory, potentially causing a denial of service. The vulnerability has a CVSS score of 5.9 and a severity rating of MEDIUM. The issue arises from improper handling of input data, enabling attackers to craft exploits that trigger the buffer overflow. Defenders should prioritize patching ImageMagick installations to prevent potential denial-of-service attacks.

Defensive priority

Defenders should prioritize patching ImageMagick installations to prevent potential denial-of-service attacks.

Recommended defensive actions

  • Patch ImageMagick installations to version 7.1.2-31 or later
  • Restrict access to the GetVirtualPixels API
  • Monitor for suspicious activity
  • 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 heap buffer overflow vulnerability in ImageMagick before 7.1.2-31. The vulnerability is caused by a heap buffer overflow via the GetVirtualPixels API, which allows attackers to overwrite heap memory. The source item provides additional context on the vulnerability, including its potential impact on ImageMagick installations. Defenders should verify the affected scope and severity of the vulnerability and review vendor guidance for patching and mitigation.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-105398 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-105398 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

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

Supplemental references

  • ImageMagick before 7.1.2-31 Heap Buffer Overflow via GetVirtualPixels API

    Unverified legacy reference

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

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-jvjm-9f73-fhpq

    Supplemental source - vendor-advisory

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-31-heap-buffer-overflow-via-getvirtualpixels-api

    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.