PublishedCVE-2022-31630·
6.5Medium
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in PHP 7.4.33, PHP 8.0.25 and PHP 8.1.12.
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.
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| PHP Group | PHP | >=7.4.x <7.4.33, >=8.0.x <8.0.25, >=8.1.x <8.1.12 | 7.4.33, 8.0.25, 8.1.12 |
Every event on this vulnerability
Other vulnerabilities in PHP, strongest first
A live severity badge for an advisory, README or ticket