Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain position as PPP link peer
-
ExploitSend crafted IPV6CP option packet
-
ExecutionTrigger heap overflow in PPP parser
-
ImpactCorrupt memory for code execution or crash
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target to be built with and running Mongoose's built-in/bare-metal TCP/IP stack (mg_tcpip) with the PPP link-layer driver enabled - this is NOT the default configuration for the common use of Mongoose as an HTTP/web server library on an OS with its own TCP/IP stack. The attacker must be the remote peer on the PPP link (e.g. the serial/modem/cellular counterpart), per AV:A, and sends an IPV6CP option whose declared length is below sizeof(*ipv6cp), hitting the missing lower-bounds check. Limiting factors: adjacent-network/link-layer position is mandatory (not internet-routable), the vulnerable PPP feature must be compiled in and active, and only versions before 7.23 are affected; no authentication or user interaction is required once the attacker holds the link-peer position. |
| Impact | This is a genuine high-priority issue for the specific population that uses Mongoose's built-in TCP/IP stack, but its blast radius is narrower than the 8.8 score suggests in isolation. The NVD CVSS 3.1 vector (AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) indicates an adjacent-network, low-complexity, unauthenticated heap overflow (CWE-122) with full confidentiality, integrity and availability impact - consistent with memory corruption leading to potential remote code execution or crash on an embedded device. The vector is internally consistent with the source evidence: the fix adds a missing lower-bounds check (len < sizeof(*ipv6cp)) in the PPP IPV6CP (and LCP/IPCP) option parser, confirming an attacker-controlled length field drives an out-of-bounds condition. AV:A rather than AV:N is correct because PPP is a point-to-point link-layer protocol, so the attacker must be on the PPP link (e.g. a serial/modem/cellular peer), not an arbitrary internet host - this materially reduces real-world exposure. No EPSS score, no CISA KEV listing, and no public exploit were provided in the input, so exploitation status is: no public exploit identified at time of analysis. The combination of high technical impact but adjacent-only reach and a niche optional feature means this warrants prompt patching for affected embedded deployments but is not a mass-exploitation internet-facing emergency. |
| Exploit ScenarioDerived | An attacker positioned as the peer on a PPP link (for example a malicious or compromised modem/cellular/serial counterpart) to a device running Mongoose's built-in TCP/IP stack sends a crafted IPV6CP configuration packet whose option length field is smaller than the expected header size. The missing lower-bounds check causes an out-of-bounds/heap overflow in the PPP option parser, corrupting memory to crash the device or potentially achieve code execution. No public exploit was identified at time of analysis, and exploitation requires the attacker to already be the link peer. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 14, 2026
Heap-based buffer overflow in Cesanta Mongoose before 7.23, in the built-in TCP/IP stack's PPP link-layer option parser for IPv6CP, allows the remote peer on a PPP link to corrupt heap memory when it sends an IPv6CP option whose declared length is shorter than the structure the parser expects. The bug is reachable only when Mongoose's bare-metal TCP/IP driver (mg_tcpip) is compiled in with the PPP link-layer enabled, so typical deployments that use Mongoose as an HTTP/web server library on top of the operating system's own TCP/IP stack are not exposed. The vendor has released version 7.23 containing the fix; no public exploit code and no confirmed active exploitation were identified at time of analysis, though the adjacent-link attack surface and lack of authentication (CVSS PR:N) keep the issue high priority for embedded/cellular and modem-gateway users.
Earlier versions of this analysis (1)
CVE-2026-63626 concerns a bounds-checking deficiency in the built-in TCP/IP stack's PPP (Point-to-Point Protocol) IPV6CP option parsing code in the Linux kernel, as reported by Ubuntu's vendor security team. IPV6CP is the IPv6 Control Protocol negotiated during PPP link establishment; a flaw in parsing its options could allow malformed input to exceed expected memory boundaries. No CVSS score, vector, or CWE classification has been published at time of analysis, leaving severity and exploitability unconfirmed.
RemediationAI
Vendor-released patch: upgrade to Mongoose 7.23, which contains the added lower-bound length validation in ppp_handle_lcp, ppp_handle_ipcp and ppp_handle_ipv6cp (see https://github.com/cesanta/mongoose/releases/tag/7.23 and the upstream advisory https://github.com/cesanta/mongoose/security/advisories/GHSA-pc66-j6r6-49x9). If an immediate upgrade is not feasible, the most effective compensating control is to compile out the PPP link-layer / disable the bare-metal mg_tcpip stack path on any firmware that does not genuinely need PPP (for example build with the PPP option disabled), at the cost of losing PPP-based connectivity entirely; alternatively apply the three-line lower-bound check from commit 751f14742dea934bec08a507ab1fecc3673d4903 as a backport in src/l2_ppp.c and the amalgamated mongoose.c, accepting the maintenance burden of a downstream patch. Where PPP must stay enabled, restrict the serial/modem/cellular link so that only a trusted counterpart can become the PPP peer (physical port protection, dedicated point-to-point links, or a modem that rejects unsolicited peer attachment), which shrinks but does not eliminate the AV:A attack surface. No public exploit was identified, so there is no data supporting exploit-specific signature detection; treat any anomalous or truncated IPV6CP/LCP/IPCP control frames on the PPP link as suspicious and monitor for crashes or heap corruption in the process hosting Mongoose.
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 C networking library that can either run on an OS TCP/IP stack or supply its own bare-metal stack (mg_tcpip). CVE-2026-63626 is a heap-based buffer overflow (CWE-122) in src/l2_ppp.c, the PPP link-layer implementation of that built-in stack. PPP peers negotiate link and network options using LCP, IPCP and IPV6CP control packets, each of which carries length-prefixed TLVs. The affected function ppp_handle_ipv6cp validated only the upper bound (len > ipv6cpsz) and omitted the lower bound (len < sizeof(*ipv6cp)), so a truncated IPv6CP option caused the parser to read and process fields beyond the end of the received buffer, producing a heap over-read that can escalate to heap corruption and code execution in the library's memory space. The vendor fix commit 751f14742dea934bec08a507ab1fecc3673d4903 adds the missing lower-bound checks symmetrically to ppp_handle_lcp, ppp_handle_ipcp and ppp_handle_ipv6cp in both src/l2_ppp.c and the amalgamated mongoose.c, confirming the same length-validation defect class across all three PPP negotiation handlers even though this CVE is scoped to the IPv6CP path.
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:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
PPP is a point-to-point link so AV:A not AV:N; attacker-controlled length field needs no auth or interaction (PR:N/UI:N/AC:L); heap overflow yields potential RCE giving C/I/A:H.
Primary rating from Vendor (vendor:ubuntu).
CVSS VectorVendor: vendor:ubuntu
Lifecycle Timeline
4DescriptionCVE.org
[Built-in TCP/IP PPP IPV6CP option parsing bounds check]
Executive ViewAI
Cesanta Mongoose versions prior to 7.23 contain a heap-based buffer overflow in the PPP IPv6CP option parser of its bare-metal TCP/IP stack. Only deployments that compile the mg_tcpip driver with PPP link-layer support are exposed, which typically includes embedded cellular and modem-gateway products. An unauthenticated peer on the same PPP link could corrupt memory and potentially achieve code execution, making this a high-priority update for organizations with such devices in the field.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
EUVD-2026-101599
NVD
CVE.org
EPSS
GitHub
Exploit-DB