CVEvulnerability
CVE-2023-0568
8.1 HIGH
Official page ↗
- Status
- Modified
- Published
- 2023-02-16
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 8.1 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-131, CWE-770
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 configurations
• php php (>= 8.0.0 < 8.0.28)
• php php (>= 8.1.0 < 8.1.16)
• php php (>= 8.2.0 < 8.2.3)
Related
References
- https://bugs.php.net/bug.php?id=81746 Exploit, Issue Tracking, Patch, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20230517-0001/ security.netapp.com
- https://bugs.php.net/bug.php?id=81746 Exploit, Issue Tracking, Patch, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20230517-0001/ security.netapp.com