Skip to main content
Mallory
MediumExploited in the wildCISA KEVVulnerability

CVE-2025-59689: Command Injection in Libraesva Email Security Gateway

Published Sep 19, 2025 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS6.1Medium · v3.1
EPSS2.0%81st percentile
CISA KEVYesAdded Sep 29, 2025
In the wildActivePer CISA KEV
Vendor
Libraesva
IdentifiersCVE-2025-59689CWE-78

CVE-2025-59689 is an operating system command injection vulnerability in Libraesva Email Security Gateway (ESG), affecting releases from 4.5 through unpatched 5.5.x versions. Improper sanitization during removal of active code from files within certain compressed archive formats allows a specially crafted email attachment to bypass sanitization and trigger arbitrary shell command execution as a non-privileged user. The vulnerability has been exploited in the wild and is listed in CISA's Known Exploited Vulnerabilities Catalog.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation enables remote execution of arbitrary shell commands with the permissions of a non-privileged account on the email gateway. This compromises the integrity of the gateway and exposes resources accessible to that account. Further system compromise may be possible, but privilege escalation or root access is not established as a direct consequence of this vulnerability.

Mitigation

If you can’t patch tonight, do this now.

No vendor-specific workaround is identified. Follow Libraesva security guidance and apply the security update; compensating controls are not established as an equivalent substitute for patching.

Remediation

Patch, then assume compromise.

Upgrade to the fixed release for the installed branch: ESG 5.0.31, 5.1.20, 5.2.31, 5.3.16, 5.4.8, or 5.5.7, or a later supported release containing the fix. ESG 4.x is end-of-life and has no fix; migrate affected 4.x installations to a supported, patched release. Prioritize remediation because exploitation is confirmed.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
LibraesvaEmail Security Gatewayapplication
FAQ

Frequently asked questions

Is CVE-2025-59689 exploited in the wild?
Yes. As of Oct 21, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Sep 29, 2025.
Is there a public exploit for CVE-2025-59689?
As of Oct 21, 2026, Mallory has found no public exploit for CVE-2025-59689.
Is there a patch for CVE-2025-59689?
Upgrade to the fixed release for the installed branch: ESG 5.0.31, 5.1.20, 5.2.31, 5.3.16, 5.4.8, or 5.5.7, or a later supported release containing the fix. ESG 4.x is end-of-life and has no fix; migrate affected 4.x installations to a supported, patched release.
What products are affected by CVE-2025-59689?
Libraesva Email Security Gateway.
How severe is CVE-2025-59689?
CVE-2025-59689 has a CVSS v3.1 score of 6.1 (Medium) and an EPSS score of 2.0% (81st percentile) as of Oct 21, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence1Every report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity49Community discussion across Reddit, Mastodon, and other social sources.