Skip to main content

CVE-2026-57843: Incorrect Permission Assignment for Critical Resource in The NetBSD Foundation NetBSD

0
Medium
VulnerabilityCVE-2026-57843cvecve-2026-57843
Published: 09/11/2026 (09/11/2026, 13:50:32 UTC)
Source: CVE Database V5
Vendor/Project: The NetBSD Foundation
Product: NetBSD

Description

NetBSD has an information disclosure vulnerability in the mm_open() function in sys/dev/mm.c. This flaw allows unprivileged local users to obtain real kernel virtual addresses by opening world-accessible devices like /dev/null or /dev/zero. These devices incorrectly receive the PK_KMEM process flag, enabling attackers to bypass the CANSEE_KPTR obfuscation mechanism. Exploitation can reveal sensitive kernel structures such as struct proc, kauth_cred, filedesc, and vmspace via sysctl KERN_PROC queries. The vulnerability affects NetBSD versions from 9.0 up to but not including 9.5, and versions 10.0 through 10.1 inclusive. The CVSS 4.0 base score is 6.8, indicating medium severity.

CVSS v4.0

Score 6.8medium

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Affected software

The NetBSD Foundation

NetBSD

Affected versions
>=9.0 <9.5>=10.0 <=10.1
netbsd/netbsd
pkg:deb/netbsd/netbsd
Affected versions
>=9.0 <9.5>=10.0 <=10.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/11/2026, 14:17:58 UTC

Technical Analysis

CVE-2026-57843 is an information disclosure vulnerability in NetBSD's mm_open() function within sys/dev/mm.c. The issue arises because world-accessible devices like /dev/null and /dev/zero are incorrectly assigned the PK_KMEM process flag. This misconfiguration allows unprivileged local users to bypass the CANSEE_KPTR kernel pointer obfuscation mechanism and read real kernel virtual addresses. Sensitive kernel structures such as struct proc, kauth_cred, filedesc, and vmspace can be accessed via sysctl KERN_PROC queries. The vulnerability affects NetBSD versions >=9.0 <9.5 and >=10.0 <=10.1. No known exploits are reported in the wild. The CVSS 4.0 score is 6.8, reflecting a medium severity local attack with low complexity and no user interaction required.

Potential Impact

Unprivileged local users can obtain real kernel virtual addresses, bypassing kernel pointer obfuscation protections. This information disclosure could aid attackers in further attacks that rely on knowledge of kernel memory layout. However, the vulnerability does not allow privilege escalation or remote exploitation directly. The impact is limited to local information disclosure of sensitive kernel structures.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the available data. Until a patch is available, restrict local access to the affected devices and consider limiting access to sysctl KERN_PROC queries to trusted users only.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-06-25T18:48:00.281Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6aa409f591cc7f38483f6990

Added to database: 09/11/2026, 14:02:29 UTC

Last enriched: 09/11/2026, 14:17:58 UTC

Last updated: 09/11/2026, 16:31:39 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses