CVE-2022-31630

In PHP versions prior to 7.4.33, 8.0.25 and 8.1.12, when using imageloadfont() function in gd extension, it is possible to supply a specially crafted font file, such as if the loaded font is used with imagechar() function, the read outside allocated buffer will be used. This can lead to crashes or disclosure of confidential information.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
6.5 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
phpCNA
6.5 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 8%
VendorProductVersion
phpphp
7.4.0 ≤
𝑥
< 7.4.33
phpphp
8.0.0 ≤
𝑥
< 8.0.25
phpphp
8.1.0 ≤
𝑥
< 8.1.12
𝑥
= 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+deb11u6
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
php5
kinetic
dne
jammy
dne
focal
dne
bionic
dne
xenial
dne
trusty
not-affected
php7.0
kinetic
dne
jammy
dne
focal
dne
bionic
dne
xenial
not-affected
trusty
dne
php7.2
kinetic
dne
jammy
dne
focal
dne
bionic
not-affected
xenial
dne
trusty
dne
php7.4
kinetic
dne
jammy
dne
focal
Fixed 7.4.3-4ubuntu2.15
released
bionic
dne
xenial
dne
trusty
dne
php8.1
lunar
Fixed 8.1.12-1ubuntu2
released
kinetic
Fixed 8.1.7-1ubuntu3.1
released
jammy
Fixed 8.1.2-1ubuntu2.8
released
focal
dne
bionic
dne
xenial
dne
trusty
dne