CVE-2026-6985
published medium CVSS 4.0 · 6.9Cesanta Mongoose TCP Option net_builtin.c handle_opt infinite loop
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Cesanta | — | Mongoose7.0 (affected) · 7.1 (affected) · 7.2 (affected) · 7.3 (affected) · 7.4 (affected) · 7.5 (affected) · 7.6 (affected) · 7.7 (affected) · 7.8 (affected) · 7.9 (affected) · 7.10 (affected) · 7.11 (affected) · 7.12 (affected) · 7.13 (affected) · 7.14 (affected) · 7.15 (affected) · 7.16 (affected) · 7.17 (affected) · 7.18 (affected) · 7.19 (affected) · 7.20 (affected) · 7.21 (unaffected) | Version-specific | Not stated | VulDB |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulDB · cna | 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 | — |
| 3.0 | 5.3 | medium | VulDB · cna | 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 | — |
| 2.0 | 5.0 | medium | VulDB · cna | AV:N/AC:L/Au:N/C:N/I:N/A:P/E:POC/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Cesanta | Mongoose | 7.0 (affected)7.1 (affected)7.2 (affected)7.3 (affected)7.4 (affected)7.5 (affected)7.6 (affected)7.7 (affected)7.8 (affected)7.9 (affected)7.10 (affected)7.11 (affected)7.12 (affected)7.13 (affected)7.14 (affected)7.15 (affected)7.16 (affected)7.17 (affected)7.18 (affected)7.19 (affected)7.20 (affected)7.21 (unaffected) | VulDB · cna |
Weaknesses
2- CWE-835 Infinite Loop
- CWE-404 Denial of Service
References
5- https://github.com/cesanta/mongoose/releases/tag/7.21
- https://github.com/dwBruijn/CVEs/blob/main/Mongoose/TCP_opt_dos.md
- Submit #796230 | Cesanta Mongoose 7.20 Denial of Service https://vuldb.com/submit/796230
- VDB-359528 | Cesanta Mongoose TCP Option net_builtin.c handle_opt infinite loop https://vuldb.com/vuln/359528
- VDB-359528 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/359528/cti
Provider assertions
2VulDB · cna
Cesanta Mongoose TCP Option net_builtin.c handle_opt infinite loop
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6ea7941fa54084886be7fe98e07b5c218c21671c43a44ad5d16429eb47a5682a
- Ingested
- 23 Sep 2026, 09:28:47 UTC
- Source record
- Official CVE record