CVE-2026-141470

Source
https://cve.org/CVERecord?id=CVE-2026-141470
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-141470.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-141470
Aliases
  • GHSA-98gp-m7jv-xcmg
Published
2026-12-01T20:28:15Z
Modified
2026-12-01T23:45:50Z
Severity
  • 8.2 (High) CVSS_V4 - 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 CVSS Calculator
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.

Database specific
{
    "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"
}
References

Affected packages

Git / github.com/cesanta/mongoose

Affected ranges

Type
GIT
Repo
https://github.com/cesanta/mongoose
Events
Database specific
Show details
{
    "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"
        }
    ]
}

Affected versions

7.*
7.21
7.22
7.23

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-141470.json"