2084AI 安全观察

基础设施漏洞库

PHP

The PHP Group · 66 CVE · 严重 17 · 高危 22 · 列入 CISA KEV 5

01020302023年以前:严重 2 个,其他 0 个更早2023 年:严重 1 个,其他 6 个20232024 年:严重 5 个,其他 12 个20242025 年:严重 2 个,其他 11 个20252026 年:严重 7 个,其他 20 个2026
高危及以下严重本库收录的 CVE,按发布年份

检查你的版本

例如 8.2.12,可用 php -v 查看

收录的全部 CVE · 66

  • CVE-2024-2408MED 5.92024-06-10EPSS 1%

    原文(英文)The openssl_private_decrypt function in PHP, when using PKCS1 padding (OPENSSL_PKCS1_PADDING, which is the default), is vulnerable to the Marvin Attack unless it is used with an OpenSSL version that includes the changes from this pull request: [link removed] (rsa_pkcs1_implicit_…

    • ≥ 8.3.0, < 8.3.8修复版本 8.3.8
    • ≥ 8.2.0, < 8.2.20修复版本 8.2.20
    • ≥ 8.1.0, < 8.1.29修复版本 8.1.29
  • CVE-2024-5585HIGH 8.82024-06-10EPSS 29%

    原文(英文)In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, the fix for CVE-2024-1874 does not work if the command name includes trailing spaces. Original issue: when using proc_open() command with array syntax, due to insufficient escaping, if the arguments of…

    • ≥ 8.3.0, < 8.3.8修复版本 8.3.8
    • ≥ 8.2.0, < 8.2.20修复版本 8.2.20
    • ≥ 8.1.0, < 8.1.29修复版本 8.1.29
  • CVE-2024-5458MED 5.32024-06-10EPSS 12%

    原文(英文)In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, due to a code logic error, filtering functions such as filter_var when validating URLs (FILTER_VALIDATE_URL) for certain types of URLs the function will result in invalid user information (username + p…

    • ≥ 8.3.0, < 8.3.8修复版本 8.3.8
    • ≥ 8.2.0, < 8.2.20修复版本 8.2.20
    • ≥ 8.1.0, < 8.1.29修复版本 8.1.29
    • ≥ 8.0.2, ≤ 8.0.30受影响至 8.0.30(含),修复版本见厂商公告
    • ≥ 7.4.15, ≤ 7.4.33受影响至 7.4.33(含),修复版本见厂商公告
    • ≥ 7.3.27, ≤ 7.3.33受影响至 7.3.33(含),修复版本见厂商公告
  • CVE-2024-3096MED 6.52024-04-29EPSS 1%

    原文(英文)In PHP version 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, if a password stored with password_hash() starts with a null byte (\x00), testing a blank string as the password via password_verify() will incorrectly return true.

    • ≥ 8.3.0, < 8.3.5修复版本 8.3.5
    • ≥ 8.2.0, < 8.2.18修复版本 8.2.18
    • ≥ 8.1.0, < 8.1.28修复版本 8.1.28
  • CVE-2024-2757HIGH 7.52024-04-29EPSS 2%

    原文(英文)In PHP 8.3.* before 8.3.5, function mb_encode_mimeheader() runs endlessly for some inputs that contain long strings of non-space characters followed by a space. This could lead to a potential DoS attack if a hostile user sends data to an application that uses this function.

    • ≥ 8.3.0, < 8.3.5修复版本 8.3.5
  • CVE-2024-1874CRIT 9.42024-04-29EPSS 33%

    原文(英文)In PHP versions 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, when using proc_open() command with array syntax, due to insufficient escaping, if the arguments of the executed command are controlled by a malicious user, the user can supply arguments that would exe…

    • ≥ 8.3.0, < 8.3.5修复版本 8.3.5
    • ≥ 8.2.0, < 8.2.18修复版本 8.2.18
    • ≥ 8.1.0, < 8.1.28修复版本 8.1.28
  • CVE-2024-3566CRIT 9.82024-04-11EPSS 7%

    原文(英文)A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly depend on the CreateProcess function when the specific conditions are satisfied.

    • ≥ 8.3.0, < 8.3.6修复版本 8.3.6
    • ≥ 8.2.0, < 8.2.18修复版本 8.2.18
    • < 8.1.28修复版本 8.1.28
  • CVE-2022-4900MED 5.52023-11-03EPSS 0%

    原文(英文)A vulnerability was found in PHP where setting the environment variable PHP_CLI_SERVER_WORKERS to a large value leads to a heap buffer overflow.

    • < 8.0.22修复版本 8.0.22
  • CVE-2023-3824CRIT 9.82023-08-11EPSS 22%

    原文(英文)In PHP version 8.0.* before 8.0.30, 8.1.* before 8.1.22, and 8.2.* before 8.2.8, when loading phar file, while reading PHAR directory entries, insufficient length checking may lead to a stack buffer overflow, leading potentially to memory corruption or RCE.

    • ≥ 8.2.0, < 8.2.9修复版本 8.2.9
    • ≥ 8.1.0, < 8.1.22修复版本 8.1.22
    • ≥ 8.0.0, < 8.0.30修复版本 8.0.30
  • CVE-2023-3823HIGH 7.52023-08-11EPSS 2%

    原文(英文)In PHP versions 8.0.* before 8.0.30, 8.1.* before 8.1.22, and 8.2.* before 8.2.8 various XML functions rely on libxml global state to track configuration variables, like whether external entities are loaded. This state is assumed to be unchanged unless the user explicitly change…

    • ≥ 8.2.0, < 8.2.9修复版本 8.2.9
    • ≥ 8.1.0, < 8.1.22修复版本 8.1.22
    • ≥ 8.0.0, < 8.0.30修复版本 8.0.30
  • CVE-2023-3247MED 4.32023-07-22EPSS 1%

    原文(英文)In PHP versions 8.0.* before 8.0.29, 8.1.* before 8.1.20, 8.2.* before 8.2.7 when using SOAP HTTP Digest Authentication, random value generator was not checked for failure, and was using narrower range of values than it should have. In case of random generator failure, it could…

    • ≥ 8.2.0, < 8.2.7修复版本 8.2.7
    • ≥ 8.1.0, < 8.1.20修复版本 8.1.20
    • ≥ 8.0.0, < 8.0.29修复版本 8.0.29
  • CVE-2023-0567MED 6.22023-03-01EPSS 1%

    原文(英文)In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, password_verify() function may accept some invalid Blowfish hashes as valid. If such invalid hash ever ends up in the password database, it may lead to an application allowing any password for this entry as…

    • ≥ 8.2.0, < 8.2.3修复版本 8.2.3
    • ≥ 8.1.0, < 8.1.16修复版本 8.1.16
    • ≥ 8.0.0, < 8.0.28修复版本 8.0.28
  • CVE-2023-0662HIGH 7.52023-02-16EPSS 1%

    原文(英文)In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, excessive number of parts in HTTP form upload can cause high resource consumption and excessive number of log entries. This can cause denial of service on the affected server by exhausting CPU resources or d…

    • ≥ 8.2.0, < 8.2.3修复版本 8.2.3
    • ≥ 8.1.0, < 8.1.16修复版本 8.1.16
    • ≥ 8.0.0, < 8.0.28修复版本 8.0.28
  • CVE-2023-0568HIGH 8.12023-02-16EPSS 1%

    原文(英文)In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, core path resolution function allocate buffer one byte too small. When resolving paths with lengths close to system MAXPATHLEN setting, this may lead to the byte after the allocated buffer being overwritten…

    • ≥ 8.2.0, < 8.2.3修复版本 8.2.3
    • ≥ 8.1.0, < 8.1.16修复版本 8.1.16
    • ≥ 8.0.0, < 8.0.28修复版本 8.0.28
  • CVE-2019-11043CRIT 9.8KEV2019-10-28EPSS 100%

    原文(英文)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 protocol data, thus opening the possibility of remote code exe…

    • ≥ 7.3.0, < 7.3.11修复版本 7.3.11
    • ≥ 7.2.0, < 7.2.24修复版本 7.2.24
    • ≥ 7.1.0, < 7.1.33修复版本 7.1.33
  • CVE-2012-1823CRIT 9.8KEV2012-05-11EPSS 100%

    原文(英文)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 attackers to execute arbitrary code by placing command-line options…

    • ≥ 5.4.0, < 5.4.2修复版本 5.4.2
    • < 5.3.12修复版本 5.3.12