CVE-2025-53843: Stack buffer overflow in CAPWAP daemon
A stack-based buffer overflow vulnerability in Fortinet FortiOS 7.6.0 through 7.6.3, FortiOS 7.4.0 through 7.4.8, FortiOS 7.2 all versions, FortiOS 7.0 all versions, FortiOS 6.4 all versions allows attacker to execute unauthorized code or commands via specially crafted packets
Other sources
A stack-based overflow vulnerability [CWE-124] in FortiOS and FortiSwitchManager CAPWAP daemon may allow a remote authenticated attacker to execute arbitrary code or command as a low privileged user via specially crafted packets.Successful exploitation would require a large amount of effort in preparation because of stack protection and ASLR. Additionally, attacker must be able to pose as an authorized FortiAP or FortiExtender.
— FortiGuard
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
FortiOSto a version that resolves this vulnerability.Fixed in 7.4.9 - Upgrade
Upgrade
FortiOSto a version that resolves this vulnerability.Fixed in 7.6.4 - Upgrade
Upgrade
FortiSwitchManagerto a version that resolves this vulnerability.Fixed in 7.0.6 - Upgrade
Upgrade
FortiSwitchManagerto a version that resolves this vulnerability.Fixed in 7.2.7 - Upgrade
Upgrade
FortiOSto a version that resolves this vulnerability.Fixed in 8.0.0
Event History
Frequently Asked Questions
What is the severity of CVE-2025-53843?
CVE-2025-53843 is classified as a critical vulnerability due to its potential to allow unauthorized code execution.
How do I fix CVE-2025-53843?
To address CVE-2025-53843, upgrade to FortiOS version 7.6.4 or later, or 7.4.9 or later as applicable.
What affected versions are there for CVE-2025-53843?
CVE-2025-53843 affects FortiOS versions 7.0, 7.2, 7.4.0 through 7.4.8, and 7.6.0 through 7.6.3.
What is the nature of the vulnerability CVE-2025-53843?
CVE-2025-53843 is a stack-based buffer overflow that can be exploited via specially crafted packets.
Can CVE-2025-53843 lead to system compromise?
Yes, CVE-2025-53843 can allow an attacker to execute unauthorized commands, potentially compromising the system.