What’s Vulnerable › Vulnerabilities
CVE-2024-9026: PHP-FPM logs from children may be altered
- Severity: low (CVSS 3.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-10-08 · updated 2026-06-17
- Weakness: CWE-117
Description
In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, when using PHP-FPM SAPI and it is configured to catch workers output through catch_workers_output = yes, it may be possible to pollute the final log or remove up to 4 characters from the log messages by manipulating log message content. Additionally, if PHP-FPM is configured to use syslog output, it may be possible to further remove log data using the same vulnerability.
Affected products
- PHP: from 8.1.0 before 8.1.30; from 8.2.0 before 8.2.24; from 8.3.0 before 8.3.12 — fixed in 8.1.30, 8.2.24, 8.3.12
How to fix
Upgrade to a fixed version: PHP 8.1.30, 8.2.24, 8.3.12. Check the vendor advisory for mitigations.
References
- https://github.com/php/php-src/security/advisories/GHSA-865w-9rf3-2wh5
- https://lists.debian.org/debian-lts-announce/2024/10/msg00011.html
- https://security.netapp.com/advisory/ntap-20241101-0003/
Get alerted when CVE-2024-9026 or the next vulnerability affects your stack