CVE-2026-57842
Last modified
CVE-2026-57842 is a high-severity vulnerability rated 7/10 on the CVSS scale. 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.. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| The NetBSD Foundation | NetBSD | >= 8.0, <= 8.3; >= 9.0, < 9.5; >= 10.0, <= 10.1 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-57842?
How severe is CVE-2026-57842?
How do I fix CVE-2026-57842?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-57831Joomla Extension - digital-peak.com - Unauthenticated blind …8.7
- CVE-2026-57832Joomla Extension - joomdonation.com - Unauthenticated blind …8.7
- CVE-2026-57833Joomla Extension - weeblr.com - Unauthenticated stored XSS i…8.6
- CVE-2026-57834Apache Traffic Server allows request smuggling if chunked me…10
- CVE-2026-57835Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-5784Improper neutralization of input during web page generation …8.8
- CVE-2026-57843NetBSD contains an information disclosure vulnerability in m…5.5
- CVE-2026-57844Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-57846Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-57847Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-57848Stoat for Android exports the chat.stoat.activities.ShareTar…6.8
- CVE-2026-5785Zohocorp ManageEngine PAM360 versions before 8531 and Manage…8.1
Are you affected by CVE-2026-57842?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
