CVE-2026-6985 PUBLISHED

Cesanta Mongoose TCP Option net_builtin.c handle_opt infinite loop

Assigner: VulDB
Reserved: 24.04.2026 Published: 25.04.2026 Updated: 25.04.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 6.9

Product Status

Vendor Cesanta
Product Mongoose
Versions
  • Version 7.0 is affected
  • Version 7.1 is affected
  • Version 7.2 is affected
  • Version 7.3 is affected
  • Version 7.4 is affected
  • Version 7.5 is affected
  • Version 7.6 is affected
  • Version 7.7 is affected
  • Version 7.8 is affected
  • Version 7.9 is affected
  • Version 7.10 is affected
  • Version 7.11 is affected
  • Version 7.12 is affected
  • Version 7.13 is affected
  • Version 7.14 is affected
  • Version 7.15 is affected
  • Version 7.16 is affected
  • Version 7.17 is affected
  • Version 7.18 is affected
  • Version 7.19 is affected
  • Version 7.20 is affected
  • Version 7.21 is unaffected

Credits

  • dwbruijn (VulDB User) reporter
  • VulDB CNA Team coordinator

References

Problem Types

  • Infinite Loop CWE
  • Denial of Service CWE