In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X...
Critical severity
Unreviewed
Published
Feb 16, 2023
to the GitHub Advisory Database
•
Updated Feb 13, 2025
Description
Published by the National Vulnerability Database
Feb 16, 2023
Published to the GitHub Advisory Database
Feb 16, 2023
Last updated
Feb 13, 2025
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.
References