{"id":"CVE-2026-141470","aliases":["GHSA-98gp-m7jv-xcmg"],"url":"https://o3.security/vulnerability/CVE-2026-141470","summary":"Mongoose: IPv6 TCP packet can cause a null dereference while matching an IPv4 connection","details":"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":"2026-12-01T20:28:15.099Z","modified":"2026-12-02T21:01:47.629502322Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[],"fix":{"url":"https://github.com/cesanta/mongoose/commit/fc79fd0be5d6058c343c29c0d73d8753529e50fc","label":"cesanta/mongoose@fc79fd0"},"references":[{"type":"WEB","url":"https://github.com/cesanta/mongoose/releases/tag/7.24"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141470.json"},{"type":"ADVISORY","url":"https://github.com/cesanta/mongoose/security/advisories/GHSA-98gp-m7jv-xcmg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-141470"},{"type":"FIX","url":"https://github.com/cesanta/mongoose/commit/fc79fd0be5d6058c343c29c0d73d8753529e50fc"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-12-02T21:01:47.629502322Z"}}