NetSight
high7.5

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.

Impact

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

VendorProductAffected versions
PhpPhp
from 8.0.0 before 8.0.28
from 8.1.0 before 8.1.16
from 8.2.0 before 8.2.3

Weakness classification

References