Skip to main content
HIGH

CVE-2022-31630

CVSS v3

7.1

HIGH

EPSS Score

2.3 %

exploit probability, as of 2026-09-25

CISA KEV

No

known exploited

Exploitation

—

SSVC status

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. 

Technical details

Published
2022-11-14

Frequently asked questions

What is CVE-2022-31630?

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. 

Is CVE-2022-31630 actively exploited?

Active exploitation of CVE-2022-31630 has not been confirmed. Its EPSS score was 2.3% on 2026-09-25, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-31630?

CVE-2022-31630 has a CVSS v3 base score of 7.1 (HIGH severity).

Is CVE-2022-31630 affecting your environment?

Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.

No credit card required · 500 free checks/month · Free API key