Vulnerability in Cesanta Mongoose
CVE-2026-6985
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.006, 47.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Cesanta Mongoose — versions 7.0, 7.1, 7.2
Weakness classification (CWE)
References
- VDB-359528 | Cesanta Mongoose TCP Option net_builtin.c handle_opt infinite loop (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-359528 | CTI Indicators (IOB, IOC, TTP, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #796230 | Cesanta Mongoose 7.20 Denial of Service (Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/dwBruijn/CVEs/blob/main/Mongoose/TCP_opt_dos.md (Exploit, Third Party Advisory, exploit)
- github.com/cesanta/mongoose/releases/tag/7.21 (Product, Release Notes, patch)