ADVISORIES

Vulnerability

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. 

29 advisories report this vulnerability, across 12 ecosystems.

Advisories in Ubuntu

  • UBUNTU-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()…

    CVE-2022-31630 Ubuntu Updated 24 November 2026
  • USN-5717-1

    php7.2, php7.4, php8.1 vulnerabilities

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-37454 Ubuntu Updated 24 November 2026

References