{"id":"CVE-2024-8926","state":"PUBLISHED","title":"PHP CGI Parameter Injection Vulnerability (CVE-2024-4577 bypass)","description":"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.","publishedAt":"2024-10-08T03:48:53.628Z","updatedAt":"2025-11-03T22:33:06.473Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"php"},"assigner":"php","products":["PHP Group PHP"],"affected":[{"vendor":"PHP Group","product":"PHP","defaultStatus":"affected","versions":[{"version":"8.1.*","status":"affected","lessThan":"8.1.30","versionType":"semver"},{"version":"8.2.*","status":"affected","lessThan":"8.2.24","versionType":"semver"},{"version":"8.3.*","status":"affected","lessThan":"8.3.12","versionType":"semver"}],"platforms":["Windows"]}],"references":["https://github.com/php/php-src/security/advisories/GHSA-p99j-rfp4-xqvq","https://security.netapp.com/advisory/ntap-20241101-0003/"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:08:20.985Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/8xxx/CVE-2024-8926.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-8926","state":"PUBLISHED","datePublished":"2024-10-08T03:48:53.628Z","dateUpdated":"2025-11-03T22:33:06.473Z","assignerShortName":"php","assignerOrgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","dateReserved":"2024-09-17T04:06:56.550Z"},"containers":{"cna":{"title":"PHP CGI Parameter Injection Vulnerability (CVE-2024-4577 bypass)","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"PHP Group","product":"PHP","defaultStatus":"affected","versions":[{"version":"8.1.*","status":"affected","lessThan":"8.1.30","versionType":"semver"},{"version":"8.2.*","status":"affected","lessThan":"8.2.24","versionType":"semver"},{"version":"8.3.*","status":"affected","lessThan":"8.3.12","versionType":"semver"}],"platforms":["Windows"]}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-p99j-rfp4-xqvq"}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","description":"CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"php","orgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","dateUpdated":"2025-04-24T21:12:33.554Z"},"credits":[{"lang":"en","type":"finder","value":"https://github.com/MortalAndTry"}],"datePublic":"2024-09-27T17:50:00.000Z","impacts":[{"capecId":"CAPEC-88","descriptions":[{"lang":"en","value":"CAPEC-88 OS Command Injection"}]}],"source":{"advisory":"https://github.com/php/php-src/security/advisories/GHSA-p99j-rfp","discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"php","product":"php","defaultStatus":"unknown","versions":[{"version":"8.1.0","status":"affected","lessThan":"8.1.30","versionType":"semver"},{"version":"8.2.0","status":"affected","lessThan":"8.2.24","versionType":"semver"},{"version":"8.3.0","status":"affected","lessThan":"8.3.12","versionType":"semver"}],"cpes":["cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-10-08T12:55:27.311454Z","id":"CVE-2024-8926","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-08T13:52:37.171Z"}},{"title":"CVE Program Container","references":[{"url":"https://security.netapp.com/advisory/ntap-20241101-0003/"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T22:33:06.473Z"}}]}}}