Mongoose: IPv6 TCP packet can cause a null dereference while matching an IPv4 connection
CVE-2026-141470Published 1 Dec 2026, 20:28 UTC
Real-world risk
0.8/ 10Low
Routine
If the vulnerable configuration applies to you: 1.7
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.2
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
Mongoose is an embedded web server and network library. From 7.21 until 7.24, Mongoose's built-in TCP/IP stack with MG_ENABLE_TCPIP and MG_ENABLE_IPV6 enabled can dereference a null IPv4 header in getpeer() in src/net_builtin.c when rx_tcp() receives an IPv6/TCP packet whose source and destination ports match an established IPv4 connection. The cross-family lookup reaches pkt->ip->src even though only pkt->ip6 is present, allowing a network attacker able to deliver IPv6 packets to crash the process or networking task. This issue is fixed in 7.24.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| mongooseNiche | >= 7.21, < 7.24 | 7.24 |
What to do
Update to a fixed version: 7.24.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- CISA SSVC: proof of concept
- Reference tagged as exploit (link)
EPSS 1.0% chance of exploitation in 30 days (percentile 63), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.203
- Threat T3: Public proof of concept0.950
- 10 × impact 0.4 × prerequisites 0.2025 × threat 0.950.769
- Rounded to one decimal between 0.1 and 100.8
Exploitation and evidence timeline
- 1 Dec 2026 Published
- 2 Dec 2026 CISA SSVC: proof of concept first seen
- 2 Dec 2026 Reference tagged as exploit first seen
- 2 Dec 2026 Risk 0.8 (cvss fallback)
Weakness
CWE-476