Untriaged
Permalink
CVE-2026-57842
7.3 HIGH
- CVSS version (CVSS): 4.0
- Attack Vector (AV): Local (L)
- Attack Complexity (AC): High (H)
- Attack Requirement (AT): None (N)
- Privileges Required (PR): Low (L)
- User Interaction (UI): None (N)
- Vulnerable System Impact Confidentiality (VC): High (H)
- Vulnerable System Impact Integrity (VI): High (H)
- Vulnerable System Impact Availability (VA): High (H)
- Subsequent System Impact Confidentiality (SC): None (N)
- Subsequent System Impact Integrity (SI): None (N)
- Subsequent System Impact Availability (SA): None (N)
- Modified Attack Vector (MAV): Local (L)
- Modified Attack Complexity (MAC): High (H)
- Modified Attack Requirement (MAT): None (N)
- Modified Privileges Required (MPR): Low (L)
- Modified User Interaction (MUI): None (N)
- Modified Vulnerable System Impact Confidentiality (MVC): High (H)
- Modified Vulnerable System Impact Integrity (MVI): High (H)
- Modified Vulnerable System Impact Availability (MVA): High (H)
- Modified Subsequent System Impact Confidentiality (MSC): Negligible (N)
- Modified Subsequent System Impact Integrity (MSI): Negligible (N)
- Modified Subsequent System Impact Availability (MSA): Negligible (N)
- Safety (S): Not Defined (X)
- Automatable (AU): Not Defined (X)
- Recovery (R): Not Defined (X)
- Value Density (V): Not Defined (X)
- Vulnerability Response Effort (RE): Not Defined (X)
- Provider Urgency (U): Not Defined (X)
- Confidentiality Req. (CR): Not Defined (X)
- Integrity Req. (IR): Not Defined (X)
- Availability Req. (AR): Not Defined (X)
- Exploit Maturity (E): Not Defined (X)
Activity log
- Created suggestion
NetBSD COMPAT_NETBSD32 Double Free / Use-After-Free via recvmsg() msg_iovlen
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.
References
-
-
https://www.vulncheck.com/advisories/netbsd-compat-netbsd32-double-free-use-aft… third-party-advisory
Affected products
NetBSD
- <9.5
- =<10.1
- =<8.3
Matching in nixpkgs
pkgs.netbsd.man
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.netbsd.tic
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.netbsd.dict
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.netbsd.make
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.netbsd.misc
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.netbsd.stat
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.netbsd.mknod
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.netbsd.mtree
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.netbsd.tsort
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.netbsd.column
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.netbsd.compat
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.netbsd.config
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.netbsd.gencat
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.netbsd.getent
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.netbsd.locale
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.netbsd.lorder
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.netbsd.nbperf
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.netbsd.rpcgen
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.netbsd.getconf
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.netbsd.install
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.netbsd.libedit
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.netbsd.genassym
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.netbsd.statHook
None
pkgs.netbsd.uudecode
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.netbsd.libcurses
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.freebsd.libnetbsd
None
-
nixos-unstable -
- nixos-unstable-small 15.0.0
pkgs.netbsd.make-rules
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.netbsd.libterminfo
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.netbsd.makeMinimal
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.openbsd.makeMinimal
None
-
nixos-unstable -
- nixos-unstable-small 9.2
pkgs.netbsd.netbsdSetupHook
None
Package maintainers
-
@rhelmot Audrey Dutcher <audrey@rhelmot.io>
-
@artemist Artemis Tosini <me@artem.ist>
-
@alyssais Alyssa Ross <hi@alyssa.is>