cve.bz

CVE-2024-9026 php php: Improper Output Neutralization for Logs

3.3 lowExploit referenceEPSS 0.5%

Low (3.3) in php php. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

3.3 low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2024-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-117 Improper Output Neutralization for Logs
CWE-158 Improper Neutralization of Null Byte or NUL Character
OWASP Top 10
A09:2025 Logging & Alerting Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-9026 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-9026?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-9026?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-9026 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
PHP Group PHPfrom 8.1.* before 8.1.30
PHP Group PHPfrom 8.2.* before 8.2.24
PHP Group PHPfrom 8.3.* before 8.3.12

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11php7.47.4.33-1+deb11u6DLA-3920-1
Debian12php8.28.2.24-1~deb12u1DEBIAN-CVE-2024-9026 DSA-5780-1
Ubuntu20.04:LTSphp7.47.4.3-4ubuntu2.24USN-7049-1
Ubuntu22.04:LTSphp8.18.1.2-1ubuntu2.19UBUNTU-CVE-2024-9026 USN-7049-1
Ubuntu24.04:LTSphp8.38.3.6-0ubuntu0.24.04.2UBUNTU-CVE-2024-9026 USN-7049-1
Red Hatenterprise_linux:8::appstreamapcu-panel, php-pecl-apcu, php-pecl-apcu-devel and 2 more0:5.1.18-1.module+el8.10.0+22485+a3539972RHSA-2024:10952
Red Hatenterprise_linux:8::appstreamapcu-panel, php-pecl-apcu, php-pecl-apcu-devel and 2 more0:5.1.23-1.module+el8.10.0+20770+a5eca186RHSA-2024:10951
Red Hatenterprise_linux:8::appstreamlibzip, libzip-devel, libzip-tools and 3 more0:1.6.1-1.module+el8.10.0+22485+a3539972RHSA-2024:10952
Red Hatenterprise_linux:8::appstreamlibzip, libzip-devel, libzip-tools and 3 more0:1.7.3-1.module+el8.10.0+20770+a5eca186RHSA-2024:10951
Red Hatenterprise_linux:8::appstreamphp, php-gd, php-cli and 51 more0:7.4.33-2.module+el8.10.0+22485+a3539972RHSA-2024:10952
Red Hatenterprise_linux:8::appstreamphp, php-gd, php-cli and 47 more0:8.2.25-1.module+el8.10.0+22478+9eb07224RHSA-2024:10951
Red Hatenterprise_linux:8::appstreamphp-pear1:1.10.13-1.module+el8.10.0+22485+a3539972RHSA-2024:10952
Red Hatenterprise_linux:8::appstreamphp-pear1:1.10.14-1.module+el8.10.0+20770+a5eca186RHSA-2024:10951
Red Hatenterprise_linux:8::appstreamphp-pecl-rrd, php-pecl-rrd-debuginfo, php-pecl-rrd-debugsource0:2.0.1-1.module+el8.10.0+22485+a3539972RHSA-2024:10952
Red Hatenterprise_linux:8::appstreamphp-pecl-rrd, php-pecl-rrd-debuginfo, php-pecl-rrd-debugsource0:2.0.3-1.module+el8.10.0+20770+a5eca186RHSA-2024:10951
Red Hatenterprise_linux:8::appstreamphp-pecl-xdebug, php-pecl-xdebug-debuginfo, php-pecl-xdebug-debugsource0:2.9.5-1.module+el8.10.0+22485+a3539972RHSA-2024:10952
Red Hatenterprise_linux:8::appstreamphp-pecl-xdebug3, php-pecl-xdebug3-debuginfo, php-pecl-xdebug3-debugsource0:3.2.2-2.module+el8.10.0+20798+00eaeb41RHSA-2024:10951
13 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Module for Legacy 15 SP5, Linux Enterprise Module for Legacy 15 SP6php7, php7-fpm, php7-fastcgi and 1 more7.4.33-150400.4.40.1SUSE-SU-2024:3733-1
SUSELinux Enterprise Module for Package Hub 15 SP5, Linux Enterprise Module for Package Hub 15 SP6php7-embed7.4.33-150400.4.40.1SUSE-SU-2024:3733-1
SUSELinux Enterprise Module for Web and Scripting 12, Linux Enterprise Software Development Kit 12 SP5php747.4.33-1.71.1SUSE-SU-2024:3732-1
SUSELinux Enterprise Module for Web and Scripting 15 SP5php8, php8-fpm, php8-test and 3 more8.0.30-150400.4.46.1SUSE-SU-2024:3664-1
SUSELinux Enterprise Module for Web and Scripting 15 SP6php8, php8-fpm, php8-test and 3 more8.2.24-150600.3.6.1SUSE-SU-2024:3729-1
openSUSELeap 15.5php8, php8-fpm, php8-test and 3 more8.0.30-150400.4.46.1SUSE-SU-2024:3664-1
openSUSELeap 15.5, Leap 15.6php7, php7-fpm, php7-test and 3 more7.4.33-150400.4.40.1SUSE-SU-2024:3733-1
openSUSELeap 15.6php8, php8-fpm, php8-test and 3 more8.2.24-150600.3.6.1SUSE-SU-2024:3729-1
openSUSETumbleweedphp88.3.12-1.1openSUSE-SU-2024:14376-1
AlmaLinux8apcu-panel, php-pecl-apcu, php-pecl-apcu-devel5.1.18-1.module_el8.6.0+2750+78feabcbALSA-2024:10952
AlmaLinux8apcu-panel, php-pecl-apcu, php-pecl-apcu-devel5.1.23-1.module_el8.10.0+3796+30ed3ef7ALSA-2024:10951
AlmaLinux8libzip, libzip-devel1.7.3-1.module_el8.6.0+3061+6878dd1bALSA-2024:10951
AlmaLinux8libzip, libzip-devel, libzip-tools1.6.1-1.module_el8.10.0+3935+28808425ALSA-2024:10952
AlmaLinux8libzip, libzip-devel, libzip-tools1.6.1-1.module_el8.6.0+3239+bedf0508ALSA-2024:10952
AlmaLinux8libzip, libzip-devel, libzip-tools1.7.3-1.module_el8.10.0+3796+30ed3ef7ALSA-2024:10951
AlmaLinux8libzip, libzip-tools1.6.1-1.module_el8.6.0+2750+78feabcbALSA-2024:10952
AlmaLinux8libzip, libzip-tools1.7.3-1.module_el8.6.0+2739+efabdb8fALSA-2024:10951
AlmaLinux8php, php-gd, php-cli and 24 more7.4.33-2.module_el8.10.0+3935+28808425ALSA-2024:10952
AlmaLinux8php, php-gd, php-cli and 22 more8.2.25-1.module_el8.10.0+3936+14b35499ALSA-2024:10951
AlmaLinux8php-pear1:1.10.13-1.module_el8.10.0+3935+28808425ALSA-2024:10952
AlmaLinux8php-pear1:1.10.14-1.module_el8.10.0+3796+30ed3ef7ALSA-2024:10951
24 more for AlmaLinux in the JSON.
Rocky Linux8libzip0:1.6.1-1.module+el8.10.0+1604+6558efc7RLSA-2024:10952
Rocky Linux8libzip0:1.7.3-1.module+el8.10.0+1596+477f03f8RLSA-2024:10951
Rocky Linux8php0:7.4.33-2.module+el8.10.0+1912+72767185RLSA-2024:10952
Rocky Linux8php0:8.2.25-1.module+el8.10.0+1911+f499711eRLSA-2024:10951
Rocky Linux8php-pear1:1.10.13-1.module+el8.10.0+1604+6558efc7RLSA-2024:10952
Rocky Linux8php-pear1:1.10.14-1.module+el8.10.0+1596+477f03f8RLSA-2024:10951
Rocky Linux8php-pecl-apcu0:5.1.18-1.module+el8.10.0+1604+6558efc7RLSA-2024:10952
Rocky Linux8php-pecl-apcu0:5.1.23-1.module+el8.10.0+1596+477f03f8RLSA-2024:10951
Rocky Linux8php-pecl-rrd0:2.0.1-1.module+el8.10.0+1604+6558efc7RLSA-2024:10952
Rocky Linux8php-pecl-rrd0:2.0.3-1.module+el8.10.0+1596+477f03f8RLSA-2024:10951
Rocky Linux8php-pecl-xdebug0:2.9.5-1.module+el8.10.0+1604+6558efc7RLSA-2024:10952
Rocky Linux8php-pecl-xdebug30:3.2.2-2.module+el8.10.0+1596+477f03f8RLSA-2024:10951
13 more for Rocky Linux in the JSON.
Alpinev3.19php818.1.30-r0ALPINE-CVE-2024-9026
Alpinev3.20php828.2.24-r0ALPINE-CVE-2024-9026
Alpinev3.20php838.3.12-r0ALPINE-CVE-2024-9026
Azure Linux2php8.1.30-1AZL-50144
Azure Linux3php8.3.12-1AZL-50172
Alpaquita23php818.1.30-r1BELL-CVE-2024-9026
Alpaquitastreamphp838.3.12-r0BELL-CVE-2024-9026

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This vulnerability only affects configurations with the `catch_workers_output` directive enabled or set to yes in the configuration file. This option is disabled by default.

Additionally, if the `error_log` directive is set to `syslog`, the logs are being sent to syslogd instead of a regular file, allowing further log data manipulation.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8php:8.2-8100020241112130045.f7998665Fixed 2024-12-11RHSA-2024:10951
Red Hat Enterprise Linux 8php:7.4-8100020241113075828.f7998665Fixed 2024-12-11RHSA-2024:10952
Red Hat Enterprise Linux 9php:8.2-9050020241112094217.9Fixed 2024-12-11RHSA-2024:10949
Red Hat Enterprise Linux 9php:8.1-9050020241112144108.9Fixed 2024-12-11RHSA-2024:10950
Red Hat Enterprise Linux 9php-0:8.0.30-2.el9Fixed 2025-05-13RHSA-2025:7315
Red Hat Enterprise Linux 10phpFix deferred
Red Hat Enterprise Linux 7phpOut of support scope
Red Hat Enterprise Linux 8php:8.0/phpFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-9026.

Attack patterns (CAPEC)

  • CAPEC-52 Embedding NULL Bytes Likelihood: High · Severity: High
  • CAPEC-53 Postfix, Null Terminate, and Backslash Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-93 Log Injection-Tampering-Forging Likelihood: High · Severity: High
  • CAPEC-268 Audit Log Manipulation

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON