Stack-based buffer overflow in FortiOS and FortiProxy - CVE-2023-46718

 

Stack-based buffer overflow in FortiOS and FortiProxy - CVE-2023-46718

Published: October 15, 2025


Vulnerability identifier: #VU117217
CSH Severity: Low
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-46718
CWE-ID: CWE-121
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local privileged user to execute arbitrary code.

The vulnerability exists due to stack-based buffer overflow on fortitoken import feature. An authenticated attacker can achieve arbitrary code execution via certain CLI commands.


Affected software

FortiOS
FortiProxy

How to mitigate CVE-2023-46718

Install update from vendor's website.

FortiOS - addressed in versions 7.2.12, 7.4.2
FortiProxy - update to 7.4.8

External References

Related Security Bulletins