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 Rocky Linux

  • RLSA-2023:0848

    Moderate: php:8.0 security update

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 Rocky Linux Updated 4 February 2026
  • RLSA-2023:0965

    Moderate: php security update

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 Rocky Linux Updated 5 February 2026
  • RLSA-2023:2417

    Moderate: php:8.1 security update

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 Rocky Linux Updated 27 December 2025
  • RLSA-2023:2903

    Moderate: php:7.4 security update

    CVE-2017-8923CVE-2022-31628CVE-2022-31629CVE-2022-31630 Rocky Linux Updated 27 December 2025

References