Live threats

All CVEs / Php

CVE-2022-31630Php

High 7.1

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
Weakness (CWE)
CWE-131, CWE-190, CWE-125
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.

Affected products (CPE)

VendorProductVersions
phpphp≥ 7.4.0 < 7.4.33
phpphp≥ 8.0.0 < 8.0.25
phpphp≥ 8.1.0 < 8.1.12

Official sources

References

Links published by the sources. Open them with care.