# CVE-2023-33302: Classic buffer overflow in FortiNDR, FortiMail

- Vendor: Fortinet, FortiNDR, FortiMail
- Severity: MEDIUM (CVSS 3.1 4.5)
- Exploited (CISA KEV): not listed
- EPSS: 0.4% on 2026-11-23
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: FG-IR-21-023, https://fortiguard.fortinet.com/psirt/FG-IR-21-023
- Published: 2025-03-31; updated: 2025-03-31
- Page: https://patchtonight.com/cve/CVE-2023-33302/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiNDR 7.2 | 7.2.1 or later |
| FortiNDR 7.1 | See the advisory |
| FortiNDR 7.0.0 to 7.0.6 | Upgrade past 7.0.6; see the advisory |
| FortiNDR 1.5.0 to 1.5.3 | Upgrade past 1.5.3; see the advisory |
| FortiNDR 1.4 | See the advisory |
| FortiNDR 1.3.0 to 1.3.1 | Upgrade past 1.3.1; see the advisory |
| FortiNDR 1.2 | See the advisory |
| FortiNDR 1.1 | See the advisory |
| FortiMail 6.4.0 to 6.4.4 | 6.4.5 or later |
| FortiMail 6.2.0 to 6.2.6 | 6.2.7 or later |
| FortiMail 6.0.0 to 6.0.10 | 6.0.11 or later |
| FortiMail 5.4.0 to 5.4.12 | Upgrade past 5.4.12; see the advisory |
| FortiMail 5.3.12 to 5.3.13 | Upgrade past 5.3.13; see the advisory |
| FortiMail 5.3.0 to 5.3.10 | Upgrade past 5.3.10; see the advisory |
| FortiMail 5.2.0 to 5.2.10 | Upgrade past 5.2.10; see the advisory |
| FortiMail 5.1.0 to 5.1.7 | Upgrade past 5.1.7; see the advisory |
| FortiMail 5.0.0 to 5.0.11 | Upgrade past 5.0.11; see the advisory |

## The vendor's description

A buffer copy without checking size of input ('classic buffer overflow') in Fortinet  FortiMail webmail and administrative interface version 6.4.0 through 6.4.4 and before 6.2.6 and FortiNDR administrative interface version 7.2.0 and before 7.1.0 allows an authenticated attacker with regular webmail access to trigger a buffer overflow and to possibly execute unauthorized code or commands via specifically crafted HTTP requests.

## Sources

- [Fortinet advisory](https://fortiguard.fortinet.com/psirt/FG-IR-21-023)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
