CVE-2022-31630
Medium
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.
SeverityMedium
CVSS6.5
Exploit probability—
Product
Php
PublishedNov 14, 2022
First seenNov 14, 2022
Weakness typeCWE-131CWE-131CWE-190Integer overflow
How to fix
Update
- php php7.4.33, 8.0.25, 8.1.12 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| php php | 7.4.0 ≤ v < 7.4.33, 8.0.0 ≤ v < 8.0.25, 8.1.0 ≤ v < 8.1.12 | 7.4.33, 8.0.25, 8.1.12 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.