CVE-2022-31630
Last modified
CVE-2022-31630 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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. . EPSS estimates a 2.20% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | >= 7.4.0, < 7.4.33 |
| Php | Php | >= 8.0.0, < 8.0.25 |
| Php | Php | >= 8.1.0, < 8.1.12 |
References
- https://bugs.php.net/bug.php?id=81739Exploit, Issue Tracking, Patch, Vendor Advisory
- https://bugs.php.net/bug.php?id=81739Exploit, Issue Tracking, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-31630?
How severe is CVE-2022-31630?
How do I fix CVE-2022-31630?
Are you affected by CVE-2022-31630?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
