Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach device on built-in TCP/IP stack
-
DeliverySend TCP segment with malformed option length
-
ExploitParser reads past option buffer (CWE-20)
-
ExecutionNetworking stack crash/hang
-
ImpactDenial of service on embedded device
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation requires that the target build enables and uses Mongoose's built-in (bare-metal/RTOS) TCP/IP stack - the vulnerable |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) describes a network-reachable, unauthenticated, low-complexity flaw with a pure availability impact (C:N/I:N) - i.e. a remote denial of service, not data compromise. The source diff confirms this: the fix adds a missing bound check ( |
| Exploit ScenarioDerived | An attacker who can reach a device running Mongoose's built-in TCP/IP stack sends a TCP segment containing a malformed TCP option whose declared length exceeds the actual option data. The vulnerable |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 14, 2026
A malformed TCP option parsing flaw in Cesanta Mongoose's built-in TCP/IP stack (net_builtin.c) lets a remote, unauthenticated attacker cause a denial of service by sending a crafted TCP segment whose option length byte exceeds the remaining option buffer. Only builds that use Mongoose's bare-metal/RTOS internal network stack are affected - deployments that hand TCP handling to the host operating system's stack are not reachable through this code path. The issue is fixed in Mongoose 7.23; no public exploit code or confirmed active exploitation was identified at time of analysis, though the flaw carries a CVSS 3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
Earlier versions of this analysis (1)
Malformed TCP option handling in the Linux kernel's built-in TCP/IP stack may allow remote attackers to trigger undefined behavior when processing crafted TCP packets with invalid or unexpected option fields. Reported by Ubuntu vendor channels, this affects the in-kernel network stack used by all Ubuntu Linux distributions. No CVSS score, CWE classification, patch version, or exploitability data has been published at time of analysis, making definitive impact assessment impossible - treat as a network-accessible kernel flaw until vendor advisory clarifies scope.
RemediationAI
Upgrade Mongoose to version 7.23 or later, which contains the vendor-released patch; the fix is the added option-length bound check in handle_opt() and is captured in the 7.23 release tag and commit cc7c6d2d18c28fcc6d085633dddd88402946140a, so backporting just that condition into a downstream fork is also viable where a full library upgrade is disruptive. Confirm the updated sources are used in both components - src/net_builtin.c and the regenerated mongoose.c amalgamation - since patching only one leaves the other exposed. Review the vendor advisory at https://github.com/cesanta/mongoose/security/advisories/GHSA-3fmr-92g4-wchx for any build-configuration guidance. If immediate upgrade is not possible, the most effective compensating control is to avoid the built-in stack entirely and route TCP handling through the host OS or an external validated stack where the platform allows it, which removes the vulnerable code path but costs the portability benefits of Mongoose's internal networking. Restricting network reachability to the affected listening port with firewall rules, segmentation, or an application-layer gateway limits exposure to attackers who can already reach the device, at the cost of reduced remote-management flexibility. Note that because the flaw requires only a single malformed TCP option, packet-filtering rules would need to inspect TCP option fields, which typical stateless ACLs do not do; a patched build or changed stack is the reliable remedy.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Mongoose is a lightweight embedded networking library that optionally ships its own TCP/IP implementation for bare-metal and RTOS environments where no OS network stack is available. The vulnerable routine, handle_opt() in src/net_builtin.c (mirrored into the amalgamated mongoose.c), walks the TCP options field of an incoming segment and validates each option's length. The original check only rejected options where the length byte was less than 2 or equal to zero, so a segment declaring an option length larger than the number of bytes actually present in the options buffer (opts[1] > len) passed validation and drove the parser past the end of the option data. The upstream commit cc7c6d2d18c28fcc6d085633dddd88402946140a adds the missing bounds check (opts[1] > len) and rejects the packet. This is an input-validation defect in the CWE-20 family: untrusted network input is not constrained to the expected length contract before use. The assessed vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) describes a network-reachable, unauthenticated, low-complexity issue with strictly availability impact - no confidentiality or integrity loss is assessed - and the attacker requires only network reachability to a listening device plus the ability to emit a TCP segment carrying the crafted option. Although the supplied tags mention 'Information Disclosure', the authoritative assessment and CVSS vector indicate denial of service rather than data exposure, and the coded fix is a bounds check that prevents out-of-range parsing.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Remote unauthenticated attacker sends a malformed TCP option with no user interaction (AV:N/AC:L/PR:N/UI:N); impact is a crash/DoS only, so C:N/I:N/A:H, scope unchanged.
Primary rating from Vendor (vendor:ubuntu).
CVSS VectorVendor: vendor:ubuntu
Lifecycle Timeline
4DescriptionCVE.org
[Built-in TCP/IP malformed TCP option handling]
Executive ViewAI
Cesanta Mongoose 7.23 addresses a high-severity denial-of-service flaw in the library's built-in TCP/IP stack that can be triggered by any remote, unauthenticated party able to reach a vulnerable device over the network. Only products that run Mongoose's bare-metal/RTOS internal network stack are exposed - these are typically embedded and IoT devices where a crash means loss of the device's core function until manual recovery. Because such devices often sit in operational, industrial, or customer-facing environments and are hard to restart at scale, leadership should treat remediation as an availability and business-continuity matter rather than a routine library upgrade.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-101598
NVD
CVE.org
EPSS
GitHub
Exploit-DB