PHP vulnerabilities5 known to be exploited.

Vendor5 known exploited
The short answer

PHP has 756 published vulnerabilities across 34 products in our catalogue. 5 of them are on the list of flaws known to be exploited, so criminals are using them now. The most affected product is PHP, with 725. If you run PHP software, patch the exploited flaws first.

See the exploited flaws

The most recent PHP flaw added to the known-exploited list is CVE-2024-4577, on 12 June 2024. We keep watching the known-exploited list.

Products

Which PHP products have the most vulnerabilities?

PHP leads with 725 published vulnerabilities. Open a product to see its versions and which of its flaws criminals are already using.

Known exploited

Which PHP vulnerabilities are being exploited?

5 flaws are on the government list of vulnerabilities known to be exploited. These are the ones criminals are using now, so they go first, whatever their severity score says.

  1. 9.8
    CVE-2024-4577CriticalKnown exploited
    PHP-CGI OS Command Injection Vulnerability

    PHP, specifically Windows-based PHP used in CGI mode, contains an OS command injection vulnerability that allows for arbitrary code execution.

    Chance of use>99%Known exploited since12 Jun 2024
  2. 7.8
    CVE-2020-28949HighKnown exploited
    PEAR Archive_Tar Deserialization of Untrusted Data Vulnerability

    PEAR Archive_Tar allows an unserialization attack because phar: is blocked but PHAR: is not blocked.

    Chance of use85%Known exploited since25 Aug 2022
  3. 7.5
    CVE-2020-36193HighKnown exploited
    PEAR Archive_Tar Improper Link Resolution Vulnerability

    PEAR Archive_Tar Tar.php allows write operations with directory traversal due to inadequate checking of symbolic links.

    Chance of use71%Known exploited since25 Aug 2022
  4. 9.8
    CVE-2012-1823CriticalKnown exploited
    PHP-CGI Query String Parameter Vulnerability

    sapi/cgi/cgi_main.c in PHP, when configured as a CGI script, does not properly handle query strings, which allows remote attackers to execute arbitrary code.

    Chance of use>99%Known exploited since25 Mar 2022
  5. 8.7
    CVE-2019-11043HighKnown exploited
    PHP FastCGI Process Manager (FPM) Buffer Overflow Vulnerability

    In some versions of PHP in certain configurations of FPM setup, it is possible to cause FPM module to write past allocated buffers allowing the possibility of remote code execution.

    Chance of use>99%Known exploited since25 Mar 2022
Exploit likelihood

Which PHP flaws are most likely to be used?

Ranked by the latest exploit-likelihood forecast: the chance each flaw is used in an attack in the next 30 days. A high severity score on its own doesn't tell you that. Flaws shared by many other makers' products are left out.

50% or more10% to 49%Under 10%
  1. >99%
    CVE-2012-1823CriticalKnown exploited

    sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle query strings that lack an = (equals sign) character, which allows remote...

    CVSS9.8Published11 May 2012
  2. >99%
    CVE-2024-4577CriticalKnown exploited

    In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, when using Apache and PHP-CGI on Windows, if the system is set up to use certain code pages, Windows may use "Best-Fit" behavior to...

    CVSS9.8Published9 Jun 2024
  3. >99%
    CVE-2019-11043HighKnown exploited

    In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it is possible to cause FPM module to write past allocated buffers into the space reserved for FCGI...

    CVSS8.7Published28 Oct 2019
  4. 95%

    University of Washington IMAP Toolkit 2007f on UNIX, as used in imap_open() in PHP and other products, launches an rsh command (by means of the imap_rimap function in c-client/imap4r1.c and the tcp_aopen function in...

    CVSS7.5Published25 Nov 2018
  5. 95%

    Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and other 2.x versions before 2.18, allows context-dependent attackers to execute arbitrary code via vectors related to the (1)...

    CVSS10.0Published28 Jan 2015
  6. 88%

    In PHP through 5.6.33, 7.0.x before 7.0.28, 7.1.x through 7.1.14, and 7.2.x through 7.2.2, there is a stack-based buffer under-read while parsing an HTTP response in the php_stream_url_wrap_http_ex function in...

    CVSS9.8Published1 Mar 2018
  7. 85%
    CVE-2020-28949HighKnown exploited

    Archive_Tar through 1.4.10 has :// filename sanitization only to address phar attacks, and thus any other stream-wrapper attack (such as file:// to overwrite files) can still succeed.

    CVSS7.8Published19 Nov 2020
  8. 84%

    PHP before 5.3.9 computes hash values for form parameters without restricting the ability to trigger hash collisions predictably, which allows remote attackers to cause a denial of service (CPU consumption) by...

    CVSS5.0Published30 Dec 2011
  9. 80%

    An issue was discovered in PHP before 5.6.33, 7.0.x before 7.0.27, 7.1.x before 7.1.13, and 7.2.x before 7.2.1.

    CVSS6.1Published16 Jan 2018
EdgeProtect

Running PHP? We'll keep checking.

Looking flaws up one at a time doesn't scale. Tell us what you run once, and we tell you which flaws matter to you, in what order, and keep watching for new ones.

  1. Tell us what you runPick your software from a list, or let us work it out from your website.
  2. We match it to every flawOver 400,000 published flaws, checked against your list.
  3. Ranked by real-world riskA 0 to 100 score, led by evidence criminals are using it.
  4. Told as soon as we knowAn alert by email, in the app or by webhook to your own tools.

Free plan, no card needed. Nothing to install.

FAQ

Common questions, answered plainly.

Something else? Talk to the team →

Our catalogue lists 756 published vulnerabilities across 34 products and 933 versions from PHP. The most recent PHP flaw added to the known-exploited list is CVE-2024-4577, on 12 June 2024.

5 PHP vulnerabilities are on the list of flaws known to be exploited. The most recently added are CVE-2024-4577, CVE-2020-28949 and CVE-2020-36193. The full list is on this page.

PHP, with 725 published vulnerabilities. Its own page lists the ones known to be exploited.

Create a EdgeProtect account and track the PHP products you run. We match them against every published flaw, give each one a risk score from 0 to 100 and tell you as soon as we spot one that affects you, by email, in the app or by webhook.