Home / Barracuda / Barracuda Email Security Gateway / CVE-2023-2868
CVE-2023-2868: is it exploited, and which versions of Barracuda Email Security Gateway are affected and fixed?
CVE-2023-2868 is an improper input validation vulnerability in Barracuda Email Security Gateway, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on May 26, 2023, with a federal due date of June 16, 2023. Affected: Barracuda Email Security Gateway from 5.1.3.001 before 9.2.0.006 (CVE record by Google). Fixed in 9.2.0.006 (CVE record by Google). Severity: Critical (9.4, CVSS 3.1, from Google).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:39 UTC.
What is CVE-2023-2868?
Remote Code injection in Barracuda Email Security Gateway
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.
From the CVE record by Google, last updated October 21, 2025, 23:05 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Barracuda | Barracuda Email Security Gateway | from 5.1.3.001 before 9.2.0.006 | 9.2.0.006 |
As the CVE record by Google states it, last updated October 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| barracuda | email security gateway 300 firmware | from 5.1.3.001 through 9.2.0.006 | operating system |
| barracuda | email security gateway 400 firmware | from 5.1.3.001 through 9.2.0.006 | operating system |
| barracuda | email security gateway 600 firmware | from 5.1.3.001 through 9.2.0.006 | operating system |
| barracuda | email security gateway 800 firmware | from 5.1.3.001 through 9.2.0.006 | operating system |
| barracuda | email security gateway 900 firmware | from 5.1.3.001 through 9.2.0.006 | operating system |
NVD analysis (status Analyzed), last modified June 17, 2026, 05:53 UTC.
How severe is CVE-2023-2868?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L | |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-2868 exploited in the wild?
- CISA KEV
- Listed as Barracuda Networks ESG Appliance Improper Input Validation Vulnerability, added May 26, 2023; federal agencies must act by June 16, 2023
- Required action
- Apply updates per vendor instructions.
- Ransomware use
- Unknown
- CISA's summary
- Barracuda Email Security Gateway (ESG) appliance contains an improper input validation vulnerability of a user-supplied .tar file, leading to remote command injection.
- CISA SSVC
- Exploitation: active; automatable: yes; technical impact: total (CISA ADP, January 16, 2025)
- EPSS
- 88.4% probability of exploitation activity in the next 30 days, percentile 99.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
- CWE-77 Improper Neutralization of Special Elements used in a Command
Where are the vendor advisories and references?
- https://www.barracuda.com/company/legal/esg-vulnerability
- https://status.barracuda.com/incidents/34kx82j5n4q9
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-2868 government-resource
When was it published, and where is the official record?
- Reserved
- May 24, 2023
- Published
- May 24, 2023, 18:00 UTC
- CVE record updated
- October 21, 2025, 23:05 UTC by Google
- NVD
- Analyzed, last modified June 17, 2026, 05:53 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:39 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD · CISA KEV
Questions about CVE-2023-2868
Is CVE-2023-2868 exploited in the wild?
Yes. CISA added CVE-2023-2868 to its Known Exploited Vulnerabilities catalog on May 26, 2023 and set federal agencies a due date of June 16, 2023. FIRST's EPSS gives it a 88.4% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Barracuda Email Security Gateway are affected by CVE-2023-2868?
Barracuda Email Security Gateway from 5.1.3.001 before 9.2.0.006, per the CVE record by Google. The tables above give every range the sources list.
Which version fixes CVE-2023-2868?
9.2.0.006, per the CVE record by Google. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-2868?
Critical (9.4, CVSS 3.1, from Google). The severity table above shows each score with its source.
Where is the official record of CVE-2023-2868?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.