CVE-2022-31630
php: OOB read due to insufficient input validation in imageloadfont()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · October 27, 2022
Updated · June 27, 2026
Description
An out-of-bounds read flaw was found in PHP due to insufficient input validation in the imageloadfont() function. This flaw allows a remote attacker to pass specially crafted data to the web application, trigger an out-of-bounds read error, and read the contents of memory on the system.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
CWE-125 · Out-of-bounds Read