CVE-2023-0568

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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7.5 HIGH
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
phpCNA
7.5 HIGH
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
CVEADP
---
---
CISA-ADPADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 32%
VendorProductVersion
phpphp
8.0.0 ≤
𝑥
< 8.0.28
phpphp
8.1.0 ≤
𝑥
< 8.1.16
phpphp
8.2.0 ≤
𝑥
< 8.2.3
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
php7.4
bullseye
7.4.33-1+deb11u5
fixed
bullseye (security)
7.4.33-1+deb11u7
fixed
php8.2
bookworm
8.2.24-1~deb12u1
fixed
bookworm (security)
8.2.26-1~deb12u1
fixed
sid
8.2.27-1
fixed
trixie
8.2.27-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
php5
kinetic
dne
jammy
dne
focal
dne
bionic
dne
xenial
dne
trusty
ignored
php7.0
kinetic
dne
jammy
dne
focal
dne
bionic
dne
xenial
Fixed 7.0.33-0ubuntu0.16.04.16+esm5
released
trusty
dne
php7.2
kinetic
dne
jammy
dne
focal
dne
bionic
Fixed 7.2.24-0ubuntu0.18.04.17
released
xenial
dne
trusty
dne
php7.4
kinetic
dne
jammy
dne
focal
Fixed 7.4.3-4ubuntu2.18
released
bionic
dne
xenial
dne
trusty
dne
php8.1
oracular
dne
noble
dne
mantic
dne
lunar
Fixed 8.1.12-1ubuntu4
released
kinetic
Fixed 8.1.7-1ubuntu3.3
released
jammy
Fixed 8.1.2-1ubuntu2.11
released
focal
dne
bionic
dne
xenial
dne
trusty
dne