CVE-2022-31630
OOB read due to insufficient input validation in imageloadfont()
HIGH 7.1EPSS 2.3%
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
- PHP Group · PHP
- CVSS v3.1 NVD
- 7.1 HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - CVSS v3.1 PHP
- 6.5 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L - EPSS
- 2.28% chance of exploitation in the next 30 days, 83rd percentile
- Published
- 2022-11-14
- Updated
- 2024-08-03
Proof-of-concept exploits (2)
- sepkascurty-cpu/CVE-2022-31630---Proof-of-Concept-Exploit-untuk-PHP-7.4.331★ · 2026-03-14
- sepkascurty-cpu/php-exploit_cve-2022-316301★ · 2026-03-14