Join our Newsletter — 33% off our NHI Course
Home› Glossary› Threats, Abuse & Incident Response› CVE-2022-42475 (Fortinet FortiOS Heap-Based Buffer Overflow)
Threats, Abuse & Incident Response

CVE-2022-42475 (Fortinet FortiOS Heap-Based Buffer Overflow)

← Back to Glossary
By NHI Mgmt Group Updated October 17, 2026 Domain: Threats, Abuse & Incident Response

CVE-2022-42475 is a heap-based buffer overflow vulnerability in Fortinet FortiOS. CISA added it to the Known Exploited Vulnerabilities catalogue on 13 December 2022, which means attackers have used it in real attacks. Organisations running the affected product should apply the vendor fix or mitigation as a priority.

What the vulnerability is in FortiOS

CVE-2022-42475 is a heap-based buffer overflow in a network-facing security appliance, which means carefully crafted input can trigger memory corruption inside the product’s process space. In practice, that kind of flaw matters because the vulnerable component often sits on a critical trust boundary and may be exposed to untrusted network traffic.

A heap overflow is dangerous not just because it can crash a service, but because it can sometimes be shaped into code execution or other hostile behaviour. For vulnerability records and canonical identification, readers should use the CVE Program and the NIST National Vulnerability Database alongside the vendor advisory.

Why heap-based buffer overflows are dangerous

Heap corruption is especially serious in products that process external traffic, because the attacker is often able to reach the vulnerable code remotely and repeatedly. When the flaw sits in an edge device or security gateway, exploitation can affect availability, confidentiality, and control of the appliance itself.

Memory corruption also tends to have a wider blast radius than a simple application error. A successful exploit may allow an attacker to interrupt filtering, tamper with traffic handling, or establish a foothold on a device that is trusted by the rest of the network. The CWE Top 25 Guide is useful background for understanding why buffer overflow weaknesses remain a persistent root cause class.

How organisations assess exposure and reduce risk

Exposure starts with knowing exactly where the product is deployed, whether it is internet-facing, and whether the vulnerable feature is reachable in the current configuration. Because this CVE was added to CISA’s KEV catalogue, organisations should treat it as actively exploited and prioritise confirmed inventory over theoretical exposure.

Where patching is delayed, compensating controls matter: restrict management access, limit exposure at the perimeter, remove unnecessary inbound reachability, and monitor vendor guidance for mitigations that reduce exploitability. A structured vulnerability programme helps teams distinguish simple awareness from real remediation priority, and NHIMG’s Vulnerability Management Guide is a practical reference for that workflow.

Detection, response, and post-compromise review

Because this issue was exploited in the wild, defenders should assume that exploitation attempts may have occurred before a patch was applied. Detection should therefore look for crash artefacts, abnormal process behaviour, device instability, suspicious administrative changes, and any signs that the appliance was used as an initial access point.

If exploitation is suspected, review the device as a security boundary failure rather than a routine software defect. That means checking for unauthorised configuration changes, unexpected accounts or sessions, unusual outbound connections, and evidence that the appliance was used to pivot deeper into the environment. The broader exploitation pattern is consistent with the kinds of attack paths discussed in the Breach and Attack Simulation (BAS) Guide, even though live incident response should rely on logs and forensics rather than simulation assumptions.

Risk and Threat Considerations

Internet-exposed security appliances are high-value targets because they sit in front of sensitive traffic and administrative access paths. When a heap-based overflow is reachable on such a device, the risk is not just service disruption, but possible compromise of a trusted control point that can be used for deeper network access.

Failure mechanism: Crafted input corrupts heap memory during parsing or request handling, which can crash the process or enable attacker-controlled execution depending on how the bug is triggered and what protections are present.

Impact: Successful exploitation can lead to device compromise, loss of availability, traffic interception, administrative takeover, or use of the appliance as an entry point for lateral movement inside the environment.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

CIS Controls v8, NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
CIS Controls v8CIS-7 — Continuous Vulnerability ManagementActively exploited appliance flaws require prioritized identification and remediation.
Recommendation — Prioritize and remediate exposed FortiOS instances through continuous vulnerability management.
NIST CSF 2.0GV.RM-01 — Risk Management Strategy Established and MaintainedKEV-listed exploitation changes the urgency and treatment of this vulnerability.
PR.PS-02 — Software, Hardware, Data, and Configuration Changes Are ManagedApplying vendor fixes or mitigations is a configuration-change action tied to this product flaw.
DE.CM-01 — Networks and network services are monitored to find potential cybersecurity eventsExploitation and abnormal appliance behaviour should be detectable through monitoring.
Recommendation — Classify this KEV-listed CVE as a priority risk in your remediation strategy. Apply the vendor fix or mitigation and control the change through formal release management. Monitor FortiOS appliances for crash patterns, anomalous sessions, and suspicious outbound traffic.
NIST SP 800-53 Rev 5SI-2 — Flaw RemediationThis is a remediable software weakness requiring timely flaw correction.
Recommendation — Remediate the FortiOS vulnerability promptly and verify the fix is deployed.

Practitioner Guidance

Why practitioners should care: Treat this CVE as a priority remediation item because KEV inclusion indicates real-world abuse, not just a theoretical weakness. For edge devices, delay increases the chance that an exposed appliance becomes the first step in a broader incident.

What to watch for: Validate asset inventory, confirm internet exposure, and compare deployed versions against the vendor advisory instead of relying on informal ownership records. If patching cannot happen immediately, apply the strongest available exposure reduction until the fix is in place.

Practitioner takeaway: For exploited infrastructure flaws, the right question is not whether the product is important, but whether any instance remains reachable to attackers right now.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 17, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org