All vulnerabilities

Servers and applications

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.

Severity
High 8.1
Published
16 Feb 2023
Last changed
17 Jun 2026
Added to UpHeron
14 Oct 2026
Fixed in
8.0.28, 8.1.16, 8.2.3
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • From 8.0.0 before 8.0.28
  • From 8.1.0 before 8.1.16
  • From 8.2.0 before 8.2.3

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2023-0568
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2023-0568