CVE-2021-36798: Cobalt Strike Teamserver Denial of Service
- Vendor
- Helpsystems
CVE-2021-36798 is a denial-of-service vulnerability in HelpSystems Cobalt Strike Teamserver versions 4.2 and 4.3. The vulnerable server-side handling of Beacon callback task replies reads a length field without sanity checks and allocates memory directly from the attacker-controlled reply size. An attacker able to communicate with Teamserver as a Beacon can register a fake Beacon and submit crafted replies that exhaust memory, crash the web thread responsible for HTTP stagers and Beacon communications, and render Teamserver unresponsive.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation disrupts Cobalt Strike command-and-control operations. Existing Beacons can no longer communicate with Teamserver, new Beacons cannot be installed, and ongoing operations may be interrupted. The Teamserver can remain unresponsive until restarted, and it can be repeatedly targeted if it remains unpatched or its Beacon configuration is unchanged.
Mitigation
If you can’t patch tonight, do this now.
Restarting Teamserver can restore service temporarily but does not prevent repeated exploitation. Changing the Beacon configuration can prevent reuse of the affected configuration, but invalidates existing live Beacons until they are updated with the new configuration.
Remediation
Patch, then assume compromise.
Upgrade Cobalt Strike to version 4.4 or later. HelpSystems released Cobalt Strike 4.4 with a fix for CVE-2021-36798 on August 4, 2021.
Exploits
2 exploits validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-36798 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2021-36798 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2021-36798?
- Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2021-36798, the earliest disclosed Aug 19, 2021.
- Is there a patch for CVE-2021-36798?
- Upgrade Cobalt Strike to version 4.4 or later. HelpSystems released Cobalt Strike 4.4 with a fix for CVE-2021-36798 on August 4, 2021.
- What products are affected by CVE-2021-36798?
- Helpsystems Cobalt Strike.
- How severe is CVE-2021-36798?
- CVE-2021-36798 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 4.3% (92nd percentile) as of Oct 16, 2026.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.