Use-After-Free and Double-Free Vulnerability in NetBSD Compatibility Layer
CVE-2026-57842

7.3HIGH

Key Information:

Status
Vendor
CVE Published:
11 September 2026

What is CVE-2026-57842?

NetBSD has a vulnerability in the COMPAT_NETBSD32 compatibility layer that enables local users executing 32-bit binaries on a 64-bit system to trigger severe issues such as kernel panics or memory corruption. This arises from improper handling of the 'msg_recv_copyin()' function, where a missing return statement permits the kernel to reference freed memory. By calling 'recvmsg()' with 'msg_iovlen' values between 9 and IOV_MAX, an attacker can exploit this flaw, leading to a potential compromise and instability in the system.

Affected Version(s)

NetBSD 8.0 <= 8.3

NetBSD 9.0 < 9.5

NetBSD 10.0 <= 10.1

References

CVSS V4

Score:
7.3
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
High
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Tristan CLERC
VulnCheck
.