CVE-2026-124825: 389-ds-base: 389-ds-base: integer truncation in content synchronization plugin causes denial of service
(A flaw was found in 389-ds-base. An integer truncation in the Content ...)
Other sources
A flaw was found in 389-ds-base. An integer truncation in the Content Synchronization plugin's changelog-refresh logic can cause the ns-slapd directory server process to crash when a client presents a synchronization cookie referencing an old change number relative to the server's current state, resulting in a denial of service.
— NVD
A flaw was found in 389-ds-base. The Content Synchronization plugin computes the number of changelog entries to return to a sync client by subtracting two 64-bit cookie values and storing the result in a 32-bit signed integer. When the retro changelog's change counter has advanced far enough past the value in a client-supplied sync cookie, this computation can overflow and produce a negative count, which is then passed as an unsigned element count to the memory allocator. The resulting allocation request is implausibly large, fails, and the directory server process terminates. This issue only applies when both the Content Synchronization and Retro Changelog plugins are explicitly enabled; both are disabled by default.
— Red Hat
Affected Software
Event History
Frequently Asked Questions
Are default 389-ds-base installations affected?
No. The issue applies only when both the Content Synchronization and Retro Changelog plugins are explicitly enabled; both plugins are disabled by default.
What does an attacker need to trigger the crash?
An attacker needs to be able to act as a synchronization client and present a synchronization cookie whose change number is sufficiently old compared with the server's current retro changelog counter. The attack is network-reachable and requires low privileges.
What can be done if patching is not immediately possible?
Disable either the Content Synchronization plugin or the Retro Changelog plugin, if operationally feasible. The vulnerable code path requires both plugins to be enabled.
How can I determine whether my server is exposed?
Check whether both the Content Synchronization and Retro Changelog plugins are explicitly enabled. Affected servers may have ns-slapd process terminations when processing synchronization cookies that reference old change numbers.