CVE-2026-53653: CWE-770: Allocation of Resources Without Limits or Throttling in getgrav grav
CVE-2026-53653 is a high-severity vulnerability in the Grav CMS that allows unauthenticated attackers to cause a denial of service by requesting image resizes with excessively large dimensions. The flaw arises because the system does not limit the size of image resize parameters, leading to excessive memory and CPU consumption. This can crash the server by exhausting resources. A patch is available that introduces configurable limits on image resize dimensions to prevent abuse.
AI Analysis
Technical Summary
The vulnerability exists in Grav's image processing where the fallbackUrl() method processes query parameters for image resizing actions without limiting the requested dimensions. Specifically, the forceResize action sets output image size directly from user input without clamping. The underlying GD library allocates memory outside PHP's memory limits, allowing attackers to exhaust server RAM and CPU by requesting very large image sizes (e.g., 20000x20000 pixels). This results in denial of service for any Grav site serving images. The issue affects versions prior to 1.7.53 and the 2.0.0-rc.8 release candidate. A patch introduces a configurable maximum dimension (default 8000) to reject oversized requests at the request boundary.
Potential Impact
An unauthenticated attacker can cause a denial of service on any Grav site serving images by exhausting server memory and CPU resources through oversized image resize requests. This can crash the server or severely degrade performance. No authentication or special configuration is required to exploit this vulnerability.
Mitigation Recommendations
A patch is available that adds a configurable maximum dimension limit (default 8000) for image resize requests, rejecting requests exceeding this limit before processing. Operators should apply this patch or upgrade to a fixed version. The vendor advisory recommends bounding the resize arguments at the request boundary rather than relying on the image library. No other mitigation is indicated.
CVE-2026-53653: CWE-770: Allocation of Resources Without Limits or Throttling in getgrav grav
Description
CVE-2026-53653 is a high-severity vulnerability in the Grav CMS that allows unauthenticated attackers to cause a denial of service by requesting image resizes with excessively large dimensions. The flaw arises because the system does not limit the size of image resize parameters, leading to excessive memory and CPU consumption. This can crash the server by exhausting resources. A patch is available that introduces configurable limits on image resize dimensions to prevent abuse.
CVSS v4.0
Score 8.7high
Affected software
pkg:github/getgrav/gravRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists in Grav's image processing where the fallbackUrl() method processes query parameters for image resizing actions without limiting the requested dimensions. Specifically, the forceResize action sets output image size directly from user input without clamping. The underlying GD library allocates memory outside PHP's memory limits, allowing attackers to exhaust server RAM and CPU by requesting very large image sizes (e.g., 20000x20000 pixels). This results in denial of service for any Grav site serving images. The issue affects versions prior to 1.7.53 and the 2.0.0-rc.8 release candidate. A patch introduces a configurable maximum dimension (default 8000) to reject oversized requests at the request boundary.
Potential Impact
An unauthenticated attacker can cause a denial of service on any Grav site serving images by exhausting server memory and CPU resources through oversized image resize requests. This can crash the server or severely degrade performance. No authentication or special configuration is required to exploit this vulnerability.
Mitigation Recommendations
A patch is available that adds a configurable maximum dimension limit (default 8000) for image resize requests, rejecting requests exceeding this limit before processing. Operators should apply this patch or upgrade to a fixed version. The vendor advisory recommends bounding the resize arguments at the request boundary rather than relying on the image library. No other mitigation is indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-09T20:50:36.876Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a511ed468715ace43d68955
Added to database: 07/10/2026, 16:33:24 UTC
Last enriched: 08/15/2026, 17:17:40 UTC
Last updated: 08/23/2026, 22:52:11 UTC
Views: 63
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.