CVE
CVE-2023-0568
CVE-2023-0568HIGH 8.1EPSS 70%
CNA 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 versions
- ≥ 8.2.0, < 8.2.3Fixed in 8.2.3
- ≥ 8.1.0, < 8.1.16Fixed in 8.1.16
- ≥ 8.0.0, < 8.0.28Fixed in 8.0.28
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.