CVE-2024-8927: Php5 · In PHP versions 8.1. before 8.1.30, 8.2
Affects php5Source GCVE Database
Not known to be exploited · CVSS 7.5 High · fixed in 5.5.9+dfsg-1ubuntu4.29+esm16 : patch php5 soon.
Data as of 24 Nov 2026, 19:25 UTC
Thin evidence
One scorer or none| CNA (php) | CVSS 3.1 | 7.5 |
|---|
- Patch
- Available – fixed in 5.5.9+dfsg-1ubuntu4.29+esm16, 7.0.33-0ubuntu0.16.04.16+esm12, 7.2.24-0ubuntu0.18.04.17+esm6 +3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Oct 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSphp8.3pkg:deb/ubuntu/php8.3?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSphp8.1pkg:deb/ubuntu/php8.1?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTSphp7.4pkg:deb/ubuntu/php7.4?arch=source&distro=focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSphp7.2pkg:deb/ubuntu/php7.2?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in
|
Ubuntu Pro 16.04 LTSphp7.0pkg:deb/ubuntu/php7.0?arch=source&distro=esm-infra/xenialOther threats | Affected
| Fixed in
|
Ubuntu Pro 14.04 LTSphp5pkg:deb/ubuntu/php5?arch=source&distro=esm-infra-legacy/trustyOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, HTTP_REDIRECT_STATUS variable is used to check whether or not CGI binary is being run by the HTTP server. However, in certain scenarios, the content of this variable can be controlled by the request submitter via HTTP headers, which can lead to cgi.force_redirect option not being correctly applied. In certain configurations this may lead to arbitrary file inclusion in PHP.
References
- ubuntu.com/security/CVE-2024-8927 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-8927 (opens in a new tab)
- github.com/php/php-src/security/advisories/GHSA-94p6-54jq-9mwp (opens in a new tab)
- ubuntu.com/security/notices/USN-7049-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7049-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7049-3 (opens in a new tab)