Heap-based buffer overflow in FortiOS - CVE-2025-24477

 

Heap-based buffer overflow in FortiOS - CVE-2025-24477

Published: July 8, 2025


Vulnerability identifier: #VU112497
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-24477
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Fortinet, Inc
Affected software:
FortiOS

Detailed vulnerability description

The vulnerability allows a local privileged user to read and manipulate data.

The vulnerability exists due to heap-based buffer overflow in cw_stad daemon. An authenticated attacker can execute arbitrary code or commands via specifically crafted requests.

The following models are impacted if configured as a as a wireless client :
- FWF_80F_2R_3G4G_DSL
- FWF_80F_2R
- FWF_81F_2R_3G4G_DSL
- FWF_81F_2R_3G4G_POE
- FWF_81F_2R
- FWF_81F_2R_POE
- FWF_90G_2R
- FWF_91G_2R


How to mitigate CVE-2025-24477

Install update from vendor's website.

Sources