{"id":"JLSEC-2026-2421","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.","modified":"2026-12-04T20:00:02.696450085Z","published":"2026-12-04T19:49:13.191Z","upstream":["CVE-2026-141470","EUVD-2026-140702"],"database_specific":{"license":"CC-BY-4.0","sources":[{"id":"CVE-2026-141470","imported":"2026-12-03T21:20:36.287Z","modified":"2026-12-02T19:45:39.793Z","published":"2026-12-01T21:17:10.833Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-141470","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-141470","database_specific":{"status":"Analyzed"},"affected":{"cesanta:mongoose":["\u003e= 7.21, \u003c 7.24"]}},{"published":"2026-12-01T20:28:15Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-140702","html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-140702","affected":{"Cesanta:Mongoose":["7.21, \u003c 7.24"]},"id":"EUVD-2026-140702","imported":"2026-12-03T21:20:36.289Z","modified":"2026-12-01T22:21:57Z"}]},"references":[{"type":"WEB","url":"https://github.com/cesanta/mongoose/commit/fc79fd0be5d6058c343c29c0d73d8753529e50fc"},{"type":"WEB","url":"https://github.com/cesanta/mongoose/releases/tag/7.24"},{"type":"WEB","url":"https://github.com/cesanta/mongoose/security/advisories/GHSA-98gp-m7jv-xcmg"}],"affected":[{"package":{"name":"Mongoose_jll","ecosystem":"Julia","purl":"pkg:julia/Mongoose_jll?uuid=0a8a3f5b-4c0e-5906-8e29-5b3fee15539c"},"ranges":[{"type":"SEMVER","events":[{"introduced":"7.21.0+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-2421.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"NVD"},{"type":"CVSS_V4","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"CNA"}]}