CVE-2026-141470
HIGH 8.2CVSS 4.0Mongoose: IPv6 TCP packet can cause a null dereference while matching an IPv4 connection
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.
- Published
- 1 Dec 2026
- Last modified
- 2 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-476
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.2 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | GitHub_M | CVSS 4.0 | HIGH 8.2 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cesanta | mongoosecpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:* |
>= 7.21, < 7.24 | 7.24 |
| CVE List | cesanta | mongoose | = >= 7.21, < 7.24 |
References
- https://github.com/cesanta/mongoose/commit/fc79fd0be5d6058c343c29c0d73d8753529e50fc · Patch, x_refsource_MISC
- https://github.com/cesanta/mongoose/releases/tag/7.24 · Release Notes, x_refsource_MISC
- https://github.com/cesanta/mongoose/security/advisories/GHSA-98gp-m7jv-xcmg · Exploit, Vendor Advisory, x_refsource_CONFIRM
History
- 2 Dec 2026 19:51 UTC · NVD: status Awaiting Analysis → Analyzed; affected list changed (1 entry)
- 1 Dec 2026 23:34 UTC · NVD: 1 reference added
- 1 Dec 2026 22:45 UTC · CVE List: updated (other details)
- 1 Dec 2026 21:37 UTC · NVD: first stored (published 1 Dec 2026)
- 1 Dec 2026 20:49 UTC · CVE List: first stored (published 1 Dec 2026)