VULNERABILITY INTELLIGENCE
CVE-2023-0568
CVSS score7.5 HIGH
EPSS probability1.24%
CISA KEVNot currently listed
Published2023-02-16
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
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.
Weakness classification
- security@php.net: CWE-131
- nvd@nist.gov: CWE-770
Primary references
- security@php.net — Exploit, Issue Tracking, Patch, Vendor Advisory
- security@php.net
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Issue Tracking, Patch, Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108