ADVISORIES

Vulnerability

CVE-2023-0568

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.

39 advisories report this vulnerability, across 13 ecosystems.

Advisories in Ubuntu

  • UBUNTU-CVE-2023-0568

    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…

    CVE-2023-0568 Ubuntu Updated 24 November 2026
  • USN-5902-1

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

    CVE-2023-0567CVE-2023-0568CVE-2023-0662 Ubuntu Updated 24 November 2026
  • USN-5905-1

    php7.0 vulnerabilities

    CVE-2022-31628CVE-2022-31629CVE-2022-31631CVE-2023-0568 Ubuntu Updated 24 November 2026

References