Integer Overflow or Wraparound The advisory has been revoked - it doesn't affect any version of package php-ldap  (opens in a new tab)


Threat Intelligence

EPSS
2.13% (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-9425597
  • published15 Mar 2025
  • disclosed5 Jan 2023

Introduced: 5 Jan 2023

CVE-2022-31631  (opens in a new tab)
CWE-190  (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 8.0.* before 8.0.27, 8.1.* before 8.1.15, 8.2.* before 8.2.2 when using PDO::quote() function to quote user-supplied data for SQLite, supplying an overly long string may cause the driver to incorrectly quote the data, which may further lead to SQL injection vulnerabilities.