# CVE-2023-46718: Stack-based buffer overflow in FortiOS, FortiProxy

- Vendor: Fortinet, FortiOS, FortiProxy
- Severity: MEDIUM (CVSS 3.1 6.3)
- Exploited (CISA KEV): not listed
- EPSS: 0.2% on 2026-11-23
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: FG-IR-23-354, https://fortiguard.fortinet.com/psirt/FG-IR-23-354
- Published: 2025-10-14; updated: 2026-01-14
- Page: https://patchtonight.com/cve/CVE-2023-46718/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiOS 7.4.0 to 7.4.1 | 7.4.2 or later |
| FortiOS 7.2.0 to 7.2.11 | 7.2.12 or later |
| FortiOS 7.0.0 to 7.0.18 | Upgrade past 7.0.18; see the advisory |
| FortiOS 6.4.6 to 6.4.16 | Upgrade past 6.4.16; see the advisory |
| FortiOS 6.2.9 to 6.2.17 | Upgrade past 6.2.17; see the advisory |
| FortiOS 6.0.13 to 6.0.18 | Upgrade past 6.0.18; see the advisory |
| FortiProxy 7.4.0 to 7.4.7 | 7.4.8 or later |
| FortiProxy 7.2.0 to 7.2.15 | Upgrade past 7.2.15; see the advisory |
| FortiProxy 7.0.0 to 7.0.22 | Upgrade past 7.0.22; see the advisory |

## The vendor's description

A stack-based buffer overflow in Fortinet FortiOS version 7.4.0 through 7.4.1 and 7.2.0 through 7.2.7 and 7.0.0 through 7.0.12 and 6.4.6 through 6.4.15 and 6.2.9 through 6.2.16 and 6.0.13 through 6.0.18 allows attacker to execute unauthorized code or commands via specially crafted CLI commands.

## Sources

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

---

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.
