← Vulnerability feed

Vulnerability record · CVE-2016-6909 · published 24 August 2016

CVE-2016-6909: Fortinet FortiOS and FortiSwitch Cookie parser buffer overflow

Fortinet · Fortios

The Cookie parser in Fortinet FortiOS 4.x, 4.2.x and 4.3.x and FortiSwitch before 3.4.3 contains a buffer overflow (CWE-119) reachable through a crafted HTTP request. A remote, unauthenticated attacker can trigger it and execute arbitrary code, making it a critical pre-auth flaw on internet-facing firewall and switch management interfaces.

9.8 CVSS 3.0 Critical EPSS 50% · top 1.1% CWE-119 · Memory buffer overflow
9.8CVSS 3.0 base score, v2 10.0
50%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
12References, 4 tagged exploit
17 Jun 2026Last modified by NVD

Description

Buffer overflow in the Cookie parser in Fortinet FortiOS 4.x before 4.1.11, 4.2.x before 4.2.13, and 4.3.x before 4.3.9 and FortiSwitch before 3.4.3 allows remote attackers to execute arbitrary code via a crafted HTTP request, aka EGREGIOUSBLUNDER.

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

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: high.

critical priorityPre-authentication remote code execution on perimeter security devices with public exploit code and a high EPSS score.

What it is

The Cookie parser in Fortinet FortiOS 4.x, 4.2.x and 4.3.x and FortiSwitch before 3.4.3 contains a buffer overflow (CWE-119) reachable through a crafted HTTP request. A remote, unauthenticated attacker can trigger it and execute arbitrary code, making it a critical pre-auth flaw on internet-facing firewall and switch management interfaces.

Impact

Successful exploitation gives the attacker arbitrary code execution on the affected device, with full loss of confidentiality, integrity and availability per the CVSS vector. On a perimeter firewall or switch this can mean full control of the device and the traffic it handles.

Attack surface

Reached over the network via HTTP requests to the affected Cookie parser; the CVSS vector is AV:N/AC:L/PR:N/UI:N, so no authentication and no user interaction are required. Any exposed management or web interface on an unpatched FortiOS or FortiSwitch build is in scope.

Exploitation

CISA KEV does not list this CVE, but public exploit code exists (Exploit-DB 40276 and a Packet Storm EGREGIOUSBLUNDER RCE writeup), and EPSS is high at roughly 0.499 (98.8th percentile). That combination indicates practical, widely available exploitation rather than a theoretical bug.

What to do

  • Upgrade FortiOS to 4.1.11, 4.2.13 or 4.3.9 or later, and FortiSwitch to 3.4.3 or later, per Fortinet advisory FG-IR-16-023.
  • Restrict management and web interfaces to trusted networks; do not expose them to the internet.
  • Apply virtual patching or IPS signatures for the EGREGIOUSBLUNDER HTTP Cookie overflow where available.
  • Rotate credentials and review device configuration for signs of tampering after any suspected exposure.
  • Monitor vendor advisories for follow-up fixes if the device cannot be upgraded immediately.

Detection

  • Inspect HTTP request logs for oversized or malformed Cookie headers targeting FortiOS/FortiSwitch web interfaces.
  • Alert on crashes, restarts or unexpected process behavior on FortiGate/FortiSwitch devices.
  • Hunt for outbound connections or new accounts/config changes originating from the device after suspicious HTTP traffic.
  • Use IDS/IPS signatures matching the EGREGIOUSBLUNDER exploit and review hits against exposed management interfaces.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2016-6909 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-24858Fortinet FortiCloud SSO authentication bypass across registered devicesA CWE-288 authentication bypass in Fortinet FortiAnalyzer, FortiManager, FortiNAC-F, FortiOS, FortiProxy and FortiWeb lets an attacker with a FortiCl…KEVEPSS 86%analysed9.8CVE-2025-25249Fortinet FortiOS and FortiSwitchManager heap buffer overflow via crafted packetsA heap-based buffer overflow (CWE-122/CWE-787) in Fortinet FortiOS 6.4 through 7.6.3 and FortiSwitchManager 7.0 through 7.2.6 lets an unauthenticated…KEVEPSS 3.9%analysed9.8CVE-2025-59718Fortinet FortiOS/FortiProxy SAML signature check bypass in FortiCloud SSOFortiOS, FortiProxy and FortiSwitchManager fail to properly verify the cryptographic signature of SAML responses used for FortiCloud SSO login. An un…KEVEPSS 68%analysed9.8CVE-2024-55591FortiOS and FortiProxy authentication bypass via Node.js websocketFortiOS 7.0.0 through 7.0.16 and FortiProxy 7.0.0 through 7.0.19 and 7.2.0 through 7.2.12 contain an authentication bypass (CWE-288) reachable throug…KEVEPSS 94%analysed9.8CVE-2024-23113Fortinet FortiOS and related products format string remote code executionA use of externally-controlled format string (CWE-134) in Fortinet FortiOS, FortiProxy, FortiPAM and FortiSwitchManager lets an attacker execute unau…KEVEPSS 62%analysed9.8CVE-2024-21762Fortinet FortiOS and FortiProxy out-of-bounds write in SSL VPNFortiOS and FortiProxy contain an out-of-bounds write (CWE-787) reachable through specifically crafted requests. The flaw affects a wide range of For…KEVEPSS 83%analysed9.8CVE-2023-27997Fortinet FortiOS and FortiProxy SSL-VPN heap buffer overflowFortiOS and FortiProxy SSL-VPN contain a heap-based buffer overflow (CWE-122/CWE-787) reachable through specifically crafted requests. It is a pre-au…KEVEPSS 86%analysed9.8CVE-2022-42475FortiOS and FortiProxy SSL-VPN heap buffer overflow allows remote code executionA heap-based buffer overflow (CWE-122/CWE-787) in the FortiOS and FortiProxy SSL-VPN component lets a remote attacker trigger memory corruption throu…KEVEPSS 99%analysed

Source: NIST National Vulnerability Database (record CVE-2016-6909), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.