Libraesva Email Security Gateway (ESG) contains a command injection vulnerability which allows command injection via a compressed e-mail attachment.
In short
CVE-2025-59689 (Libraesva Email Security Gateway Command Injection) has a CVSS 3.1 base score of 6.1, rated medium. CISA added it to the Known Exploited Vulnerabilities catalog on 29 Sept 2025. Fixed in Libraesva Email Security Gateway 5.0.31 or later.
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.
CVSS 3.1 breakdown
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NAffected products
- Libraesva Email Security Gateway≥ 4.5 < 5.0.31 · ≥ 5.1.0 < 5.1.20 · ≥ 5.2.0 < 5.2.31 · ≥ 5.3.0 < 5.3.16
Remediation
Fixed in- Libraesva Email Security Gateway≥ 5.0.31
References
Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.
