CVE-2025-24477: Heap-based buffer overflow in cw_stad daemon

Published Jul 8, 2025
·
Updated

A heap-based buffer overflow vulnerability [CWE-122] in FortiOS cwstad daemon may allow an authenticated attacker to execute arbitrary code or commands via specifically crafted requests.

Other sources

A heap-based buffer overflow vulnerability in Fortinet FortiOS 7.6.0 through 7.6.2, FortiOS 7.4.0 through 7.4.7, FortiOS 7.2.4 through 7.2.12 allows an attacker to escalate its privileges via a specially crafted CLI command

MITRE

Affected Software

6 affected componentsFixes available
Fortinet FortiOS>=7.2.4<7.2.12
Fortinet FortiOS>=7.4.0<7.4.8
Fortinet FortiOS>=7.6.0<7.6.3
Fortinet FortiOS>=7.6.0<=7.6.2
Fortinet FortiOS>=7.4.0<=7.4.7
Fortinet FortiOS>=7.2.4<=7.2.12

Remediation

Information

Upgrade to FortiOS version 7.6.3 or above Upgrade to FortiOS version 7.4.8 or above Upgrade to FortiOS version 7.2.13 or above

Event History

Jul 8, 2025
Advisory Published
via FortiGuard·12:00 AM
Data Sourced
via FortiGuard·12:00 AM
DescriptionSeverityWeaknessAffected Software
Jul 15, 2025
CVE Published
via MITRE·08:14 AM
Data Sourced
via MITRE·08:14 AM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·09:15 AM
DescriptionSeverityWeaknessAffected Software
Nov 3, 2025
Advisory Published
via FortiGuard·08:12 AM

Frequently Asked Questions

1

What is the severity of CVE-2025-24477?

CVE-2025-24477 is classified as a critical severity vulnerability due to the potential for remote code execution.

2

How do I fix CVE-2025-24477?

To mitigate CVE-2025-24477, upgrade FortiOS to version 7.6.3, 7.4.8, or 7.2.12 or later.

3

What type of vulnerability is CVE-2025-24477?

CVE-2025-24477 is a heap-based buffer overflow vulnerability affecting FortiOS.

4

Who is affected by CVE-2025-24477?

Authenticated users of FortiOS versions prior to the remedial versions are at risk from CVE-2025-24477.

5

What can an attacker do with CVE-2025-24477?

An attacker can exploit CVE-2025-24477 to execute arbitrary code or commands on vulnerable instances of FortiOS.

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