CVE-2025-59689: Libraesva Email Security Gateway Command Injection Vulnerability
CVE-2025-59689 is a medium-severity flaw (CVSS 6.1) affecting email security gateway, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Libraesva ESG 4.5 through 5.5.x before 5.5.7 allows command injection via a compressed e-mail attachment. For ESG 5.0 a fix has been released in 5.0.31. For ESG 5.1 a fix has been released in 5.1.20. For ESG 5.2 a fix has been released in 5.2.31. For ESG 5.4 a fix has been released in 5.4.8. For ESG 5.5. a fix has been released in 5.5.7.
Why this priority
- Exploited in the wild (CISA KEV)
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.1 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 1.9% (top 21%) |
| CISA exploited list | Yes, fix due 2025-10-20 |
| Weakness | CWE-77 |
| Published | 2025-09-19 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-59689?
email security gateway: upgrade to 5.0.31, 5.1.20, 5.2.31, 5.3.16, 5.4.8, 5.5.7. Exact commands for each OS are on this page.
Is CVE-2025-59689 being exploited?
Yes. CVE-2025-59689 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2025-59689 affect?
CVE-2025-59689 affects email security gateway. Severity is medium (CVSS 6.1). Libraesva ESG 4.5 through 5.5.x before 5.5.7 allows command injection via a compressed e-mail attachment. For ESG 5.0 a fix has been released in 5.0.31. For ESG 5.1 a fix has been released in 5.1.20. For ESG 5.2 a fix has been released in 5
How urgent is CVE-2025-59689?
Priority 66/100. Exploited in the wild (CISA KEV)