CVE-2023-46718: Stack-based buffer overflow on fortitoken import feature

Published Oct 14, 2025
·
Updated

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.

Other sources

A stack-based buffer overflow vulnerability [CWE-121] in FortiOS and FortiProxy may allow an authenticated attacker to achieve arbitrary code execution via certain CLI commands.

FortiGuard

Affected Software

16 affected componentsFixes available
Fortinet FortiOS>=7.4.0<=7.4.1, >=7.2.0<=7.2.7, >=7.0.0<=7.0.12, >=6.4.6<=6.4.15, >=6.2.9<=6.2.16, >=6.0.13<=6.0.18
Fortinet FortiOS>=7.4.0<=7.4.1
Fortinet FortiOS>=7.2.0<=7.2.11
Fortinet FortiOS>=7.0
Fortinet FortiOS>=6.4.6<=6.4.16
Fortinet FortiOS>=6.2.9<=6.2.17
Fortinet FortiOS>=6.0.13<=6.0.18
Fortinet FortiProxy>=7.4.0<=7.4.7
Fortinet FortiProxy>=7.2
Fortinet FortiProxy>=7.0
Fortinet FortiOS>=6.0.13<=6.0.18
Fortinet FortiOS>=6.2.9<=6.2.17
Fortinet FortiOS>=6.4.6<=6.4.16
Fortinet FortiOS>=7.0.0<7.2.12
Fortinet FortiOS>=7.4.0<7.4.2
Fortinet FortiProxy>=7.0.0<7.4.8

Remediation

Information

Upgrade to FortiOS version 7.6.0 or above Upgrade to FortiOS version 7.4.2 or above Upgrade to FortiOS version 7.2.12 or above Upgrade to FortiProxy version 7.6.0 or above Upgrade to FortiProxy version 7.4.8 or above

Event History

Oct 14, 2025
Advisory Published
via FortiGuard·12:00 AM
Data Sourced
via FortiGuard·12:00 AM
DescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·03:23 PM
Data Sourced
via MITRE·03:23 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2023-46718?

CVE-2023-46718 is classified as a critical vulnerability due to the possibility of remote code execution.

2

How do I fix CVE-2023-46718?

To mitigate CVE-2023-46718, upgrade Fortinet FortiOS to version 7.4.2 or later or to 7.2.12 or later.

3

Which Fortinet FortiOS versions are affected by CVE-2023-46718?

CVE-2023-46718 affects FortiOS versions from 6.0.13 to 7.4.1.

4

Can CVE-2023-46718 be exploited remotely?

Yes, CVE-2023-46718 can be exploited remotely, allowing unauthorized code execution.

5

Is there a workaround for CVE-2023-46718?

There are no official workarounds for CVE-2023-46718; it is recommended to apply the available patches.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203