cbcvebase.
CVE-2022-31630
published 2022-11-14

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…

PriorityP430high7.1CVSS 3.1
AVLACLPRNUIRSUCHINAH
EPSS
2.20%
80.3th percentile
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.

Affected

7 ranges
VendorProductVersion rangeFixed in
debianphp7.4< php7.4 7.4.33-1+deb11u1 (bullseye)php7.4 7.4.33-1+deb11u1 (bullseye)
phpphp>= 7.4.0 < 7.4.337.4.33
phpphp>= 8.0.0 < 8.0.258.0.25
phpphp>= 8.1.0 < 8.1.128.1.12
php_groupphp>= 7.4.x < 7.4.337.4.33
php_groupphp>= 8.0.x < 8.0.258.0.25
php_groupphp>= 8.1.x < 8.1.128.1.12

CVSS provenance

nvdv3.17.1HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
osv7.1HIGH
vendor_oracle7.1MEDIUM
vendor_debian6.5MEDIUM
vendor_redhat6.5MEDIUM
vendor_ubuntu2.3LOW
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.