CVE-2026-6985

published 25 Apr 2026 · updated 27 Apr 2026

Cesanta Mongoose TCP Option net_builtin.c handle_opt infinite loop

6.3MediumCVSS 5.3EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Cesanta=7.0, =7.1, =7.10, =7.11, =7.12, =7.13, =7.14, =7.15, =7.16, =7.17, =7.18, =7.19, =7.2, =7.20, =7.3, =7.4, =7.5, =7.6, =7.7, =7.8, =7.9

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-6985 severity on Zeptric[![CVE-2026-6985](https://zeptric.io/badge/cve/CVE-2026-6985.svg)](https://zeptric.io/cve/CVE-2026-6985)