CVE-2023-2868: Barracuda Email Security Gateway Improper Input Validation

CVE-2023-2868

NVD

Vulnerability Summary

A remote command injection vulnerability exists in the Barracuda Email Security Gateway (appliance form factor only) product effecting versions 5.1.3.001-9.2.0.006. The vulnerability arises out of a failure to comprehensively sanitize the processing of .tar file (tape archives). The vulnerability stems from incomplete input validation of a user-supplied .tar file as it pertains to the names of the files contained within the archive. As a consequence, a remote attacker can specifically format these file names in a particular manner that will result in remotely executing a system command through Perl's qx operator with the privileges of the Email Security Gateway product. This issue was fixed as part of BNSF-36456 patch. This patch was automatically applied to all customer appliances.
Severity Level
CRITICAL(9.4)
Published Date
May 24, 2023
Last Modified
Oct 21, 2025
PoC
Available(Metasploit)
Exploitation Status
ACTIVE
Root Weakness (CWE)
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required.
CVSS v3.1 Base Metrics — Score 9.4 (CRITICAL)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityLow

Affected & Patched Versions

Affected Versions
  • Barracuda Email Security Gateway >= 5.1.3.001 and < 9.2.0.006
Patched Versions
  • Barracuda Email Security Gateway 9.2.0.006

What to do

Patch now. CISA lists this flaw as exploited in the wild and set a federal remediation deadline of Jun 16, 2023.

  1. Check whether you run Barracuda Email Security Gateway and which version.
  2. Update to a patched version listed above, then confirm the new version.
  3. Review logs and exposed services for signs of earlier compromise.

CISA required action: Apply updates per vendor instructions.

CISA KEV Status

Listed in Known Exploited Vulnerabilities
Added: May 26, 2023
Remediation due: Jun 16, 2023 (deadline passed)

Timeline

  • May 24, 2023Published
  • May 26, 2023Added to CISA KEV catalog
  • Jun 16, 2023KEV remediation due date
  • Oct 21, 2025Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Google CVEsYou are reading CVE-2023-2868. Get an email when KEV listings, exploits or new CVEs match your stack.
Notify me about Google CVEs

All Google vulnerabilities →

Data last checked: Dec 1, 2026 05:11 UTC