Skip to content
OpenAdvisories
High USN-5902-1 3 CVEs

php7.2, php7.4, php8.1 vulnerabilities

Published Feb 28, 2023 · Updated Apr 27, 2026

Summary

It was discovered that PHP incorrectly handled certain invalid Blowfish
password hashes. An invalid password hash could possibly allow applications
to accept any password as valid, contrary to expectations. (CVE-2023-0567)

It was discovered that PHP incorrectly handled resolving long paths. A
remote attacker could possibly use this issue to obtain or modify sensitive
information. (CVE-2023-0568)

It was discovered that PHP incorrectly handled a large number of parts in
HTTP form uploads. A remote attacker could possibly use this issue to cause
PHP to consume resources, leading to a denial of service. (CVE-2023-0662)

Fixed packages 3

ReleasePackageFixed in
Ubuntu · 18.04 LTS 18.04:LTS php7.2 7.2.24-0ubuntu0.18.04.17
Ubuntu · 20.04 LTS 20.04:LTS php7.4 7.4.3-4ubuntu2.18
Ubuntu · 22.04 LTS 22.04:LTS php8.1 8.1.2-1ubuntu2.11

Vulnerabilities 3

  • High 7.7

    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 passwor…

  • High 7.5

    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 buffe…

  • High 7.5

    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 exhaustin…

References

  • report
    https://ubuntu.com/security/CVE-2023-0567
  • report
    https://ubuntu.com/security/CVE-2023-0568
  • report
    https://ubuntu.com/security/CVE-2023-0662