{"id":"CVE-2026-116156","kind":"vulnerability","aliases":["CVE-2026-116156"],"related":[],"title":"ImageMagick: missing cleanup in -set profile option leaks memory","description":"ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a memory leak caused by a missing cleanup when the -set profile option is used. An attacker who induces a user to process images with the -set profile option can leak memory, potentially exhausting resources and causing a denial of service.","summary":"ImageMagick leaks memory when the -set profile option is used because a cleanup step is missing. An attacker who gets a user to process images with that option can exhaust server memory and cause a denial of service.","severity":"medium","cvss":4.8,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["image-processing","imagemagick","package","self-hosted"],"not_affected_if":["fixed-version","no-imagemagick","no-untrusted-images"],"how_to_check":"- Run `magick -version` or `convert -version` and compare against the fixed versions below\n- Search build scripts and job definitions for `-set profile` usage on untrusted input","fix":"- Upgrade ImageMagick 6 to `6.9.13-58` or later\n- Upgrade ImageMagick 7 to `7.1.2-33` or later","status":"open","published_at":"2026-10-25T14:16:54+00:00","first_seen_at":"2026-10-25T14:41:22+00:00","triaged_at":"2026-10-25T14:43:07+00:00","updated_at":"2026-10-25T14:43:07+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-10-25T14:43:07Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade ImageMagick 6 to `6.9.13-58` or later\n- Upgrade ImageMagick 7 to `7.1.2-33` or later","reach":"unknown","title":"ImageMagick: missing cleanup in -set profile option leaks memory","impact":"low","summary":"ImageMagick leaks memory when the -set profile option is used because a cleanup step is missing. An attacker who gets a user to process images with that option can exhaust server memory and cause a denial of service.","category":"package","nicknames":[],"who_cares":["imagemagick","self-hosted","image-processing"],"confidence":0.7,"needs_auth":"no","worst_case":"Memory leaks until the host runs out of resources and service stops","analyst_note":"","how_to_check":"- Run `magick -version` or `convert -version` and compare against the fixed versions below\n- Search build scripts and job definitions for `-set profile` usage on untrusted input","needs_analyst":false,"not_affected_if":["no-imagemagick","no-untrusted-images","fixed-version"],"who_is_affected":"Systems that run ImageMagick and pass user-supplied images through the -set profile option are exposed to memory exhaustion. Teams that do not run ImageMagick, or that only process trusted images with fixed command lines, can skip it.","user_interaction":"yes","needs_special_setup":"yes","severity_if_unknown":"unknown"},"cost_usd":0.000579,"input_tokens":3332,"output_tokens":492,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-116156':12A,15A '-2026':11A,14A '-33':71C '-58':65C '6.9.13':64C '7':67C '7.1.2':70C 'attack':41B,89C 'caus':57B,76C,109C 'cleanup':3A,36B,80C 'contain':72C 'cve':10A,13A 'denial':59B,111C 'exhaust':53B,106C 'get':43B 'host':23B 'imag':17B,48B,96C 'image-process':16B 'imagemagick':1A,19B,24B,62C 'induc':91C 'leak':8A,25B,75C,103C 'memori':9A,26B,55B,74C,104C 'miss':2A,39B,79C 'option':7A,31B,51B,85C,101C 'packag':20B 'potenti':105C 'process':18B,47B,95C 'profil':6A,30B,84C,100C 'resourc':107C 'self':22B 'self-host':21B 'server':54B 'servic':61B,113C 'set':5A,29B,83C,99C 'step':37B 'use':33B,87C 'user':45B,93C 'x':68C","nicknames":[],"mitigations":[],"who_affected":"Systems that run ImageMagick and pass user-supplied images through the -set profile option are exposed to memory exhaustion. Teams that do not run ImageMagick, or that only process trusted images with fixed command lines, can skip it.","tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-25T14:16:54+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/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-116156","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116156","severity":null,"published_at":"2026-10-25T14:16:54+00:00","modified_at":"2026-10-25T14:16:54+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"}