{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-57842 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-57842 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-57842 is a high-severity use after free vulnerability in The NetBSD Foundation NetBSD, published on 11 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-57842 and fix it if it is affected.\n\nWhat it is: CVE-2026-57842 is a high-severity use after free vulnerability in The NetBSD Foundation NetBSD, published on 11 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-57842 in the wild and no public exploit code.\n\nAffected product: The NetBSD Foundation NetBSD. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-57842/ (Markdown: https://insights.sbomify.com/CVE-2026-57842/index.md)","id":"CVE-2026-57842","markdown":"https://insights.sbomify.com/CVE-2026-57842/index.md","name":"CVE-2026-57842","record":{"aliases":["GHSA-gq6w-h4cf-wpff"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["denial_of_service","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"NetBSD OS","requires_auth":"low_privilege","summary":"Local attackers can trigger kernel memory corruption or panic via recvmsg() in the COMPAT_NETBSD32 layer, potentially leading to code execution.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-416","name":"Use After Free"},{"id":"CWE-415","name":"Double Free"}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"NetBSD COMPAT_NETBSD32 Double Free / Use-After-Free via recvmsg() msg_iovlen","id":"CVE-2026-57842","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"use_after_free","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"NetBSD mm_open() PK_KMEM Flag Kernel Pointer Information Disclosure","id":"CVE-2026-57843"},"packages":[],"prev":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.","id":"CVE-2026-57835"},"products":["NetBSD"],"published":"2026-09-11","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-01","vendors":["The NetBSD Foundation"]},"summary":"Local attackers can trigger kernel memory corruption or panic via recvmsg() in the COMPAT_NETBSD32 layer, potentially leading to code execution.","url":"https://insights.sbomify.com/CVE-2026-57842/"}