{"id":"CVE-2026-57842","published":"2026-09-11T13:48:13Z","modified":"2026-10-01T15:20:04Z","title":"NetBSD COMPAT_NETBSD32 Double Free / Use-After-Free via recvmsg() msg_iovlen","vendor":"The NetBSD Foundation","product":"NetBSD","tier":"tail","description":{"text":"NetBSD contains a use-after-free and double-free vulnerability in msg_recv_copyin() within the COMPAT_NETBSD32 compatibility layer due to a missing return statement before the cleanup label on the success path. Any local user able to execute a 32-bit binary on a 64-bit NetBSD system can trigger a kernel panic or memory corruption by calling recvmsg() with msg_iovlen between 9 and IOV_MAX, causing the kernel to access a freed iovec buffer and subsequently free the same allocation a second time.","provenance":"source","from":"CVE.org"},"cvss":{"score":7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00135,"percentile":0.01458,"provenance":"source"},"cwes":[{"id":"CWE-415","name":"Double Free"},{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://gnats.netbsd.org/60373","tags":["vendor-advisory","patch"]},{"url":"https://www.vulncheck.com/advisories/netbsd-compat-netbsd32-double-free-use-after-free-via-recvmsg-msg-iovlen","tags":["third-party-advisory"]}],"priority":{"score":5.2,"factors":[{"name":"EPSS percentile","points":0.29},{"name":"CVSS severity","points":4.9}]},"vendorSlug":"the-netbsd-foundation","affectedVersions":[{"vendor":"The NetBSD Foundation","product":"NetBSD","versions":[">= 8.0, <= 8.3",">= 9.0, < 9.5",">= 10.0, <= 10.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-09-11T14:56:09.344902Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-76106","exploited":false,"provenance":"source"}}