CVE-2026-6985: A weakness has been identified in Cesanta Mongoose up to 7.20
CVE-2026-6985 is a medium-severity flaw (CVSS 5.3) affecting mongoose. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 af
Why this priority
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-6985?
mongoose: upgrade to 7.21. Exact commands for each OS are on this page.
Is CVE-2026-6985 being exploited?
CVE-2026-6985 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-6985 affect?
CVE-2026-6985 affects mongoose. Severity is medium (CVSS 5.3). 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 l
How urgent is CVE-2026-6985?
Priority 40/100. Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-5244 HIGH 7.3 UPGRADE A vulnerability has been found in Cesanta Mongoose up to 7.20
- CVE-2026-5246 MEDIUM 5.6 UPGRADE A vulnerability was determined in Cesanta Mongoose up to 7.20
- CVE-2026-5245 MEDIUM 5.6 UPGRADE A vulnerability was found in Cesanta Mongoose up to 7.20
- CVE-2026-6986 LOW 3.7 UPGRADE A security vulnerability has been detected in Cesanta Mongoose up to 7.20
- CVE-2026-42334 HIGH 7.5 UPGRADE Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment