Skip to content

CVE-2026-61449 Grav before 2.0.2 Decompression Bomb via Forged ZIP Size

HighCVSS 7.1 EPSS 0.44%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
PHP

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
getgrav/grav < 2.0.2 2.0.2 Fixed
getgrav/grav(Packagist) = 2.0.1; >= 2.0.1, < 2.0.2 2.0.2 Fixed

Affected products

ProductAffected versionsFixed in
getgrav/grav(Packagist) >= 2.0.1, < 2.0.2 2.0.2
getgrav/grav(Packagist) = 2.0.1 No fix listed
getgrav/grav < 2.0.2 2.0.2

References