CVE-2024-8926
PHP CGI Parameter Injection Vulnerability (CVE-2024-4577 bypass)
Reported by php · Published October 8, 2024
In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, when using a certain non-standard configurations of Windows codepages, the fixes for CVE-2024-4577 https://github.com/advisories/GHSA-vxpp-6299-mxw3 may still be bypassed and the same command injection related to Windows "Best Fit" codepage behavior can be achieved. This may allow a malicious user to pass options to PHP binary being run, and thus reveal the source code of scripts, run arbitrary PHP code on the server, etc.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libphp | Bitnami | 8.3.12, 8.2.24, 8.1.30 |
| php81 | Alpine | 8.1.30-r0 |
| php82 | Alpine | 8.2.24-r0 |
| php-min | Bitnami | 8.3.12, 8.2.24, 8.1.30 |
| php83 | Alpine | 8.3.12-r0 |
| php | Bitnami | 8.3.12, 8.2.24, 8.1.30 |
| PHP | PHP Group | 8.3.12, 8.2.24, 8.1.30 |
| libphp | Bitnami | 8.3.12, 8.2.24, 8.1.30 |
| php | php | 8.3.12, 8.2.24, 8.1.30 |
| php | Bitnami | 8.3.12, 8.2.24, 8.1.30 |
| php-min | Bitnami | 8.3.12, 8.2.24, 8.1.30 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PHP Group | PHP | 8.1.*, 8.2.*, 8.3.* |
| alpine | php81 | 0 |
| alpine | php82 | 0 |
| alpine | php83 | 0 |
| PHP Group | PHP | 8.3.*, 8.1.*, 8.2.* |
| php | php | 8.2.0, 8.1.0, 8.3.0 |
Timeline
- Sep 26, 2024 CVE Published
- Oct 8, 2024 EPSS Score (30 in total, the first dated here)
- Oct 8, 2024 PoC Published (3 in total, the first dated here)
- Oct 14, 2024 Coalition ESS Score (17 in total, the first dated here)
- Nov 3, 2025 CVE Updated
- Oct 23, 2026 Distribution Patch (8 in total, the first dated here)
- Oct 23, 2026 Security Advisory (12 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-8926
vulnetix vdb fixes CVE-2024-8926
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-8926/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart