{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "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"
              }
            ]
          },
          "events": [
            {
              "introduced": "b1c2ffe1a0aa13e3d94075b1a2c66b8b43ac9116"
            },
            {
              "fixed": "91b87a6bd8568f101680d4fc0db3d8773f74eb6c"
            },
            {
              "fixed": "fc79fd0be5d6058c343c29c0d73d8753529e50fc"
            }
          ],
          "repo": "https://github.com/cesanta/mongoose",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-98gp-m7jv-xcmg"
  ],
  "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"
  },
  "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-\u003eip-\u003esrc even though only pkt-\u003eip6 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.",
  "id": "CVE-2026-141470",
  "modified": "2026-12-01T23:45:50.184147717Z",
  "published": "2026-12-01T20:28:15.099Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141470.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/cesanta/mongoose/commit/fc79fd0be5d6058c343c29c0d73d8753529e50fc"
    },
    {
      "type": "WEB",
      "url": "https://github.com/cesanta/mongoose/releases/tag/7.24"
    },
    {
      "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Mongoose: IPv6 TCP packet can cause a null dereference while matching an IPv4 connection"
}