7.5

CVE-2026-6985: Cesanta Mongoose TCP Option net_builtin.c handle_opt infinite loop

Analyzed
AliasesUBUNTU-CVE-2026-6985DEBIAN-CVE-2026-6985
Published 25-04-2026Last modified 27-04-2026

Vulnerability summary

CVE-2026-6985 is a high (CVSS 7.5) Improper Resource Shutdown or Release vulnerability in cesanta mongoose. EPSS estimates a 0.56% chance of exploitation in the next 30 days, higher than 47.8% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
0.56%
0%100%
Low · -0.36 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Timeline

  1. 25-04-2026
    PublishedVulnerability first disclosed.
  2. 27-04-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

10 scores · 4 sources · 4 versions

EPSS trend

Probability

0.56%

Chance of exploitation in the next 30 days

Percentile

48%

Versus all other CVEs

30-day change

Decrease -0.36 pp

From 0.92% on 21-10-2026

21-10-202620-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Cves

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Cesanta1 product
  • mongoose7.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.0, < 7.21
Debian1 product
  • swupdateAll versions (No fix recorded) | < 2025.12+dfsg-10
Ubuntu1 product
  • swupdateAll versions (No fix recorded)

3 vendors · 3 products

References

8 links