Skip to main content
VulnerabilityPublished Updated

CVE-2026-6985: Cesanta Mongoose · Infinite Loop

Affects Cesanta MongooseSource CVE Database V5

0

Not known to be exploited · CVSS 6.9 Medium.

Data as of 26 Oct 2026, 09:08 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
CesantaMongooseAffected
  • =7.0
  • =7.1
  • =7.2
  • =7.3
  • =7.4
  • =7.5
  • =7.6
  • =7.7
  • =7.8
  • =7.9
  • =7.10
  • =7.11
  • =7.12
  • =7.13
  • =7.14
  • =7.15
  • =7.16
  • =7.17
  • =7.18
  • =7.19
  • =7.20
Fixed in–
GitHubcesanta/mongoosepkg:github/cesanta/mongooseOther threatsAffected
  • =7.0
  • =7.1
  • =7.2
  • =7.3
  • =7.4
  • =7.5
  • =7.6
  • =7.7
  • =7.8
  • =7.9
  • =7.10
  • =7.11
  • =7.12
  • =7.13
  • =7.14
  • =7.15
  • =7.16
  • =7.17
  • =7.18
  • =7.19
  • =7.20
Fixed in–

CPE configurations (1)

  • cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:*

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Cesanta Mongoose to version 7.21 or later, as this version contains the official fix for the vulnerability. Since the vendor has confirmed the issue is fixed, applying this update fully mitigates the risk. No additional mitigations are specified or required.

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.

References

Community reviews

Loading reviews…