Integer Overflow in ipsec ike

Summary

An Integer Overflow or Wraparound vulnerability [CWE-190] in FortiOS and FortiSASE FortiOS tenant IPsec IKEv1 service may allow an authenticated attacker to crash the IPsec tunnel via crafted requests, resulting in potential denial of service.

Version Affected Solution
FortiOS 7.6 Not affected Not Applicable
FortiOS 7.4 7.4.0 through 7.4.4 Upgrade to 7.4.5 or above
FortiOS 7.2 7.2 through 7.2.11 Upgrade to 7.2.12 or above
FortiOS 7.0 Not affected Not Applicable
FortiOS 6.4 Not affected Not Applicable
Follow the recommended upgrade path using our tool at: https://docs.fortinet.com/upgrade-tool

Fortinet in Q4/24 has remediated this issue in FortiSASE version 24.4.a and hence the customers need not perform any action

Virtual Patch named "FG-VD-10006838.0day." is available in FMWP db update 24.090

Workaround:
Configure IPsec VPN Tunnel using IKE v2.

Acknowledgement

Fortinet is pleased to thank Vang3lis and N3vv from VARAS@IIE for reporting this vulnerability under responsible disclosure.

Timeline

2025-01-14: Initial publication
2025-01-15: Added IPS package info
2025-04-11: Added Workaround
2025-05-07: Added FortiOS 7.2 fix indication