p PatchFirst

PatchFirst · Latest vulnerabilities

php5 vulnerabilities · Page 3

Vulnerabilities published for php5 in the last 30 days: 2. Listed in the KEV catalogue: 2.

Filter vulnerabilities
Clear filters

Vulnerabilities: 96

  1. CVE-2023-3824

    Critical · CVSS 9.4EPSS 21.79%No fix published

    Buffer overflow and overread in phar_dir_read()

    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.

    Published Updated
  2. CVE-2023-3823

    High · CVSS 8.6EPSS 1.64%No fix published

    Security issue with external entity loading in XML without enabling it

    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

    Published Updated
  3. CVE-2023-3247

    Low · CVSS 2.6EPSS 0.71%No fix published

    Missing error check and insufficient random bytes in HTTP Digest authentication for SOAP

    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. 

    Published Updated
  4. CVE-2023-0568

    High · CVSS 7.5EPSS 1.24%No fix published

    Array overrun in common path resolve code

    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.

    Published Updated
  5. CVE-2023-0662

    High · CVSS 7.5EPSS 1.47%No fix published

    DoS vulnerability when parsing multipart request body

    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.

    Published Updated
  6. CVE-2023-0567

    High · CVSS 7.7EPSS 0.92%No fix published

    password_verify() always returns true for some invalid hashes

    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.

    Published Updated
  7. CVE-2022-31629

    Medium · CVSS 6.5EPSS 49.57%No fix published

    $_COOKIE names string replacement (. -> _): cookie integrity vulnerabilities

    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.

    Published Updated
  8. CVE-2022-31626

    High · CVSS 7.5EPSS 58.12%No fix published

    mysqlnd/pdo password buffer overflow

    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.

    Published Updated
  9. CVE-2022-31625

    High · CVSS 8.1EPSS 3.79%No fix published

    Freeing unallocated memory in php_pgsql_free_params()

    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.

    Published Updated
  10. CVE-2021-21707

    Medium · CVSS 5.3EPSS 25.31%No fix published

    Special characters break path parsing in XML functions

    In PHP versions 7.3.x below 7.3.33, 7.4.x below 7.4.26 and 8.0.x below 8.0.13, certain XML parsing functions, like simplexml_load_file(), URL-decode the filename passed to them. If that filename contains URL-encoded NUL character, this may cause the function to interpret this as the end of the filename, thus interpreting the filename differently from what the user intended, which may lead it to reading a different file than intended.

    Published Updated
  11. CVE-2021-21703

    High · CVSS 7.8EPSS 1.43%Fix available

    PHP-FPM memory access in root process leading to privilege escalation

    In PHP versions 7.3.x up to and including 7.3.31, 7.4.x below 7.4.25 and 8.0.x below 8.0.12, when running PHP FPM SAPI with main FPM daemon process running as root and child worker processes running as lower-privileged users, it is possible for the child processes to access memory shared with the main process and write to it, modifying it in a way that would cause the root process to conduct invalid memory reads and writes, which can be used to escalate privileges from local unprivileged user to the root user.

    • Update to 5.5.9+dfsg-1ubuntu4.29+esm15
    Published Updated
  12. CVE-2021-21705

    Medium · CVSS 4.3EPSS 2.09%Fix available

    Incorrect URL validation in FILTER_VALIDATE_URL

    In PHP versions 7.3.x below 7.3.29, 7.4.x below 7.4.21 and 8.0.x below 8.0.8, when using URL validation functionality via filter_var() function with FILTER_VALIDATE_URL parameter, an URL with invalid password field can be accepted as valid. This can lead to the code incorrectly parsing the URL and potentially leading to other security implications - like contacting a wrong server or making a wrong access decision.

    • Update to 5.5.9+dfsg-1ubuntu4.29+esm14
    Published Updated
  13. CVE-2021-21704

    Medium · CVSS 5EPSS 1.8%Fix available

    Multiple vulnerabilities in Firebird client extension

    In PHP versions 7.3.x below 7.3.29, 7.4.x below 7.4.21 and 8.0.x below 8.0.8, when using Firebird PDO driver extension, a malicious database server could cause crashes in various database functions, such as getAttribute(), execute(), fetch() and others by returning invalid response data that is not parsed correctly by the driver. This can result in crashes, denial of service or potentially memory corruption.

    • Update to 5.5.9+dfsg-1ubuntu4.29+esm14
    Published Updated
  14. CVE-2021-21702

    Medium · CVSS 5.3EPSS 3.15%Fix available

    Null Dereference in SoapClient

    In PHP versions 7.3.x below 7.3.27, 7.4.x below 7.4.15 and 8.0.x below 8.0.2, when using SOAP extension to connect to a SOAP server, a malicious SOAP server could return malformed XML data as a response that would cause PHP to access a null pointer and thus cause a crash.

    • Update to 5.5.9+dfsg-1ubuntu4.29+esm14
    Published Updated
  15. CVE-2020-7071

    Medium · CVSS 5.3EPSS 2.9%Fix available

    FILTER_VALIDATE_URL accepts URLs with invalid userinfo

    In PHP versions 7.3.x below 7.3.26, 7.4.x below 7.4.14 and 8.0.0, when validating URL with functions like filter_var($url, FILTER_VALIDATE_URL), PHP will accept an URL with invalid password as valid URL. This may lead to functions that rely on URL being valid to mis-parse the URL and produce wrong data as components of the URL.

    • Update to 5.5.9+dfsg-1ubuntu4.29+esm14
    Published Updated
  16. CVE-2020-7070

    Medium · CVSS 4.3EPSS 5.03%Fix available

    PHP parses encoded cookie names so malicious `__Host-` cookies can be sent

    In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when PHP is processing incoming HTTP cookie values, the cookie names are url-decoded. This may lead to cookies with prefixes like __Host confused with cookies that decode to such prefix, thus leading to an attacker being able to forge cookie which is supposed to be secure. See also CVE-2020-8184 for more information.

    • Update to 5.5.9+dfsg-1ubuntu4.29+esm13
    Published Updated
  17. CVE-2020-7069

    Medium · CVSS 5.4EPSS 2.05%Fix available

    Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV

    In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when AES-CCM mode is used with openssl_encrypt() function with 12 bytes IV, only first 7 bytes of the IV is actually used. This can lead to both decreased security and incorrect encryption data.

    • Update to 5.5.9+dfsg-1ubuntu4.29+esm13
    Published Updated
  18. CVE-2020-7068

    Medium · CVSS 4.8EPSS 1.66%Fix available

    Use of freed hash key in the phar_parse_zipfile function

    In PHP versions 7.2.x below 7.2.33, 7.3.x below 7.3.21 and 7.4.x below 7.4.9, while processing PHAR files using phar extension, phar_parse_zipfile could be tricked into accessing freed memory, which could lead to a crash or information disclosure.

    • Update to 5.5.9+dfsg-1ubuntu4.29+esm14
    Published Updated
  19. CVE-2019-11048

    Medium · CVSS 5.3EPSS 6.26%Fix available

    Temporary files are not cleaned after OOM when parsing HTTP request data

    In PHP versions 7.2.x below 7.2.31, 7.3.x below 7.3.18 and 7.4.x below 7.4.6, when HTTP file uploads are allowed, supplying overly long filenames or field names could lead PHP engine to try to allocate oversized memory storage, hit the memory limit and stop processing the request, without cleaning up temporary files created by upload request. This potentially could lead to accumulation of uncleaned temporary files exhausting the disk space on the target server.

    • Update to 5.5.9+dfsg-1ubuntu4.29+esm12
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →