CVSS 3.1
8.0 highCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:HHigh (8.0) in lemonldap-ng lemonldap ng. EPSS 1.1% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:HExplain CVE-2025-59518 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-59518?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-59518?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-59518 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| lemonldap-ng LemonLDAP::NG | before 2.16.7 |
| lemonldap-ng LemonLDAP::NG | from 2.17.0 before 2.21.3 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | lemonldap-ng | 2.0.11+ds-4+deb11u8 | DLA-4602-1 |
| Debian | 12 | lemonldap-ng | 2.16.1+ds-deb12u7 | DEBIAN-CVE-2025-59518 |
| Debian | 13 | lemonldap-ng | 2.21.2+ds-1+deb13u1 | DEBIAN-CVE-2025-59518 |
| Debian | 14 | lemonldap-ng | 2.21.3+ds-1 | DEBIAN-CVE-2025-59518 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 4 more | lemonldap-ng | no fix listed | UBUNTU-CVE-2025-59518 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Important.
This is a Important vulnerability because it breaks the Safe jail’s sandboxing by allowing OS command injection via the Perl _ variable. An admin can exploit this to execute arbitrary commands on the server, leading to full system compromise—far beyond a typical configuration flaw.
As a temporary mitigation strictly limit access to the admin interface, enforce strong authentication, and audit existing rules for suspicious code. Avoid using dynamic or complex expressions in rules until the system is fully patched.
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-59518.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.