p PatchFirst

PatchFirst · Latest vulnerabilities

php7.4 vulnerabilities

Vulnerabilities published for php7.4 in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 37

  1. CVE-2022-31630

    Medium · CVSS 6.5EPSS 1.32%Fix available

    OOB read due to insufficient input validation in imageloadfont()

    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. 

    • Update to 7.4.33-1+deb11u1
    Published Updated
  2. CVE-2022-31629

    Medium · CVSS 6.5EPSS 49.57%Fix available

    $_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.

    • Update to 7.4.33-1+deb11u1
    Published Updated
  3. CVE-2022-31626

    High · CVSS 7.5EPSS 58.12%Fix available

    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.

    • Update to 7.4.30-1+deb11u1
    Published Updated
  4. CVE-2022-31625

    High · CVSS 8.1EPSS 3.79%Fix available

    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.

    • Update to 7.4.30-1+deb11u1
    Published Updated
  5. CVE-2021-21708

    High · CVSS 8.2EPSS 3%Fix available

    UAF due to php_filter_float() failing

    In PHP versions 7.4.x below 7.4.28, 8.0.x below 8.0.16, and 8.1.x below 8.1.3, when using filter functions with FILTER_VALIDATE_FLOAT filter and min/max limits, if the filter fails, there is a possibility to trigger use of allocated memory after free, which can result it crashes, and potentially in overwrite of other memory chunks and RCE. This issue affects: code that uses FILTER_VALIDATE_FLOAT with min/max limits.

    • Update to 7.4.28-1+deb11u1
    Published Updated
  6. CVE-2021-21707

    Medium · CVSS 5.3EPSS 25.31%Fix available

    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.

    • Update to 7.4.28-1+deb11u1
    Published Updated
  7. 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 7.4.25-1+deb11u1
    Published Updated

Check your server

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

Check your server →