Read the docs
TI-2026-41653 Aliases CVE-2026-57842GHSA-gq6w-h4cf-wpff

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

Priority LOW 33CWE-415Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
High
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-415 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00135 3rd percentileScored 2026-11-07
Fix Fixed NetBSD (The NetBSD Foundation): 9.5

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
The NetBSD FoundationNetBSD8.0 – 8.3; 9.0 to before 9.5; 10.0 – 10.19.5Patch availableCNA
  • NetBSD VendorThe NetBSD Foundation Affected 8.0 – 8.3; 9.0 to before 9.5; 10.0 – 10.1 Fixed in 9.5 Patch available CNA

Remediation

  • Fix · CNA NetBSD (The NetBSD Foundation) Fixed in 9.5

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Advisory ·

    The NetBSD Foundation NetBSD — Patch Commit

    2 records Highest priority Priority LOW 2 LOW

    Other records, highest priority first

    • TI-2026-41654 NetBSD mm_open() PK_KMEM Flag Kernel Pointer Information DisclosurePriority LOW 29

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-57842
  2. 2026-10-03 Alias added: GHSA-gq6w-h4cf-wpff

References

  • TI-2026-38948 NetBSD hdaudio(4) Driver Privilege Bypass Use-After-Free via HDAUDIO_FGRP_SETCONFIG ioctl CVSS 4.0HIGH 7.3
  • TI-2026-41654 NetBSD mm_open() PK_KMEM Flag Kernel Pointer Information Disclosure CVSS 4.0MEDIUM 6.8

Sources