CVE-2026-6985

Cesanta Mongoose TCP Option net_builtin.c handle_opt infinite loop

HIGH
7.5
CVSS Score
Published: April 25, 2026 at 04:15 PM UTC
Updated: October 26, 2026 at 10:10 PM UTC
1 product affected across 1 vendorMongoose

Using Mongoose by Cesanta?

Get instant alerts when new vulnerabilities affect Mongoose - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.6%
SSVC
PoC

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Vendor states this is fixed in 7.21 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (5)

VDB EntryTechnical DescriptionThird Party Advisory
Source: cverecord
https://vuldb.com/vuln/359528
SignaturePermissions RequiredVDB Entry
Source: cverecord
https://vuldb.com/vuln/359528/cti
Third Party AdvisoryVDB Entry
Source: cverecord
https://vuldb.com/submit/796230
ExploitThird Party Advisory
Source: cverecord
https://github.com/dwBruijn/CVEs/blob/main/Mongoose/TCP_opt_dos.md
PatchProductRelease Notes
Source: cverecord
https://github.com/cesanta/mongoose/releases/tag/7.21

SSVC — Action Prioritization

SSVCPoCAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-835CWE-404

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card