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.
References (2)
Core 2
Core References
Exploit, Issue Tracking, Patch, Vendor Advisory
https://bugs.php.net/bug.php?id=81746
Vendor Advisory
https://security.netapp.com/advisory/ntap-20230517-0001/
Scores
CVSS v3
7.5
EPSS
0.0124
EPSS Percentile
65.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-131
CWE-770
Status
published
Products (1)
php/php
8.0.0 - 8.0.28
Published
Feb 16, 2023
Tracked Since
Feb 18, 2026