{"id":"CVE-2026-141470","aliases":["CVE-2026-141470"],"related":[],"kind":"vulnerability","state":"published","title":"Mongoose: IPv6 TCP packet can cause a null dereference while matching an IPv4 connection","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-12-01T20:28:15.099Z","modified":"2026-12-01T23:17:42.683Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.2,"rating":"HIGH"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"version":">= 7.21, < 7.24","status":"affected"}],"vendor":"cesanta","product":"mongoose","source":"cvelist"}],"references":[{"url":"https://github.com/cesanta/mongoose/security/advisories/GHSA-98gp-m7jv-xcmg","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cesanta/mongoose/commit/fc79fd0be5d6058c343c29c0d73d8753529e50fc","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cesanta/mongoose/releases/tag/7.24","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-12-01T22:21:35.664Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-141470","url":"https://www.cve.org/CVERecord?id=CVE-2026-141470","licence":"CVE Terms of Use","modified":"2026-12-01T22:21:57.261Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-141470","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-141470","licence":"Public domain","modified":"2026-12-01T23:17:42.683Z"}],"updatedAt":"2026-12-01T23:32:32.866Z"}