CVE-2026-141470
JSON

8.2high

Mongoose: IPv6 TCP packet can cause a null dereference while matching an IPv4 connection

Severity
8.2high CVSS:4.0 by GitHub_M
Published
Last changed
Assigned by
GitHub_M

Description

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.

Affected

Product or packageVersionsReported by
cesanta mongoose>= 7.21, < 7.24CVE List

Classification

CWE-476

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-141470 changed 2026-12-01CVE Terms of Use
NVDCVE-2026-141470 changed 2026-12-01Public domain