# CVE-2023-2868: Remote Code injection in Barracuda Email Security Gateway

- Severity: Critical 9.4 (CVSS:3.1, scored by Google) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`
- Known to be exploited: yes. In CISA's catalogue since 2023-05-26. Apply updates per vendor instructions.
- Likelihood of exploitation in the next 30 days (EPSS): 88.4%, higher than 99% of CVEs (2026-12-01)
- Published: 2023-05-24T18:00:52.360Z
- Modified: 2026-06-17T05:53:39.770Z
- Weaknesses: CWE-20, CWE-77
- SSVC (CISA-ADP): exploitation active, automatable yes, technical impact total
- Assigned by: Google

## Description

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.

(As written by CVE List.)

## Affected

- Barracuda Barracuda Email Security Gateway: from 5.1.3.001 before 9.2.0.006
- barracuda email_security_gateway_300_firmware: from 5.1.3.001 up to 9.2.0.006
- barracuda email_security_gateway_400_firmware: from 5.1.3.001 up to 9.2.0.006
- barracuda email_security_gateway_600_firmware: from 5.1.3.001 up to 9.2.0.006
- barracuda email_security_gateway_800_firmware: from 5.1.3.001 up to 9.2.0.006
- barracuda email_security_gateway_900_firmware: from 5.1.3.001 up to 9.2.0.006
- Barracuda Networks Email Security Gateway (ESG) Appliance: no versions given

## Every score

- Google: CVSS:3.1 9.4 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.barracuda.com/company/legal/esg-vulnerability> (mitigation, vendor-advisory)
- <https://status.barracuda.com/incidents/34kx82j5n4q9> (kev, vendor-advisory)
- <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-2868> (government-resource, us-government-resource)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-2868> (kev)

## Sources

- CVE List: [CVE-2023-2868](https://www.cve.org/CVERecord?id=CVE-2023-2868), CVE Terms of Use, modified 2025-10-21
- NVD: [CVE-2023-2868](https://nvd.nist.gov/vuln/detail/CVE-2023-2868), Public domain, modified 2026-06-17
- CISA KEV: [CVE-2023-2868](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2023-2868), CC0-1.0, modified 2023-05-26

---

Page: https://cve.day/CVE-2023-2868 · Whole record: https://cve.day/CVE-2023-2868.json · Rebuilt by cve.day 2026-11-25T22:58:24.364Z
