{"id":"CVE-2026-116152","kind":"vulnerability","aliases":["CVE-2026-116152"],"related":[],"title":"ImageMagick: crafted MAT files leak memory in the decoder","description":"ImageMagick before 7.1.2-33 contains a memory leak vulnerability in the MAT decoder that fails to release allocated memory in a specific error path. Attackers can supply crafted MAT files that trigger this error path repeatedly, causing small memory leaks that gradually consume process memory.","summary":"ImageMagick before 7.1.2-33 fails to free memory in an error path of its MAT image decoder. Repeatedly feeding it crafted MAT files gradually consumes process memory, which can degrade or crash a service.","severity":"medium","cvss":6.9,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["image-processing","imagemagick","package","self-hosted"],"not_affected_if":["no-mat-input","patched-version"],"how_to_check":"- Run `magick -version` and compare the version to `7.1.2-33`.\n- Check whether the service accepts MAT files from untrusted sources.","fix":"- Upgrade ImageMagick to `7.1.2-33` or later.","status":"open","published_at":"2026-10-25T14:16:53+00:00","first_seen_at":"2026-10-25T14:41:22+00:00","triaged_at":"2026-10-25T14:42:46+00:00","updated_at":"2026-10-25T14:42:46+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-10-25T14:42:46Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade ImageMagick to `7.1.2-33` or later.","reach":"unknown","title":"ImageMagick: crafted MAT files leak memory in the decoder","impact":"low","summary":"ImageMagick before 7.1.2-33 fails to free memory in an error path of its MAT image decoder. Repeatedly feeding it crafted MAT files gradually consumes process memory, which can degrade or crash a service.","category":"package","nicknames":[],"who_cares":["imagemagick","self-hosted","image-processing"],"confidence":0.6,"needs_auth":"unknown","worst_case":"Repeated crafted files exhaust process memory, causing slowdown or crash","analyst_note":"","how_to_check":"- Run `magick -version` and compare the version to `7.1.2-33`.\n- Check whether the service accepts MAT files from untrusted sources.","needs_analyst":false,"not_affected_if":["patched-version","no-mat-input"],"who_is_affected":"Systems that run ImageMagick below 7.1.2-33 and pass it user-supplied MAT files, for example an upload or conversion service. Installations that never decode MAT input, or that already run 7.1.2-33 or later, can skip it.","user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"medium"},"cost_usd":0.000564,"input_tokens":3323,"output_tokens":464,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-116152':12A,15A '-2026':11A,14A '-33':27B,61C '7.1.2':26B,60C 'alloc':75C 'attack':82C 'caus':94C 'consum':48B,100C 'contain':62C 'craft':2A,44B,85C 'crash':55B 'cve':10A,13A 'decod':9A,40B,70C 'degrad':53B 'error':34B,80C,91C 'fail':28B,72C 'feed':42B 'file':4A,46B,87C 'free':30B 'gradual':47B,99C 'host':23B 'imag':17B,39B 'image-process':16B 'imagemagick':1A,19B,24B,58C 'leak':5A,65C,97C 'mat':3A,38B,45B,69C,86C 'memori':6A,31B,50B,64C,76C,96C,102C 'packag':20B 'path':35B,81C,92C 'process':18B,49B,101C 'releas':74C 'repeat':41B,93C 'self':22B 'self-host':21B 'servic':57B 'small':95C 'specif':79C 'suppli':84C 'trigger':89C 'vulner':66C","nicknames":[],"mitigations":[],"who_affected":"Systems that run ImageMagick below 7.1.2-33 and pass it user-supplied MAT files, for example an upload or conversion service. Installations that never decode MAT input, or that already run 7.1.2-33 or later, can skip it.","tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-25T14:16:53+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-116152","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116152","severity":null,"published_at":"2026-10-25T14:16:53+00:00","modified_at":"2026-10-25T14:16:53+00:00","first_seen_at":"2026-10-25T14:41:22+00:00","fetched_at":"2026-10-25T14:41:22+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}