🛡️ CVE-2025-59518 on Debian — lemonldap-ng
Description
In LemonLDAP::NG before 2.16.7 and 2.17 through 2.21 before 2.21.3, OS command injection can occur in the Safe jail. It does not Localize _ during rule evaluation. Thus, an administrator who can edit a rule evaluated by the Safe jail can execute commands on the server.
Distribution advisory
This page covers CVE-2025-59518 as tracked by Debian, for the package lemonldap-ng. The fix is available in version 2.21.2+ds-1+deb13u1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is high, an attacker needs administrative privileges on the target. No user interaction is required. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality high, integrity high, availability high.
Weakness class
DEBIAN-CVE-2025-59518 is classified as CWE-78: OS Command Injection. Untrusted input reaches a shell command without neutralisation, so an attacker can run arbitrary operating system commands.
Affected software
DEBIAN-CVE-2025-59518 is recorded against 1 package.
- lemonldap-ng (fixed in 2.21.2+ds-1+deb13u1)
Timeline and source
Published on 17 September 2025 and last revised on 14 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2025-59518 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| lemonldap-ng | — | 2.21.2+ds-1+deb13u1 |
References
Similar Threats
- Unknown DEBIAN-CVE-2026-19349
- Unknown DEBIAN-CVE-2026-12804
- Unknown DEBIAN-CVE-2025-31510
- Unknown DEBIAN-CVE-2025-59518
- Unknown DLA-4119-1
Site Security Check
Is lemonldap-ng part of your stack?
DEBIAN-CVE-2025-59518 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.