Skip to main content
CVE-2024-9026VulnerabilityPublished Updated

CVE-2024-9026: PHP · Improper Neutralization of Null Byte or NUL Character

Affects PHPSource CVE Database V5

0

Not known to be exploited · CVSS 3.3 Low : upgrade to 8.1.30 when convenient.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
3.3Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 41% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 8.1.30
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Oct 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Upgrade debian/php to 8.1.30.

Affected software

ProductAffectedFixed in
Debiandebian/phppkg:deb/debian/phpOther threatsAffected
  • <8.1.30
Fixed in
  • 8.1.30

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

1. Upgrade PHP to the fixed versions: 8.1.30 or later, 8.2.24 or later, or 8.3.12 or later to ensure the vulnerability is patched. 2. Review and harden PHP-FPM configurations, especially the catch_workers_output setting; consider disabling it if not strictly necessary. 3. If using syslog for PHP-FPM logging, verify the integrity and completeness of logs regularly and implement additional log validation mechanisms. 4. Employ host-based intrusion detection systems (HIDS) to monitor for suspicious local activity that could precede exploitation attempts. 5. Restrict local access to PHP-FPM servers to trusted administrators and use strong access controls to minimize the risk of local exploitation. 6. Implement centralized logging with tamper-evident storage to detect any log manipulation attempts. 7. Conduct regular audits of logging infrastructure and ensure that log retention policies comply with regulatory requirements. 8. Educate system administrators about this vulnerability and the importance of timely patching and log integrity monitoring.

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.

References

Community reviews

Loading reviews…