Skip to main content
VulnerabilityPublished Updated

CVE-2026-57842: NetBSD · Double Free

Affects NetBSDSource CVE Database V5

0

Not known to be exploited · CVSS 7.3 High : upgrade to 9.5 soon.

Data as of 27 Oct 2026, 05:11 UTC

CVSS 4.0 base score
7.3High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 2% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 9.5
CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade NetBSD and netbsd/netbsd to 9.5.

Affected software

ProductAffectedFixed in
The NetBSD FoundationNetBSDAffected
  • >=8.0 <=8.3
  • >=9.0 <9.5
  • >=10.0 <=10.1
Fixed in
  • 9.5
Netbsdnetbsd/netbsdpkg:deb/netbsd/netbsdOther threatsAffected
  • >=8.0 <=8.3
  • >=9.0 <9.5
  • >=10.0 <=10.1
Fixed in
  • 9.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, avoid running untrusted 32-bit binaries on 64-bit NetBSD systems or calling recvmsg() with msg_iovlen values between 9 and IOV_MAX in such environments.

Description

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

Community reviews

Loading reviews…