CVE-2026-61449
MEDIUM
6.5
CVSS 3.1
Description
Grav 2.0.1 contains a decompression-bomb size-cap bypass in ZipArchiver and GPM\Installer. The size bound introduced in 2.0.1 sums the uncompressed size declared in each entry's ZIP central-directory header (ZipArchive::statIndex()['size']) and rejects archives exceeding system.gpm.archive.max_uncompressed_size before extraction. Because this declared size is attacker-forgeable and is not cross-checked against the actual inflated stream, a crafted archive declaring tiny per-entry sizes passes the cap while extractTo() writes the real, much larger content, filling disk or exhausting inodes. The archive must be supplied by a package source or admin upload (admin/operator trust). Fixed in 2.0.2. This is an incomplete fix for GHSA-928x-9mpw-8h56.
Metadata
Severity & Metrics
6.5
MEDIUM CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| getgrav | grav | — | 0 < 2.0.2, 2.0.2 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-409 | cna | Improper Handling of Highly Compressed Data (Data Amplification) |
CVSS scores (2)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 7.1 | HIGH | 4.0 | cna | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| 6.5 | MEDIUM | 3.1 | cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
References (2)
- GitHub Security Advisory (GHSA-8h9x-89f2-m7x3) https://github.com/getgrav/grav/security/advisories/GHSA-8h9x-89f2-m7x3
- VulnCheck Advisory: Grav before 2.0.2 Decompression Bomb via Forged ZIP Size https://www.vulncheck.com/advisories/grav-before-decompression-bomb-via-forged-zip-size