CVE & CISA-KEV Catalog

CVE-2024-8927

HIGH
7.5
CVSS v3
NVD

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.

How to fix

Remediation Available
php8.1Amazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-bcmathAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-bcmath-debuginfoAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-cliAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-cli-debuginfoAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-commonAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-common-debuginfoAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-dbaAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-dba-debuginfoAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-dbgAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-dbg-debuginfoAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-debuginfoAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-debugsourceAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-develAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-embeddedAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-embedded-debuginfoAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-enchantAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-enchant-debuginfoAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-ffiAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-ffi-debuginfoAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-fpmAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-fpm-debuginfoAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-gdAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-gd-debuginfoAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-gmpAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-gmp-debuginfoAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-intlAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-intl-debuginfoAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-ldapAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1
php8.1-ldap-debuginfoAmazon
Fixed in:0:8.1.31-1.amzn2023.0.1
Fixed in:0:8.1.31-1.amzn2023.0.1

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploit Intelligence

1.05%probability of exploitation in 30 days
63rdpercentile

Moderate risk: more likely to be exploited than 63% of all known CVEs.

References

Related Vulnerabilities

Other CWE-1220 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-31201Critical9.814%KEVFix
CVE-2026-33825High7.86.7%KEV + RansomFix
CVE-2024-42365High7.44.7%-Fix
CVE-2026-39363High7.53.4%-Fix
CVE-2023-43040Medium6.52.5%-Fix
CVE-2025-4404Critical9.12.0%-Fix

Common questions

How do I fix CVE-2024-8927?

Published advisories record a fix for 361 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2024-8927 being actively exploited?

Not that we know of. CVE-2024-8927 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 1.1% is the estimated probability that it will be exploited in the next 30 days. That is higher than 63% of all scored CVEs.

How severe is CVE-2024-8927?

CVE-2024-8927 has a CVSS v3 base score of 7.5, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2024-8927 affect?

Published advisories record a fix for php8.1 (Amazon), php8.1-bcmath (Amazon), php8.1-bcmath-debuginfo (Amazon), php8.1-cli (Amazon), and 357 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2024-8927
CVE-2024-8927 severity badge

Markdown

[![CVE-2024-8927](https://tridentstack.com/cve/badge/CVE-2024-8927.svg)](https://tridentstack.com/cve/CVE-2024-8927)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-8927"><img src="https://tridentstack.com/cve/badge/CVE-2024-8927.svg" alt="CVE-2024-8927"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.