CVE-2025-25249Buffer overflow RCE in Fortinet FortiOS
Fortinet FortiOS, FortiSwitchManager, and FortiSASE contain a heap-based buffer overflow vulnerability that allows an attacker to execute unauthorized code or commands via specially crafted packets.
View on NVDAnalysis
Esta vulnerabilidad de desbordamiento de búfer en FortiOS y FortiSwitchManager permite la ejecución remota de código mediante paquetes maliciosos. El fallo está siendo explotado activamente en el mundo real para comprometer perímetros de red y accesos VPN. Se recomienda actualizar de inmediato los equipos Fortinet afectados para prevenir intrusiones en la infraestructura.
Relevant roles
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HCWE-122CWE-787CISA KEV
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
EPSS
Affects
fortinet:fortiosfortinet:fortiswitchmanagerfortinet:fortisaseTechnical description
A heap-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.0 through 7.2.11, FortiOS 7.0.0 through 7.0.17, FortiOS 6.4 all versions, FortiSwitchManager 7.2.0 through 7.2.6, FortiSwitchManager 7.0.0 through 7.0.5 allows attacker to execute unauthorized code or commands via specially crafted packets