CVE-2022-31630Php
High 7.1
Follow: this CVE · Php · Php We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.1
- 7.1
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 53
- Auth required
- Yes
- Published
- Nov 14, 2022
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Php.
Affected products (CPE)
| 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 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.php.net Exploit Issue Tracking Patch