Vulnerability record · CVE-2026-6985 · published 25 April 2026
CVE-2026-6985: Cesanta mongoose improper resource shutdown vulnerability
Cesanta · Mongoose
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.
Description
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.
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/cesanta/mongoose/releases/tag/7.21 | ProductRelease Notes |
| https://github.com/dwBruijn/CVEs/blob/main/Mongoose/TCP_opt_dos.md | ExploitThird Party Advisory |
| https://vuldb.com/submit/796230 | Third Party AdvisoryVDB Entry |
| https://vuldb.com/vuln/359528 | Third Party AdvisoryVDB Entry |
| https://vuldb.com/vuln/359528/cti | Permissions RequiredVDB Entry |
Track CVE-2026-6985 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.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2026-6985), CISA KEV, FIRST EPSS (scores of 2026-10-07). This page is refreshed as NVD updates the record.