CVE-2022-31630

Name
CVE-2022-31630
Description
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. 
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://bugs.php.net/bug.php?id=81739

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* php >= 8.2.0 < 8.2.12
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* php >= 8.0.0 < 8.0.25
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* php >= None < 7.4.33
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* php >= 8.1.0 < 8.1.12
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* php >= 7.4.0 < 7.4.33

Vulnerable and fixed packages

Source package Branch Version Maintainer Status