CVE-2024-8926: PHP CGI Parameter Injection Vulnerability (CVE-2024-4577 bypass)

Published Sep 26, 2024
·
Updated

Fixed bug (Bypass of CVE-2024-4577, Parameter Injection Vulnerability). (CVE-2024-8926)

Other sources

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.

— MITRE

PHP CGI Parameter Injection Vulnerability (CVE-2024-4577 bypass)

— Microsoft

Affected Software

9 affected componentsFixes available
PHP PHP<8.3.12
8.3.12
PHP PHP>=8.1.0<8.1.30
PHP PHP>=8.2.0<8.2.24
PHP PHP>=8.3.0<8.3.12
debian/php8.2<8.2.24-1~deb12u1
8.2.24-1~deb12u1
debian/php8.2
8.2.32-1~deb12u18.2.35-1~deb12u1
alpine/php81<8.1.30-r0
8.1.30-r0
alpine/php82<8.2.24-r0
8.2.24-r0
alpine/php83<8.3.12-r0
8.3.12-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 8.3.12
  2. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 8.1.30
  3. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 8.2.24

Event History

Sep 26, 2024
CVE Published
via PHP·12:00 AM
Oct 8, 2024
CVE Published
via MITRE·03:48 AM
Data Sourced
via MITRE·03:48 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·04:15 AM
DescriptionSeverityAffected Software
Nov 1, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2024-8926?

CVE-2024-8926 is rated as a medium severity vulnerability.

2

How do I fix CVE-2024-8926?

To fix CVE-2024-8926, upgrade PHP versions to 8.1.30, 8.2.24, or 8.3.12 or later.

3

What PHP versions are affected by CVE-2024-8926?

CVE-2024-8926 affects PHP versions 8.1.0 to 8.1.29, 8.2.0 to 8.2.23, and 8.3.0 to 8.3.11.

4

What type of vulnerability is CVE-2024-8926?

CVE-2024-8926 is a parameter injection vulnerability that allows bypassing a previous fix.

5

Is there a workaround for CVE-2024-8926?

There are no specific workarounds for CVE-2024-8926; updating to a secure version is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203