๐Ÿ” CVE Alert

CVE-2026-57842

HIGH 7.0

NetBSD COMPAT_NETBSD32 Double Free / Use-After-Free via recvmsg() msg_iovlen

CVSS Score
7.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-415 CWE-416
Vendor the netbsd foundation
Product netbsd
Published Sep 11, 2026
Last Updated Sep 11, 2026
Stay Ahead of the Next One

Get instant alerts for the netbsd foundation netbsd

Be the first to know when new high vulnerabilities affecting the netbsd foundation netbsd are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

The NetBSD Foundation / NetBSD
8.0 โ‰ค 8.3 9.0 < 9.5 10.0 โ‰ค 10.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
gnats.netbsd.org: https://gnats.netbsd.org/60373 vulncheck.com: https://www.vulncheck.com/advisories/netbsd-compat-netbsd32-double-free-use-after-free-via-recvmsg-msg-iovlen

Credits

Tristan CLERC VulnCheck