Fortinet Fortigate Stack buffer overflow in CAPWAP daemon (FG-IR-25-632)

high Nessus Plugin ID 275610

Synopsis

Fortinet Firewall is missing one or more security-related updates.

Description

The version of Fortigate installed on the remote host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the FG-IR-25-632 advisory.

- A stack-based buffer overflow 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, FortiOS 6.2 all versions, FortiOS 6.0 all versions, FortiSASE 25.3.b allows attacker to execute unauthorized code or commands via specially crafted packets (CVE-2025-58413)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

For 6.0.x / 6.2.x / 6.4.x / 7.0.x / 7.2.x, see vendor advisory. For 7.4.x, upgrade to Fortigate version 7.4.9 or later.
For 7.6.x, upgrade to Fortigate version 7.6.4 or later.

See Also

https://www.fortiguard.com/psirt/FG-IR-25-632

Plugin Details

Severity: High

ID: 275610

File Name: fortigate_FG-IR-25-632.nasl

Version: 1.3

Type: local

Family: Firewalls

Published: 11/18/2025

Updated: 11/21/2025

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 8.4

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:A/AC:H/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2025-58413

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:fortinet:fortios

Required KB Items: Host/Fortigate/model, Host/Fortigate/version, Settings/ParanoidReport

Exploit Ease: No known exploits are available

Patch Publication Date: 11/18/2025

Vulnerability Publication Date: 11/18/2025

Reference Information

CVE: CVE-2025-58413

IAVA: 2025-A-0770