FortiOS 6.x-7.4 Buffer Overflow via CLI Commands
CVE-2023-46718 Published on October 14, 2025
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.
Vulnerability Analysis
CVE-2023-46718 is exploitable with local system access, and requires user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Weakness Type
What is a Stack Overflow Vulnerability?
A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
CVE-2023-46718 has been classified to as a Stack Overflow vulnerability or weakness.
Products Associated with CVE-2023-46718
stack.watch emails you whenever new vulnerabilities are published in Fortinet FortiOS or Fortinet FortiProxy. Just hit a watch button to start following.
Affected Versions
Fortinet FortiOS:- Version 7.4.0, <= 7.4.1 is affected.
- Version 7.2.0, <= 7.2.11 is affected.
- Version 7.0.0, <= 7.0.18 is affected.
- Version 6.4.6, <= 6.4.16 is affected.
- Version 6.2.9, <= 6.2.17 is affected.
- Version 6.0.13, <= 6.0.18 is affected.
- Version 7.4.0, <= 7.4.7 is affected.
- Version 7.2.0, <= 7.2.15 is affected.
- Version 7.0.0, <= 7.0.22 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.