Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2023-0568

Array overrun in common path resolve code

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

PHP Group PHP

Default version status: affected

  • 8.0.x to < 8.0.28affected
  • 8.1.x to < 8.1.16affected
  • 8.2.x to < 8.2.3affected

References