CVE-2024-8926
PHP vulnerability analysis and mitigation

Overview

In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, when using certain non-standard configurations of Windows codepages, the fixes for CVE-2024-4577 may still be bypassed. This vulnerability allows command injection related to Windows "Best Fit" codepage behavior (NVD).

Technical details

The vulnerability is related to Windows codepage behavior and allows command injection attacks. It has been assigned a CVSS v3.1 base score of 8.8 HIGH (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) by NVD, while PHP Group assigned it a score of 8.1 HIGH (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H). The vulnerability is classified as CWE-78: Improper Neutralization of Special Elements used in an OS Command (NVD).

Impact

The vulnerability allows malicious users to pass options to the PHP binary being executed, potentially revealing source code of scripts and enabling arbitrary PHP code execution on the server (SecurityOnline).

Exploitability

The vulnerability can be exploited remotely and requires low attack complexity according to the NVD assessment. It specifically affects systems using non-standard configurations of Windows codepages and bypasses previous fixes implemented for CVE-2024-4577 (NVD).

Mitigation and workarounds

Users are advised to update to the patched versions: PHP 8.1.30, PHP 8.2.24, or PHP 8.3.12 to address this vulnerability (SecurityOnline).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-59989CRITICAL9.2
  • PHP logoPHP
  • phalcon/cphalcon
NoYesAug 21, 2026
CVE-2026-63135HIGH8.2
  • PHP logoPHP
  • yourls/yourls
NoYesAug 21, 2026
GHSA-p2ch-c2c3-4xm5MEDIUM6.1
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026
GHSA-8hgv-xc77-jmcrMEDIUM5.1
  • PHP logoPHP
  • getgrav/grav
NoYesAug 21, 2026
GHSA-hq84-x37p-j6q5MEDIUM4.5
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management