Use After Free Affecting libldb package, versions <0:2.5.2-1.el9


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.31% (71st 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-LIBLDB-12317649
  • published1 Sept 2025
  • disclosed27 Jul 2022

Introduced: 27 Jul 2022

CVE-2022-32746  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade RHEL:9 libldb to version 0:2.5.2-1.el9 or higher.
This issue was patched in RHSA-2022:8318.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libldb package and not the libldb package as distributed by RHEL. See How to fix? for RHEL:9 relevant fixed versions and status.

A flaw was found in the Samba AD LDAP server. The AD DC database audit logging module can access LDAP message values freed by a preceding database module, resulting in a use-after-free issue. This issue is only possible when modifying certain privileged attributes, such as userAccountControl.

CVSS Base Scores

version 3.1