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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-476"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141470.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "7.21"
},
{
"fixed": "7.24"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "fc79fd0be5d6058c343c29c0d73d8753529e50fc"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "7.24",
"range": [
{
"fixed": "91b87a6bd8568f101680d4fc0db3d8773f74eb6c"
}
],
"source": "REFERENCES_TAG"
}
]
}