Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-59689: CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection') in Libraesva Email Security Gateway

0
Medium
VulnerabilityCVE-2025-59689cvecve-2025-59689cwe-77
Published: Fri Sep 19 2025 (09/19/2025, 00:00:00 UTC)
Source: CVE Database V5
Vendor/Project: Libraesva
Product: Email Security Gateway

Description

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 03:58:57 UTC

Technical Analysis

CVE-2025-59689 is a command injection vulnerability classified under CWE-77 affecting Libraesva Email Security Gateway (ESG) versions 4.5 through 5.5.x prior to 5.5.7. The vulnerability stems from improper neutralization of special elements in compressed email attachments, which allows an attacker to craft a malicious compressed file that, when processed by the ESG, leads to arbitrary command execution on the underlying system. This flaw can be exploited remotely without authentication but requires user interaction, specifically the processing or opening of a malicious compressed attachment. The vulnerability impacts multiple versions of the product, with fixes released in versions 5.0.31, 5.1.20, 5.2.31, 5.4.8, and 5.5.7. The CVSS v3.1 base score is 6.1, reflecting medium severity, with attack vector network (AV:N), low attack complexity (AC:L), no privileges required (PR:N), user interaction required (UI:R), scope changed (S:C), and partial impact on confidentiality and integrity (C:L/I:L) but no impact on availability (A:N). No public exploits have been reported yet, but the vulnerability poses a significant risk due to the nature of email gateways as critical security infrastructure. Successful exploitation could allow attackers to execute arbitrary commands, potentially leading to data leakage, manipulation, or further compromise within the network.

Potential Impact

The vulnerability could allow remote attackers to execute arbitrary commands on affected Libraesva ESG systems by sending specially crafted compressed email attachments. This can lead to unauthorized disclosure of sensitive email content (confidentiality impact) and unauthorized modification of system or email data (integrity impact). Although availability is not directly affected, the compromise of an email gateway can disrupt email security operations and trust. Organizations relying on Libraesva ESG for email filtering and protection could face increased risk of targeted attacks, data breaches, and lateral movement within their networks. The requirement for user interaction limits automated exploitation but does not eliminate risk, especially in environments with high email traffic and users prone to opening attachments. The scope change indicates that the vulnerability could affect components beyond the initial vulnerable process, potentially broadening the impact. Given the central role of email gateways in organizational security, exploitation could facilitate phishing, malware delivery, or espionage campaigns.

Mitigation Recommendations

Organizations should immediately verify their Libraesva ESG version and apply the appropriate patches: 5.0.31 for ESG 5.0, 5.1.20 for ESG 5.1, 5.2.31 for ESG 5.2, 5.4.8 for ESG 5.4, and 5.5.7 for ESG 5.5. For versions 4.5 and others not explicitly patched, upgrade to a supported and patched version is strongly recommended. Additionally, implement strict email attachment filtering policies to block or quarantine compressed attachments from untrusted sources. Employ sandboxing or detonation chambers to analyze attachments before delivery to end users. Enhance user awareness training to reduce the risk of opening suspicious attachments. Monitor ESG logs and network traffic for unusual command execution patterns or anomalies. Restrict ESG administrative access and isolate the gateway within a segmented network zone to limit lateral movement if compromised. Regularly audit and update security configurations to minimize attack surface.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
mitre
Date Reserved
2025-09-18T00:00:00.000Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 68cdbb9d4b8a032c4fad4197

Added to database: 9/19/2025, 8:22:53 PM

Last enriched: 2/27/2026, 3:58:57 AM

Last updated: 3/24/2026, 4:25:23 AM

Views: 220

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses