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 the executed command are controlled by a malicious user, the user can supply arguments that would execute arbitrary commands in Windows shell.
Source: PHP Group
Max CVSS
8.8
EPSS Score
0.31%
Published
2024-06-09
Updated
2024-06-13
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 + password part of URLs) being treated as valid user information. This may lead to the downstream code accepting invalid URLs as valid and parsing them incorrectly.
Source: PHP Group
Max CVSS
5.3
EPSS Score
0.08%
Published
2024-06-09
Updated
2024-06-18

CVE-2024-4577

Known exploited
Public exploit
Used for ransomware
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 replace characters in command line given to Win32 API functions. PHP CGI module may misinterpret those characters as PHP options, which 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.
Source: PHP Group
Max CVSS
9.8
EPSS Score
96.68%
Published
2024-06-09
Updated
2024-06-21
CISA KEV Added
2024-06-12
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.
Source: PHP Group
Max CVSS
6.5
EPSS Score
0.05%
Published
2024-04-29
Updated
2024-06-10
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. 
Source: PHP Group
Max CVSS
7.5
EPSS Score
0.05%
Published
2024-04-29
Updated
2024-07-03
Due to an incomplete fix to CVE-2022-31629 https://github.com/advisories/GHSA-c43m-486j-j32p , network and same-site attackers can set a standard insecure cookie in the victim's browser which is treated as a __Host- or __Secure- cookie by PHP applications. 
Source: PHP Group
Max CVSS
6.5
EPSS Score
0.05%
Published
2024-04-29
Updated
2024-06-10
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: https://github.com/openssl/openssl/pull/13817 (rsa_pkcs1_implicit_rejection). These changes are part of OpenSSL 3.2 and have also been backported to stable versions of various Linux distributions, as well as to the PHP builds provided for Windows since the previous release. All distributors and builders should ensure that this version is used to prevent PHP from being vulnerable. PHP Windows builds for the versions 8.1.29, 8.2.20 and 8.3.8 and above include OpenSSL patches that fix the vulnerability.
Source: PHP Group
Max CVSS
5.9
EPSS Score
0.10%
Published
2024-06-09
Updated
2024-06-13
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 execute arbitrary commands in Windows shell. 
Source: PHP Group
Max CVSS
9.4
EPSS Score
0.05%
Published
2024-04-29
Updated
2024-06-13
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. 
Source: PHP Group
Max CVSS
9.8
EPSS Score
0.09%
Published
2023-08-11
Updated
2023-10-27
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 changes it by calling appropriate function. However, since the state is process-global, other modules - such as ImageMagick - may also use this library within the same process, and change that global state for their internal purposes, and leave it in a state where external entities loading is enabled. This can lead to the situation where external XML is parsed with external entities loaded, which can lead to disclosure of any local files accessible to PHP. This vulnerable state may persist in the same process across many requests, until the process is shut down. 
Source: PHP Group
Max CVSS
8.6
EPSS Score
0.07%
Published
2023-08-11
Updated
2023-10-27
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 lead to a disclosure of 31 bits of uninitialized memory from the client to the server, and it also made easier to a malicious server to guess the client's nonce. 
Source: PHP Group
Max CVSS
4.3
EPSS Score
0.05%
Published
2023-07-22
Updated
2023-08-01
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 disk space. 
Source: PHP Group
Max CVSS
7.5
EPSS Score
0.06%
Published
2023-02-16
Updated
2023-05-17
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 with NUL value, which might lead to unauthorized data access or modification. 
Source: PHP Group
Max CVSS
8.1
EPSS Score
0.18%
Published
2023-02-16
Updated
2023-05-17
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 valid.
Source: PHP Group
Max CVSS
7.7
EPSS Score
0.05%
Published
2023-03-01
Updated
2023-03-10
The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute arbitrary code or eliminate expected cryptographic properties. This occurs in the sponge function interface.
Source: MITRE
Max CVSS
9.8
EPSS Score
2.47%
Published
2022-10-21
Updated
2023-05-03
In PHP versions prior to 7.4.33, 8.0.25 and 8.1.12, when using imageloadfont() function in gd extension, it is possible to supply a specially crafted font file, such as if the loaded font is used with imagechar() function, the read outside allocated buffer will be used. This can lead to crashes or disclosure of confidential information. 
Source: PHP Group
Max CVSS
7.1
EPSS Score
0.08%
Published
2022-11-14
Updated
2024-04-02
In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the vulnerability enables network and same-site attackers to set a standard insecure cookie in the victim's browser which is treated as a `__Host-` or `__Secure-` cookie by PHP applications.
Source: PHP Group
Max CVSS
6.5
EPSS Score
0.64%
Published
2022-09-28
Updated
2024-05-01
In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the phar uncompressor code would recursively uncompress "quines" gzip files, resulting in an infinite loop.
Source: PHP Group
Max CVSS
5.5
EPSS Score
0.05%
Published
2022-09-28
Updated
2023-07-21
In PHP versions 8.1.x below 8.1.8, when fileinfo functions, such as finfo_buffer, due to incorrect patch applied to the third party code from libmagic, incorrect function may be used to free allocated memory, which may lead to heap corruption.
Source: PHP Group
Max CVSS
9.8
EPSS Score
0.24%
Published
2022-07-28
Updated
2022-10-25
In PHP versions 7.4.x below 7.4.30, 8.0.x below 8.0.20, and 8.1.x below 8.1.7, when pdo_mysql extension with mysqlnd driver, if the third party is allowed to supply host to connect to and the password for the connection, password of excessive length can trigger a buffer overflow in PHP, which can lead to a remote code execution vulnerability.
Source: PHP Group
Max CVSS
8.8
EPSS Score
0.79%
Published
2022-06-16
Updated
2023-02-23
In PHP versions 7.4.x below 7.4.30, 8.0.x below 8.0.20, and 8.1.x below 8.1.7, when using Postgres database extension, supplying invalid parameters to the parametrized query may lead to PHP attempting to free memory using uninitialized data as pointers. This could lead to RCE vulnerability or denial of service.
Source: PHP Group
Max CVSS
8.1
EPSS Score
0.36%
Published
2022-06-16
Updated
2023-02-23
pearweb < 1.32 suffers from Deserialization of Untrusted Data.
Source: MITRE
Max CVSS
9.8
EPSS Score
0.21%
Published
2022-04-15
Updated
2022-04-22
pearweb < 1.32 is suffers from a Weak Password Recovery Mechanism via include/users/passwordmanage.php.
Source: MITRE
Max CVSS
9.8
EPSS Score
0.20%
Published
2022-04-15
Updated
2022-04-22
PHP-Memcached v2.2.0 and below contains an improper NULL termination which allows attackers to execute CLRF injection. Note: Third parties have disputed this as not affecting PHP-Memcached directly.
Source: MITRE
Max CVSS
9.8
EPSS Score
0.26%
Published
2022-04-05
Updated
2024-06-04
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.
Source: Red Hat, Inc.
Max CVSS
6.2
EPSS Score
0.07%
Published
2023-11-02
Updated
2023-11-30
722 vulnerabilities found
1 2 3 4 5 6 ...... 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
This web site uses cookies for managing your session, storing preferences, website analytics and additional purposes described in our privacy policy.
By using this web site you are agreeing to CVEdetails.com terms of use!