Vulnerability record · CVE-2023-0568 · published 16 February 2023
CVE-2023-0568: Php allocation without limits vulnerability
Php · Php
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.
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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://bugs.php.net/bug.php?id=81746 | ExploitIssue TrackingPatchVendor Advisory |
| https://security.netapp.com/advisory/ntap-20230517-0001/ | |
| https://bugs.php.net/bug.php?id=81746 | ExploitIssue TrackingPatchVendor Advisory |
| https://security.netapp.com/advisory/ntap-20230517-0001/ |
Track CVE-2023-0568 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2023-0568), CISA KEV, FIRST EPSS (scores of 2026-09-29). This page is refreshed as NVD updates the record.