Out-of-bounds Read The advisory has been revoked - it doesn't affect any version of package php-ldap  (opens in a new tab)


Threat Intelligence

EPSS
2.2% (81st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL9-PHPLDAP-9425594
  • published15 Mar 2025
  • disclosed27 Oct 2022

Introduced: 27 Oct 2022

CVE-2022-31630  (opens in a new tab)
CWE-125  (opens in a new tab)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:9.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-ldap package and not the php-ldap package as distributed by RHEL.

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.