Home / Cesanta / Mongoose / CVE-2026-6985
CVE-2026-6985: is it exploited, and which versions of Cesanta Mongoose are affected and fixed?
CVE-2026-6985 is an infinite loop (denial of service) vulnerability in Cesanta Mongoose. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: Mongoose 7.0, Mongoose 7.1, Mongoose 7.2 and 18 more (CVE record by VulDB). Fixed in 7.21 (CVE record by VulDB). Severity: Medium (6.9, CVSS 4.0, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-6985?
Cesanta Mongoose TCP Option net_builtin.c handle_opt infinite loop
A weakness has been identified in Cesanta Mongoose up to 7.20. This vulnerability affects the function handle_opt of the file /src/net_builtin.c of the component TCP Option Handler. This manipulation of the argument optlen causes infinite loop. The attack is possible to be carried out remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 7.21 is able to resolve this issue. Upgrading the affected component is advised. VulDB has contacted the vendor early and they confirmed quickly, that this issue got fixed already.
From the CVE record by VulDB, last updated April 27, 2026, 12:35 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Cesanta | Mongoose | 7.0 7.1 7.2 7.3 7.4 7.5 7.6 7.7 7.8 7.9 7.10 7.11 and 9 more ranges | 7.21 |
As the CVE record by VulDB states it, last updated April 27, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| cesanta | mongoose | from 7.0 before 7.21 | application |
NVD analysis (status Analyzed), last modified October 26, 2026, 22:10 UTC.
How severe is CVE-2026-6985?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.9 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P | VulDB |
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C | VulDB |
| Medium 5.3 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C | VulDB |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P/E:POC/RL:OF/RC:C | VulDB |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-6985 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, April 27, 2026)
- EPSS
- 0.59% probability of exploitation activity in the next 30 days, percentile 49.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- VDB-359528 | Cesanta Mongoose TCP Option net_builtin.c handle_opt infinite loop vdb-entry, technical-description
- VDB-359528 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #796230 | Cesanta Mongoose 7.20 Denial of Service third-party-advisory
- https://github.com/dwBruijn/CVEs/blob/main/Mongoose/TCP_opt_dos.md exploit
- https://github.com/cesanta/mongoose/releases/tag/7.21 patch
Who found and reported it?
- dwbruijn (VulDB User) (reporter)
- VulDB CNA Team (coordinator)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 24, 2026
- Published
- April 25, 2026, 16:15 UTC
- CVE record updated
- April 27, 2026, 12:35 UTC by VulDB
- NVD
- Analyzed, last modified October 26, 2026, 22:10 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Mongoose?
- Dec 1, 2026CVE-2026-141511 cesanta mongoose: out-of-bounds read
- Dec 1, 2026CVE-2026-141510 cesanta mongoose: HTTP request smuggling
- Dec 1, 2026CVE-2026-141472 cesanta mongoose: out-of-bounds read
- Dec 1, 2026CVE-2026-141471 cesanta mongoose: improper certificate validation
- Dec 1, 2026CVE-2026-141470 cesanta mongoose: NULL pointer dereference (crash)
- Nov 20, 2026CVE-2026-134170 cesanta mongoose: improper array index validation
- Nov 20, 2026CVE-2026-134171 cesanta mongoose: improper Handling of Length Parameter Inconsistency
- Nov 20, 2026CVE-2026-106024 cesanta mongoose: improper Enforcement of Behavioral Workflow
Questions about CVE-2026-6985
Is CVE-2026-6985 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 0.59% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Cesanta Mongoose are affected by CVE-2026-6985?
Mongoose 7.0, Mongoose 7.1, Mongoose 7.2, Mongoose 7.3, Mongoose 7.4, Mongoose 7.5 and 15 more, per the CVE record by VulDB. The tables above give every range the sources list.
Which version fixes CVE-2026-6985?
7.21, per the CVE record by VulDB. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-6985?
Medium (6.9, CVSS 4.0, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2026-6985?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.