Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 55%

CVE-2026-6985: Infinite Loop in Cesanta Mongoose

0
Medium
VulnerabilityCVE-2026-6985cvecve-2026-6985gcvecwe-835cwe-404
Published: Sat Apr 25 2026 (04/25/2026, 16:15:13 UTC)
Source: CVE Database V5
Vendor/Project: Cesanta
Product: Mongoose

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 v4.0

Score 6.9medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

Affected versions
=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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/03/2026, 07:27:49 UTC

Technical Analysis

This vulnerability affects the handle_opt function in the /src/net_builtin.c file of Cesanta Mongoose versions 7.0 through 7.20. Manipulating the optlen argument leads to an infinite loop, potentially causing a denial of service. The vulnerability is remotely exploitable without privileges or user interaction. The vendor has confirmed the fix is included in version 7.21. The CVSS 4.0 base score is 6.9 (medium severity), reflecting network attack vector, low complexity, no privileges required, no user interaction, and limited impact on availability.

Potential Impact

Successful exploitation results in an infinite loop condition that can cause denial of service by exhausting processing resources. There is no indication of code execution or data compromise. The vulnerability can be triggered remotely without authentication, making affected systems susceptible to disruption.

Mitigation Recommendations

Upgrade Cesanta Mongoose to version 7.21 or later, as this version contains the official fix for the vulnerability. Since the vendor has confirmed the issue is fixed, applying this update fully mitigates the risk. No additional mitigations are specified or required.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulDB
Date Reserved
2026-04-24T19:12:47.755Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null
Epss Score
0.00042
Epss Percentile
0.12716
Epss Date
2026-04-26
Gcve Source
db.gcve.eu

Threat ID: 69ed416587115cfb684e5d6d

Added to database: 4/25/2026, 10:34:13 PM

Last enriched: 5/3/2026, 7:27:49 AM

Last updated: 6/10/2026, 5:40:21 PM

Views: 104

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses