p PatchFirst

CVE-2024-8926

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.1 · High · EPSS 3.7% · Fix available

Published
Updated

Stack: system · php

Affected products and versions

  • php

    Versions
    • ≥ 8.1.*, < 8.1.30: Affected (semver)
    • ≥ 8.2.*, < 8.2.24: Affected (semver)
    • ≥ 8.3.*, < 8.3.12: Affected (semver)

    Update to 8.1.30; Update to 8.2.24; Update to 8.3.12

  • php8.2 Debian:12

    Versions
    • 8.2.10-1
    • 8.2.10-2
    • 8.2.12-1
    • 8.2.16-1
    • 8.2.16-2
    • 8.2.17-1
    • 8.2.18-1
    • 8.2.18-1~deb12u1
    • 8.2.20-1~deb12u1
    • 8.2.20-2
    • 8.2.20-3
    • 8.2.21-1
    • 8.2.23-1
    • 8.2.5-2
    • 8.2.7-1
    • 8.2.7-1.1
    • 8.2.7-1.2
    • 8.2.7-1~deb12u1
    Affected ranges
    • ECOSYSTEM: < 8.2.24-1~deb12u1

    Update to 8.2.24-1~deb12u1

Original sources

Check your server →