Skip to main content

Mongoose CVE-2026-73261

| EUVDEUVD-2026-101598 HIGH
Improper Input Validation (CWE-20)
2026-08-14 vendor:ubuntu
7.5
CVSS 3.1 · Vendor: vendor:ubuntu
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach device on built-in TCP/IP stack
  2. Delivery
    Send TCP segment with malformed option length
  3. Exploit
    Parser reads past option buffer (CWE-20)
  4. Execution
    Networking stack crash/hang
  5. Impact
    Denial 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 handle_opt() TCP-option parser in net_builtin.c - rather than a host operating system's TCP/IP stack; deployments relying on an OS stack are not affected. Within that configuration, no authentication or user interaction is needed (PR:N/UI:N): the attacker only needs network reachability to the listening device and the ability to send a TCP segment carrying a crafted malformed TCP option (length byte exceeding the option buffer). The primary limiting factors are therefore the built-in-stack deployment mode and network reachability to the embedded target; versions 7.23 and later are patched.

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 (opts[1] > len) in handle_opt() for TCP option parsing, so a malformed option length that exceeds the remaining buffer previously led to out-of-bounds reading / parser misbehavior consistent with CWE-20 and an availability-only impact. No EPSS score, SSVC decision, KEV listing, or POC was provided in the input, so exploitation status is 'no public exploit identified at time of analysis'; the only public artifact is the vendor patch/commit, which is remediation, not an exploit. A notable conflict exists: the input Tag says 'Information Disclosure', which directly contradicts the CVSS impact metrics (C:N) and the DoS-shaped patch - treat the tag as mislabeled. Net assessment: a legitimate remotely-triggerable crash/DoS, but it is gated on the target actually using Mongoose's built-in (bare-metal/RTOS) TCP/IP stack rather than a host OS stack, which materially narrows real-world exposure below what a raw 7.5 suggests.

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 handle_opt() parser fails to validate this, causing out-of-bounds processing that crashes or hangs the networking stack and denies service to the embedded device. No public exploit was identified in the provided data, though the fixing commit publicly reveals the exact missing length check.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Aug 14, 2026 - 22:39

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

Mongoose < 7.23

Affected Packages

euvd mongoose fix: 7.23

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

Vendor (vendor:ubuntu) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 7.5 HIGH

Primary rating from Vendor (vendor:ubuntu).

CVSS VectorVendor: vendor:ubuntu

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
Analysis Updated
Oct 14, 2026 - 23:12 vuln.today
v2 - CVSS changed
Patch available
Oct 14, 2026 - 20:34 EUVD
CVSS changed
Oct 14, 2026 - 19:23 NVD
7.5 (HIGH)
CVE Published
Aug 14, 2026 - 00:00 cve.org
MEDIUM

DescriptionCVE.org

[Built-in TCP/IP malformed TCP option handling]

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 73% exploitable
Prevalence
Medium
popular embedded networking library, but built-in TCP/IP stack is an opt-in mode
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy