Skip to main intelligence content
SOURCES: CISA KEV + NIST NVD 2.0 + FIRST EPSS
LOOT & EXPLOITS
DEFENSIVE VULN & TOOL TRIAGE

PAID STACK WATCH · $99/year or $12/month

Back to Exploit Watch
Free RSS · LibraesvaLast Sync: 2026-12-04 00:15:43 UTC

CVE-2025-59689

CONFIRMED EXPLOITED
6.1MEDIUMMITREEPSS 1.96%(81.0th pct)
Libraesva // Email Security Gateway

Libraesva Email Security Gateway Command Injection Vulnerability

Added to CISA KEV2025-09-29
NVD Published Date2025-09-19
NVD Last Modified2026-06-17
CWE ClassificationCWE-77

Is Libraesva Email Security Gateway affected by CVE-2025-59689?

Libraesva Email Security Gateway is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2025-59689, added on 2025-09-29. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.

Affected products published by NIST NVD (6 vulnerable CPE entries): libraesva email_security_gateway.

Published CPE version bounds mark releases below 5.5.7 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.

The CISA remediation deadline for this entry is 2025-10-20.

RELATED VULNERABILITY DOSSIERS

Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.

1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM

CISA KEV Verified Summary

Libraesva Email Security Gateway (ESG) contains a command injection vulnerability which allows command injection via a compressed e-mail attachment.

Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)

What the Vulnerability Actually Does (NVD / CNA Technical 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.

2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS

CISA REPORTED VENDORLibraesva
CISA REPORTED PRODUCTEmail Security Gateway
Verified NIST NVD CPE 2.3 Version Ranges (6 entries):
libraesva:email_security_gateway
>= 4.5 , < 5.0.31
libraesva:email_security_gateway
>= 5.1.0 , < 5.1.20
libraesva:email_security_gateway
>= 5.2.0 , < 5.2.31
libraesva:email_security_gateway
>= 5.3.0 , < 5.3.16
libraesva:email_security_gateway
>= 5.4.0 , < 5.4.8
libraesva:email_security_gateway
>= 5.5.0 , < 5.5.7

3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT

Confirmed Exploitation Evidence (Cited to CISA KEV)

This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2025-09-29. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".

Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Email Security Gateway has been compromised.

Potential Impact (Vector-Derived)
  • Scope Change (S:C) in CVSS vector: exploitation can cross trust boundaries beyond the vulnerable component itself (e.g., container/sandbox/hypervisor escape or downstream host impact).
Defensive Detection Opportunities
  • Client / parser surface (Libraesva Email Security Gateway): exploitation typically involves rendering crafted web content, documents, or media. Monitor endpoint EDR / process trees for sandbox escapes, unexpected child processes spawned by client applications, and anomalous outbound connections (`Zeek dns.log`, `conn.log`).
  • Command/Argument Injection class (CWE-77/78/88): monitor process trees for `/bin/sh`, `bash`, `cmd.exe`, `powershell`, `curl`, or `wget` spawned as child processes of the service daemon.
  • Inventory all hosts running Libraesva Email Security Gateway and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.

4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS

CISA Required Remediation Action (Due Date: 2025-10-20)

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

SCORING & VECTOR TELEMETRY

CVSS (MITRE via NVD) v3.1 Base Score
6.1 / 10.06.1MEDIUMMITRE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

NIST NVD score not yet provided. Score attributed to MITRE (cve@mitre.org, Secondary / CNA assessment distributed via NVD).

FIRST EPSS 30-Day Exploitation Probability
1.96%EPSS 1.96%(81.0th pct)
Percentile: 81.0th pct · Raw: 0.01956 · Date: 2026-12-03

EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.

RELEVANT DEFENSIVE TOOLS

Curated open-source defensive and verification utilities from The Loot applicable to this asset class:

SOURCE PROVENANCE LOG

CISA KEV Feed
Catalog v2026.12.03 · Synced 2026-12-04T00:15:35Z
NVD CVE 2.0 API & CVSS Authority
Enriched: 2026-12-04T00:15:43Z
Score Source: MITRE (cve@mitre.org)
FIRST EPSS v1 API
Score Date: 2026-12-03