{"id":"CVE-2026-112782","kind":"vulnerability","aliases":["CVE-2026-112782"],"related":[],"title":"Grav CMS: anonymous image resize requests exhaust server memory and crash sites","description":"Grav 1.7.53 before 1.7.53.5 and 2.0.0-rc.8 before 2.2.2 contains a resource exhaustion vulnerability that allows anonymous visitors to bypass the system.images.max_pixels limit when system.images.url_actions is enabled. Attackers can send single-dimension or percentage forceResize, zoomCrop, or chained image actions to make GD allocate multi-gigabyte canvases, exhausting server memory and taking the site down.","summary":"Grav CMS builds image canvases in GD from URL parameters without enforcing its pixel limit when url_actions is on. An anonymous visitor can request huge resize or crop sizes and make the server allocate gigabytes of memory, taking the site down.","severity":"high","cvss":8.7,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["grav","php","runtime","self-hosted"],"not_affected_if":["patched-version","url-actions-disabled"],"how_to_check":"Check whether system.images.url_actions is enabled in the Grav system configuration (user/config/system.yaml).\nCheck the installed version: bin/gpm version or the version line in the admin panel.","fix":"Upgrade Grav 1.7.x to 1.7.53.5 or later, or Grav 2.x to 2.2.2 or later.\nUntil upgraded, set system.images.url_actions to false.","status":"open","published_at":"2026-10-19T20:17:55+00:00","first_seen_at":"2026-10-23T21:57:19+00:00","triaged_at":"2026-10-23T22:37:25+00:00","updated_at":"2026-10-23T22:37:25+00:00","category":"runtime","confidence":0.75,"triage":{"at":"2026-10-23T22:37:25Z","model":"claude-haiku-5-5","output":{"fix":"Upgrade Grav 1.7.x to 1.7.53.5 or later, or Grav 2.x to 2.2.2 or later.\nUntil upgraded, set system.images.url_actions to false.","reach":"internet","title":"Grav CMS: anonymous image resize requests exhaust server memory and crash sites","impact":"medium","summary":"Grav CMS builds image canvases in GD from URL parameters without enforcing its pixel limit when url_actions is on. An anonymous visitor can request huge resize or crop sizes and make the server allocate gigabytes of memory, taking the site down.","category":"runtime","who_cares":["grav","self-hosted","php"],"confidence":0.75,"needs_auth":"no","worst_case":"anonymous requests crash the site by exhausting server memory","analyst_note":"","how_to_check":"Check whether system.images.url_actions is enabled in the Grav system configuration (user/config/system.yaml).\nCheck the installed version: bin/gpm version or the version line in the admin panel.","needs_analyst":false,"not_affected_if":["url-actions-disabled","patched-version"],"user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"high"},"cost_usd":0.000513,"input_tokens":2995,"output_tokens":426,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-112782':15A,18A '-2026':14A,17A '1.7.53':67C '1.7.53.5':69C '2.0.0':71C '2.2.2':74C 'action':42B,92C,108C 'alloc':59B,112C 'allow':81C 'anonym':3A,46B,82C 'attack':95C 'build':27B 'bypass':85C 'canvas':29B,116C 'chain':106C 'cms':2A,26B 'contain':75C 'crash':11A 'crop':53B 'cve':13A,16A 'dimens':100C 'enabl':94C 'enforc':36B 'exhaust':7A,78C,117C 'forceres':103C 'gd':31B,111C 'gigabyt':60B,115C 'grav':1A,19B,25B,66C 'host':24B 'huge':50B 'imag':4A,28B,107C 'limit':39B,89C 'make':56B,110C 'memori':9A,62B,119C 'multi':114C 'multi-gigabyt':113C 'paramet':34B 'percentag':102C 'php':20B 'pixel':38B,88C 'rc.8':72C 'request':6A,49B 'resiz':5A,51B 'resourc':77C 'runtim':21B 'self':23B 'self-host':22B 'send':97C 'server':8A,58B,118C 'singl':99C 'single-dimens':98C 'site':12A,65B,123C 'size':54B 'system.images.max':87C 'system.images.url':91C 'take':63B,121C 'url':33B,41B 'visitor':47B,83C 'vulner':79C 'without':35B 'zoomcrop':104C","nicknames":[],"mitigations":[],"who_affected":null,"tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-19T20:17:55+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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-112782","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112782","severity":null,"published_at":"2026-10-19T20:17:55+00:00","modified_at":"2026-10-20T17:17:31+00:00","first_seen_at":"2026-10-23T21:57:19+00:00","fetched_at":"2026-10-23T22:28:57+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"}