Advisories · PHP & Laravel
CVE-2024-8926
High
CVSS 7.5
PHP multipart form parsing bug
Disclosed 2024 · Last reviewed 2 Dec 2026
A malformed multipart body could make PHP read outside the form buffer.
What happened
The multipart parser trusted a length from the request body.
Affected and patched versions
- Affected
- PHP 8.1 before 8.1.30, 8.2 before 8.2.24, and 8.3 before 8.3.12.
- Patched
- PHP 8.1.30, 8.2.24, 8.3.12, and later.
How to check your server
Check
php -v
How to fix and harden
- Upgrade PHP to the September 2024 security release for your major, or any later release.
- Keep post_max_size and upload_max_filesize at the size your app actually needs.
Fix
php -v
Sources
Version ranges and fixes follow the vendor advisory. When a distribution backports a fix, trust its security tracker over the upstream version number. New advisories: RSS · JSON