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.
References
| Link | Resource |
|---|---|
| https://github.com/cesanta/mongoose/commit/fc79fd0be5d6058c343c29c0d73d8753529e50fc | Patch |
| https://github.com/cesanta/mongoose/releases/tag/7.24 | Release Notes |
| https://github.com/cesanta/mongoose/security/advisories/GHSA-98gp-m7jv-xcmg | Exploit Vendor Advisory |
| https://github.com/cesanta/mongoose/security/advisories/GHSA-98gp-m7jv-xcmg | Exploit Vendor Advisory |
Configurations
History
02 Dec 2026, 19:45
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:* | |
| References | () https://github.com/cesanta/mongoose/commit/fc79fd0be5d6058c343c29c0d73d8753529e50fc - Patch | |
| References | () https://github.com/cesanta/mongoose/releases/tag/7.24 - Release Notes | |
| References | () https://github.com/cesanta/mongoose/security/advisories/GHSA-98gp-m7jv-xcmg - Exploit, Vendor Advisory | |
| First Time |
Cesanta mongoose
Cesanta |
|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.5 |
01 Dec 2026, 23:17
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/cesanta/mongoose/security/advisories/GHSA-98gp-m7jv-xcmg - |
01 Dec 2026, 21:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-12-01 21:17
Updated : 2026-12-02 19:45
NVD link : CVE-2026-141470
Mitre link : CVE-2026-141470
CVE.ORG link : CVE-2026-141470
JSON object : View
Products Affected
cesanta
- mongoose
CWE
CWE-476
NULL Pointer Dereference
