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…

CVE-2026-6985: Infinite Loop in Cesanta Mongoose

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

Description

CVE-2026-6985 is a medium severity vulnerability in Cesanta Mongoose versions up to 7. 20. It involves an infinite loop caused by manipulation of the optlen argument in the TCP Option Handler function handle_opt within the /src/net_builtin. c file. This flaw can be exploited remotely without authentication or user interaction. The vendor has confirmed the issue and fixed it in version 7. 21. Users are advised to upgrade to version 7. 21 to resolve this vulnerability.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/25/2026, 22:34:29 UTC

Technical Analysis

This vulnerability affects the TCP Option Handler component of Cesanta Mongoose up to version 7.20. Specifically, the handle_opt function in /src/net_builtin.c improperly handles the optlen argument, leading to an infinite loop condition. The vulnerability is remotely exploitable without privileges or user interaction. The vendor has released version 7.21 which addresses this issue. The CVSS 4.0 base score is 6.9 (medium severity), reflecting the network attack vector and low impact on availability.

Potential Impact

Successful exploitation results in an infinite loop in the affected component, potentially causing a denial of service by exhausting CPU resources. There is no indication of code execution or data compromise. The vulnerability can be triggered remotely without authentication, increasing the risk of denial of service attacks against systems running vulnerable versions of Cesanta Mongoose.

Mitigation Recommendations

Upgrade Cesanta Mongoose to version 7.21 or later, as the vendor has confirmed this version fixes the vulnerability. Since the vendor has already addressed the issue, applying this official fix is the recommended remediation. Patch status is confirmed by the vendor advisory.

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

Threat ID: 69ed416587115cfb684e5d6d

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

Last enriched: 4/25/2026, 10:34:29 PM

Last updated: 4/26/2026, 12:53:15 AM

Views: 11

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