{"items":[{"id":"NVI-00003312","kind":"vulnerability","title":"Grav: Unauthenticated denial of service via unbounded image derivative dimensions","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-4x9g-vw65-vvf9","CVE-2026-53653"],"plain_summary":"OSV carries this publisher advisory for getgrav/grav, getgrav/grav. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 2.0.0-rc.8 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-3a1c7be015d02a2a8e2b7b1c9fb67b4b"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 1.7.53 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-3a1c7be015d02a2a8e2b7b1c9fb67b4b"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-d09a6c64604eca98a3fa61d03e52e286"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-10-25T15:10:00.147Z","value":"8.7 HIGH (4.0)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-d09a6c64604eca98a3fa61d03e52e286"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-3a1c7be015d02a2a8e2b7b1c9fb67b4b","url":"https://github.com/advisories/GHSA-4x9g-vw65-vvf9","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-4x9g-vw65-vvf9","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:49.674Z"},{"id":"sr-d09a6c64604eca98a3fa61d03e52e286","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53653","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-53653","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T07:24:31.710Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-3a1c7be015d02a2a8e2b7b1c9fb67b4b"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"### Summary\nAn unauthenticated visitor exhausts server memory and CPU by requesting an image with oversized resize dimensions. One request drives a worker to several gigabytes of RAM and tens of seconds of CPU. A few concurrent requests take the host down.\n\n### Details\n`Grav::fallbackUrl()` (system/src/Grav/Common/Grav.php:800-804) loops over every query parameter and, when the name matches `ImageMedium::$magic_actions`, calls that method on the medium with the comma-split value as arguments:\n\n```php\nforeach ($uri->query(null, true) as $action => $params) {\n    if (in_array($action, ImageMedium::$magic_actions, true)) {\n        call_user_func_array([&$medium, $action], explode(',', $params));\n    }\n}\n```\n\n`forceResize` runs with `force=true`, so it sets the output size to the attacker's values with no clamp against the source or any ceiling. The `getgrav/image` GD adapter then calls `imagecreatetruecolor($w, $h)`. libgd allocates that buffer outside PHP's `emalloc`, so `memory_limit` does not cap it. Grav exposes no `system.images.max_width`/`max_height` setting.\n\n### PoC\nAny page that serves an image works. With a 200x150 source image:\n\n```\nGET /home/test.png?forceResize=20000,200","public_affected_ranges":["ECOSYSTEM: introduced 2.0.0-beta.1; fixed 2.0.0-rc.8"]},{"certainty":"source_listed","source_ids":["sr-3a1c7be015d02a2a8e2b7b1c9fb67b4b"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"### Summary\nAn unauthenticated visitor exhausts server memory and CPU by requesting an image with oversized resize dimensions. One request drives a worker to several gigabytes of RAM and tens of seconds of CPU. A few concurrent requests take the host down.\n\n### Details\n`Grav::fallbackUrl()` (system/src/Grav/Common/Grav.php:800-804) loops over every query parameter and, when the name matches `ImageMedium::$magic_actions`, calls that method on the medium with the comma-split value as arguments:\n\n```php\nforeach ($uri->query(null, true) as $action => $params) {\n    if (in_array($action, ImageMedium::$magic_actions, true)) {\n        call_user_func_array([&$medium, $action], explode(',', $params));\n    }\n}\n```\n\n`forceResize` runs with `force=true`, so it sets the output size to the attacker's values with no clamp against the source or any ceiling. The `getgrav/image` GD adapter then calls `imagecreatetruecolor($w, $h)`. libgd allocates that buffer outside PHP's `emalloc`, so `memory_limit` does not cap it. Grav exposes no `system.images.max_width`/`max_height` setting.\n\n### PoC\nAny page that serves an image works. With a 200x150 source image:\n\n```\nGET /home/test.png?forceResize=20000,200","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.7.53"]}],"null_published_at":"2026-11-07T22:29:23.438Z","source_updated_at":"2026-08-14T19:30:08.179Z","source_disclosed_at":"2026-08-14T19:23:38.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T21:41:49.674Z"},{"id":"NVI-00003312","kind":"vulnerability","title":"Grav: Unauthenticated denial of service via unbounded image derivative dimensions","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-4x9g-vw65-vvf9","CVE-2026-53653"],"plain_summary":"OSV carries this publisher advisory for getgrav/grav, getgrav/grav. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 2.0.0-rc.8 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-3a1c7be015d02a2a8e2b7b1c9fb67b4b"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 1.7.53 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-3a1c7be015d02a2a8e2b7b1c9fb67b4b"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-3a1c7be015d02a2a8e2b7b1c9fb67b4b","url":"https://github.com/advisories/GHSA-4x9g-vw65-vvf9","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-4x9g-vw65-vvf9","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:49.674Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-3a1c7be015d02a2a8e2b7b1c9fb67b4b"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"### Summary\nAn unauthenticated visitor exhausts server memory and CPU by requesting an image with oversized resize dimensions. One request drives a worker to several gigabytes of RAM and tens of seconds of CPU. A few concurrent requests take the host down.\n\n### Details\n`Grav::fallbackUrl()` (system/src/Grav/Common/Grav.php:800-804) loops over every query parameter and, when the name matches `ImageMedium::$magic_actions`, calls that method on the medium with the comma-split value as arguments:\n\n```php\nforeach ($uri->query(null, true) as $action => $params) {\n    if (in_array($action, ImageMedium::$magic_actions, true)) {\n        call_user_func_array([&$medium, $action], explode(',', $params));\n    }\n}\n```\n\n`forceResize` runs with `force=true`, so it sets the output size to the attacker's values with no clamp against the source or any ceiling. The `getgrav/image` GD adapter then calls `imagecreatetruecolor($w, $h)`. libgd allocates that buffer outside PHP's `emalloc`, so `memory_limit` does not cap it. Grav exposes no `system.images.max_width`/`max_height` setting.\n\n### PoC\nAny page that serves an image works. With a 200x150 source image:\n\n```\nGET /home/test.png?forceResize=20000,200","public_affected_ranges":["ECOSYSTEM: introduced 2.0.0-beta.1; fixed 2.0.0-rc.8"]},{"certainty":"source_listed","source_ids":["sr-3a1c7be015d02a2a8e2b7b1c9fb67b4b"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"### Summary\nAn unauthenticated visitor exhausts server memory and CPU by requesting an image with oversized resize dimensions. One request drives a worker to several gigabytes of RAM and tens of seconds of CPU. A few concurrent requests take the host down.\n\n### Details\n`Grav::fallbackUrl()` (system/src/Grav/Common/Grav.php:800-804) loops over every query parameter and, when the name matches `ImageMedium::$magic_actions`, calls that method on the medium with the comma-split value as arguments:\n\n```php\nforeach ($uri->query(null, true) as $action => $params) {\n    if (in_array($action, ImageMedium::$magic_actions, true)) {\n        call_user_func_array([&$medium, $action], explode(',', $params));\n    }\n}\n```\n\n`forceResize` runs with `force=true`, so it sets the output size to the attacker's values with no clamp against the source or any ceiling. The `getgrav/image` GD adapter then calls `imagecreatetruecolor($w, $h)`. libgd allocates that buffer outside PHP's `emalloc`, so `memory_limit` does not cap it. Grav exposes no `system.images.max_width`/`max_height` setting.\n\n### PoC\nAny page that serves an image works. With a 200x150 source image:\n\n```\nGET /home/test.png?forceResize=20000,200","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.7.53"]}],"null_published_at":"2026-10-31T22:12:48.012Z","source_updated_at":"2026-08-14T19:30:08.179Z","source_disclosed_at":"2026-08-14T19:23:38.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:41:49.674Z"}],"next_cursor":null,"snapshot_revision":"42594"}