PT-2026-89874 · Netbsd Foundation · Netbsd

·

CVE-2026-57842

·

Published

2026-09-11

·

Updated

2026-09-11

CVSS v3.1

7.0

High

VectorAV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
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.

Fix

Use After Free

Double Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-57842

Affected Products

Netbsd