Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-6985 EUVD-2026-25661GHSA-3ppf-435x-3p66

Cesanta Mongoose TCP Option net_builtin.c handle_opt infinite loop

Published Apr 25, 2026 · Updated Apr 27, 2026 · Assigned by VulDB

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.

Affected products

VendorProductAffectedFixed
Cesanta Mongoose 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 7.21

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 swupdate 2025.12+dfsg-10 —
Debian 13 swupdate No fix yet —
Debian 12 swupdate No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 swupdate No fix yet —
Ubuntu 26.04 LTS swupdate No fix yet —
Ubuntu 25.10 swupdate No fix yet —
Ubuntu 24.04 LTS swupdate No fix yet —
Ubuntu 22.04 LTS swupdate No fix yet —

References