Heap-based Buffer Overflow Affecting php-ldap package, versions <0:8.5.11-2.hum1


Severity

Recommended
0.0
low
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.18% (7th 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-RHEL10-PHPLDAP-20149668
  • published26 Sept 2026
  • disclosed1 Jan 2025

Introduced: 1 Jan 2025

CVE-2025-1218  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade RHEL:10 php-ldap to version 0:8.5.11-2.hum1 or higher.
This issue was patched in RHSA-2026:70720.

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. See How to fix? for RHEL:10 relevant fixed versions and status.

The mysqlnd wire protocol parser reads fields out of server packets before checking that the packet still holds enough bytes for them. A malicious or compromised MySQL server can send a truncated packet and make the client read past the end of the packet buffer, which is undefined behaviour and can crash the process.

CVSS Base Scores

version 3.1