Skip to content
Fencer Vulns
high 8.1

CVE-2024-8926 json

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

published 2024-09-27 2 y ago modified 2026-09-08 2 mo ago also BIT-libphp-2024-8926 , BIT-php-2024-8926 , BIT-php-min-2024-8926 , EUVD-2024-49489 , GHSA-p99j-rfp4-xqvq

cvss
8.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
3.7%
EPSS 3.7% chance of exploitation in 30 days, percentile 89%
public exploits
0
none known

Summary

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.

Patch / fix

  • bitnami libphp 8.1.30, 8.2.24, 8.3.12
  • bitnami php 8.1.30, 8.2.24, 8.3.12
  • bitnami php-min 8.1.30, 8.2.24, 8.3.12
  • PHP Group PHP 8.1.30, 8.2.24, 8.3.12
  • php php 8.1.30, 8.2.24, 8.3.12
  • php8.2 Debian 12 8.2.24-1~deb12u1

debian advisories DEBIAN-CVE-2024-8926

  • php81 Alpine 3.19 8.1.30-r0
  • php82 Alpine 3.20 8.2.24-r0
  • php83 Alpine 3.20 8.3.12-r0

alpine advisories ALPINE-CVE-2024-8926

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-8926 updated cvss 8.1

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

  • Red Hat Enterprise Linux 6 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +20 more Red Hat Enterprise Linux 7 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +18 more Red Hat Enterprise Linux 8 php, libzip, php-gd, php-cli, php-dba, php-dbg, +30 more Red Hat Enterprise Linux 9 php, php-gd, php-cli, php-dba, php-dbg, php-ffi, +18 more Red Hat Enterprise Linux 10 php
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
2 y ago

Exploit prediction

3.66% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/php/php-src/security/advisories/GHSA-p99j-rfp4-xqvq referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
bitnami libphp
<8.1.30
>=8.2.0, <8.2.24
>=8.3.0, <8.3.12
8.1.30
8.2.24
8.3.12
bitnami php
<8.1.30
>=8.2.0, <8.2.24
>=8.3.0, <8.3.12
8.1.30
8.2.24
8.3.12
bitnami php-min
<8.1.30
>=8.2.0, <8.2.24
>=8.3.0, <8.3.12
8.1.30
8.2.24
8.3.12

Affected products

  • PHP Group PHP
  • php php

Classification

Weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of php/php-src published their own advisory on GitHub. Reviewed sources take precedence over it.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.