CVE-2026-6985Cesanta Mongoose Loop with Unreachable Exit Condition (Infinite Loop)
NVD
Vulnerability Summary
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 v4.0 Base Metrics — Score 6.9 (MEDIUM)
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:PAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)None
Availability (Vulnerable System)Low
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 5.3)
CVSS v3.1 Base Metrics — Score 5.3 (MEDIUM)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:CAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityLow
Affected & Patched Versions
- Cesanta Mongoose 7.0
- Cesanta Mongoose 7.1
- Cesanta Mongoose 7.2
- Cesanta Mongoose 7.3
- Cesanta Mongoose 7.4
- Cesanta Mongoose 7.5
- Cesanta Mongoose 7.6
- Cesanta Mongoose 7.7
- Cesanta Mongoose 7.8
- Cesanta Mongoose 7.9
- Cesanta Mongoose 7.10
- Cesanta Mongoose 7.11
- Cesanta Mongoose 7.12
- Cesanta Mongoose 7.13
- Cesanta Mongoose 7.14
- Cesanta Mongoose 7.15
- Cesanta Mongoose 7.16
- Cesanta Mongoose 7.17
- Cesanta Mongoose 7.18
- Cesanta Mongoose 7.19
- Cesanta Mongoose 7.20
No patched version published yet
Until a fix ships, reduce exposure:
- Restrict access to the affected service or interface to trusted networks.
- Disable the affected feature if you do not need it.
- Watch the vendor advisory for a firmware or software update.
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run Cesanta Mongoose and which version.
- No patched version is listed yet. Limit access to the affected service to trusted networks, and disable the feature if you can.
- Subscribe to the vendor advisory so you learn when a fix ships.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Apr 25, 2026Published
- Apr 27, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Cesanta Mongoose CVEsYou are reading CVE-2026-6985. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsMore Cesanta Mongoose CVEs
External References
Data last checked: Nov 23, 2026 01:05 UTC