Description
Grav before 2.1.7 contains a denial of service vulnerability that allows authenticated media authors to exhaust memory by uploading compressed oversized raster images. Attackers can reference a Twig or Markdown transform so GD or Imagick decodes the full source without dimension checks, letting anonymous requests repeatedly cause page unavailability.
Published: 2026-10-12
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Update
AI Analysis

Impact

Grav versions before 2.1.7 contain a memory exhaustion flaw that is triggered by uploaded compressed raster images that are larger than expected. When a media author uploads such an image, the image transform functions in Twig or Markdown process the file using GD or Imagick without checking the dimensions of the decoded image. This allows the attacker to consume large amounts of memory, ultimately causing the web server to become unresponsive or crash. The vulnerability is limited to a denial of service; it does not provide code execution or privilege escalation.

Affected Systems

The affected product is the Grav content‑management system provided by getgrav, in all releases earlier than 2.1.7. Authenticated users with media‑author privileges can supply oversized images, while the same flaw can be exercised by anonymous users who trigger a Twig or Markdown transform that processes the image.

Risk and Exploitability

The CVSS score of 7.1 indicates a moderate to high risk. The EPSS score is not available, so the likelihood of exploitation cannot be quantified, but the flaw is not listed in CISA’s KEV catalog. Attackers do not need elevated rights beyond media‑author roles, and anonymous requests can repeatedly trigger the transform path, making the vulnerability a realistic threat to site availability. Defensive measures are needed to prevent a sustained denial of service.

Generated by OpenCVE AI on October 12, 2026 at 18:42 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Grav to version 2.1.7 or later, which includes bounds checking for image dimensions.
  • If an upgrade is not immediately possible, configure the web server or PHP to enforce a stricter upload size limit and set Imagick or GD memory limits via ini settings such as memory_limit and Imagick:>setResourceLimit().
  • Restrict image transforms in Twig or Markdown templates so that they are only executed for authenticated users, or disable them for public pages, to reduce the attack surface of anonymous requests.

Generated by OpenCVE AI on October 12, 2026 at 18:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 13 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 12 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Description Grav before 2.1.7 contains a denial of service vulnerability that allows authenticated media authors to exhaust memory by uploading compressed oversized raster images. Attackers can reference a Twig or Markdown transform so GD or Imagick decodes the full source without dimension checks, letting anonymous requests repeatedly cause page unavailability.
Title Grav before 2.1.7 Memory Exhaustion via Oversized Image Transforms
First Time appeared Getgrav
Getgrav grav
Weaknesses CWE-409
CPEs cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
Vendors & Products Getgrav
Getgrav grav
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-13T16:54:24.396Z

Reserved: 2026-10-12T14:15:29.012Z

Link: CVE-2026-109324

cve-icon Vulnrichment

Updated: 2026-10-13T15:48:55.167Z

cve-icon NVD

Status : Deferred

Published: 2026-10-12T17:17:27.690

Modified: 2026-10-13T17:17:25.623

Link: CVE-2026-109324

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-12T20:15:06Z

Weaknesses
  • CWE-409

    Improper Handling of Highly Compressed Data (Data Amplification)