cvedb.io
CVE-2022-31630
MEDIUM · CVSS 6.5
EPSS exploitation probability: 0%
Published 2022-11-14T07:15:09.467 · Last modified 2026-06-17T04:45:50.793

Summary

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. 

Affected products

php — php

Does this affect you?

Add your gear to cvedb and we'll alert you only when php ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.