Allocation of Resources Without Limits or Throttling Affecting getgrav/grav package, versions >=1.7.53, <1.7.53.5>=2.0.0-rc.8, <2.2.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.76% (55th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-GETGRAVGRAV-21717128
  • published26 Oct 2026
  • disclosed19 Oct 2026
  • creditmanus-pi

Introduced: 19 Oct 2026

NewCVE-2026-112782  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade getgrav/grav to version 1.7.53.5, 2.2.2 or higher.

Overview

getgrav/grav is a Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via Grav::fallbackUrl() when processing image URL actions, due to an incomplete pixel-ceiling check. The system.images.max_pixels limit only compared the width and height values literally present in the query string, and only when both were explicitly provided. An attacker can bypass the limit by supplying a single dimension (e.g. forceResize=46000 on a square source allocates a 46000x46000 canvas) or by using zoomCrop with a minimal second argument, causing GD/Imagick to allocate a canvas of widthheight4 bytes outside PHP's memory_limit and exhausting server RAM.

Note: This is only exploitable when system.images.url_actions is enabled.

CVSS Base Scores

version 4.0
version 3.1