Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-31630— OOB read due to insufficient input validation in imageloadfont()

Quick assessment

Affected
PHP Group PHP
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

PHP是一种在服务器端执行的脚本语言。 PHP 8.1.12之前版本存在安全漏洞,该漏洞源于攻击者可以通过imageloadfont强制读取无效内存地址,以触发拒绝服务或获取敏感信息。

CVSS 6.5 · Medium EPSS 2.28% · P83

Possible ATT&CK Techniques 1 AI

T1213 · Data from Information Repositories
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-31630

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
OOB read due to insufficient input validation in imageloadfont()
Source: CVE Program / CVE List V5
Vulnerability 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. 
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
缓冲区大小计算不正确
Source: CVE Program / CVE List V5
Vulnerability Title
PHP 缓冲区错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
PHP是一种在服务器端执行的脚本语言。 PHP 8.1.12之前版本存在安全漏洞,该漏洞源于攻击者可以通过imageloadfont强制读取无效内存地址,以触发拒绝服务或获取敏感信息。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
PHP Group PHP 7.4.x ~ 7.4.33 -

II. Public POCs for CVE-2022-31630

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-31630

请登录查看更多情报信息。

Other References for CVE-2022-31630 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2022-31630

No comments yet


Leave a comment