CVE-2023-46718 Memory corruption in FortiOS
Attackers can execute unauthorized code via crafted CLI commands due to a stack-based buffer overflow in FortiOS.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-46718?
CVE-2023-46718 is a medium-severity memory corruption vulnerability in Fortinet Fortios, published on 14 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-121
Which versions are affected by CVE-2023-46718?
It affects 2 products.
Products include Fortinet Fortios, Fortinet Fortiproxy.
How do I fix CVE-2023-46718?
No fix has been published for CVE-2023-46718 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2023-46718 being exploited?
There is no known exploitation of CVE-2023-46718 in the wild and no public exploit code.
Other vulnerabilities in Fortinet Fortios
Sources
Also known as GHSA-9fhr-jfxp-p88m.