Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

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

66
Patch now
MEDIUM 6.1EXPLOITEDUPGRADE

CVE-2025-59689 is a medium-severity flaw (CVSS 6.1) affecting email security gateway, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Exploited in the wild (CISA KEV)

A fixed release or distro patch exists.

Risk facts

CVSS score6.1 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance1.9% (top 21%)
CISA exploited listYes, fix due 2025-10-20
WeaknessCWE-77
Published2025-09-19
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: libraesva

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

libraesva email security gateway UPGRADE
Affected: >= 4.5 and < 5.0.31 · >= 5.1.0 and < 5.1.20 · >= 5.2.0 and < 5.2.31 · >= 5.3.0 and < 5.3.16 · >= 5.4.0 and < 5.4.8 · >= 5.5.0 and < 5.5.7
Fixed in: 5.0.31, 5.1.20, 5.2.31, 5.3.16, 5.4.8, 5.5.7
Safe to downgrade to: a release before 4.5
1. Check installed version
apt-cache policy email-security-gateway || rpm -q email-security-gateway || email-security-gateway --version
2. UPGRADE to 5.0.31 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade email-security-gateway
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade email-security-gateway
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 4.5 (Debian / Ubuntu)
apt-cache madison email-security-gateway sudo apt install email-security-gateway=<VERSION_BEFORE_4.5> sudo apt-mark hold email-security-gateway
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list email-security-gateway sudo dnf downgrade email-security-gateway-<VERSION_BEFORE_4.5> sudo dnf versionlock add email-security-gateway
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

Fedora 46 · wordpress · FIXED · 7.1.4-1.fc46 · FEDORA-2026-907394725e · source
sudo dnf upgrade --advisory=FEDORA-2026-907394725e
Fedora ELN · rhc · FIXED · 0.3.15-1.eln159 · FEDORA-2026-1cd9f35750 · source
sudo dnf upgrade --advisory=FEDORA-2026-1cd9f35750
Verify at the official source NVD · CVE Program · CISA KEV catalog · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2025-59689?

email security gateway: upgrade to 5.0.31, 5.1.20, 5.2.31, 5.3.16, 5.4.8, 5.5.7. Exact commands for each OS are on this page.

Is CVE-2025-59689 being exploited?

Yes. CVE-2025-59689 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.

What does CVE-2025-59689 affect?

CVE-2025-59689 affects email security gateway. Severity is medium (CVSS 6.1). 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

How urgent is CVE-2025-59689?

Priority 66/100. Exploited in the wild (CISA KEV)

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.