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 Red Hat

  • RHSA-2023:0848

    Red Hat Security Advisory: php:8.0 security update

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 Red Hat Updated 23 November 2026
  • RHSA-2023:0965

    Red Hat Security Advisory: php security update

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 Red Hat Updated 23 November 2026
  • RHSA-2023:2417

    Red Hat Security Advisory: php:8.1 security update

    CVE-2022-31628CVE-2022-31629CVE-2022-31630CVE-2022-31631 Red Hat Updated 23 November 2026
  • RHSA-2023:2903

    Red Hat Security Advisory: php:7.4 security update

    CVE-2017-8923CVE-2022-31628CVE-2022-31629CVE-2022-31630 Red Hat Updated 23 November 2026

References