Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain unprivileged local shell
-
DeliveryCreate parent/child kqueue with marker knotes
-
ExploitRace thread to free marker during lock drop
-
ExecutionTrigger in-flux decrement on freed memory
-
PersistGroom heap to control freed object
-
ImpactCorrupt kernel state to escalate to root
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires pre-existing unprivileged local access to a multi-user FreeBSD 15.1-RELEASE host (before patch level p4); it cannot be triggered remotely or without an account. The specific prerequisite is the ability to create and manipulate kqueues with a parent/child relationship so that the flawed knote-copy path marks marker knotes as in-flux and drops the kqueue lock, plus a concurrently running thread that frees a marker during that window. The primary limiting factor is the race condition itself (CVSS AC:H): the attacker must win a non-deterministic timing window between lock release and the in-flux decrement, so success is probabilistic and typically needs many attempts; there is no user-interaction requirement (UI:N) and no non-default configuration needed beyond normal kqueue availability. |
| Impact | This is a genuine but moderate-priority local privilege escalation in the FreeBSD kernel kqueue subsystem, and the available signals are internally consistent rather than conflicting. The CVSS 3.1 vector (AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.0 HIGH) describes a local attacker with low (unprivileged) privileges who must win a difficult race (AC:H) to achieve total compromise - matching the description of a use-after-free triggered when a marker knote is freed by another thread while the kqueue lock is dropped. The SSVC framework corroborates this: Exploitation=none (no observed exploitation), Automatable=no (consistent with a timing-sensitive race that cannot be reliably mass-exploited), and Technical Impact=total (consistent with kernel-level C:H/I:H/A:H and root escalation). EPSS is very low at 0.14% (3rd percentile), and the vulnerability is NOT in CISA KEV - these align with the SSVC 'no exploitation, not automatable' reading, indicating no evidence of in-the-wild activity. There is no public exploit identified at time of analysis. Net assessment: this is a real, vendor-confirmed kernel UAF worth patching on multi-user FreeBSD hosts, but it is not a drop-everything emergency - exploitation requires existing local access plus winning a non-deterministic kernel race, so it is best characterized as a credible escalation primitive for an attacker who already has a foothold rather than a widely or remotely exploitable issue. |
| Exploit ScenarioDerived | An unprivileged local user on a FreeBSD 15.1-RELEASE host (before patch p4) repeatedly manipulates parent/child kqueue relationships to trigger the race where a marker knote is freed while the kqueue lock is dropped, causing an in-flux decrement on freed kernel memory. By grooming the kernel heap so the freed marker is replaced with attacker-controlled data, the user corrupts kernel state to escalate to root. No public exploit is identified at time of analysis, and the race (CVSS AC:H) makes reliable exploitation difficult and likely requiring many attempts. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 19, 2026
Local privilege escalation in the FreeBSD kernel kqueue subsystem affects FreeBSD 15.1-RELEASE before patch level p4, where a race condition in the parent-to-child knote copy path can free a marker knote and cause a use-after-free. A local user with low privileges (PR:L) may leverage this to corrupt kernel memory and potentially escalate privileges, though exploitation requires winning a high-complexity, non-deterministic timing race (AC:H). No public exploit code or confirmed active exploitation was identified at time of analysis; EPSS is low at 0.14% (3rd percentile).
RemediationAI
Vendor-released patch: FreeBSD 15.1-RELEASE p4 or later. Upgrade the affected system to FreeBSD 15.1-RELEASE p4, reboot into the patched kernel, and verify the patch level; the fix is documented in FreeBSD-SA-26:65.kqueue.asc at https://security.freebsd.org/advisories/FreeBSD-SA-26:65.kqueue.asc. Because kqueue is a core kernel facility, there is no clean way to disable the affected code path without patching; compensating controls should focus on reducing exposure to untrusted local users on multi-user hosts, such as limiting interactive shell access to trusted accounts, and monitoring for kernel panics or memory-corruption symptoms, with the trade-off that these controls do not eliminate the race condition.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FreeBSD kqueue is the kernel event notification facility, and knotes are the kernel objects that track registered events. Marker knotes are internal objects used to track list traversal position during kqueue operations. The flaw is in the code that copies knotes from a parent kqueue to a child: marker knotes were not correctly excluded before being marked in-flux and before the kqueue lock was released. If another thread freed a marker while the lock was dropped, the subsequent in-flux decrement operated on freed memory, creating a use-after-free that can corrupt kernel state. This is a race condition (CWE-362) rooted in missing synchronization around marker-knote lifetime handling, and the affected CPE is cpe:2.3:a:freebsd:freebsd:*:*:*:*:*:*:*:* with EUVD identifying FreeBSD 15.1-RELEASE before p4 as the vulnerable range.
Know when Freebsd gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Local-only (AV:L) by an unprivileged user (PR:L) winning a kernel race (AC:H) with no UI; successful root escalation yields total kernel compromise (C:H/I:H/A:H).
Primary rating from Vendor (freebsd).
CVSS VectorVendor: freebsd
Lifecycle Timeline
3DescriptionCVE.org
When copying knotes from a parent kqueue to a child, the copy code did not correctly exclude marker knotes (used internally to track list traversal position) before marking them as in-flux and releasing the kqueue lock. If another thread freed a marker while the lock was dropped, the subsequent in-flux decrement operated on freed memory.
An unprivileged local user may be able to exploit these races to escalate privileges.
Executive ViewAI
FreeBSD 15.1-RELEASE systems running builds prior to patch level p4 carry a high-severity kernel flaw (CVE-2026-58099) in the kqueue event subsystem that a logged-in local user could abuse to gain elevated privileges on the host. Because the weakness sits in the core kernel, a successful attack could undermine the isolation between users and services on any affected server, appliance, or build host, which matters most for multi-tenant, jump-host, and CI infrastructure where low-privilege accounts are commonplace. Exploitation is not currently observed and requires winning a difficult timing race, so leadership should treat this as a controlled patching priority rather than an active-incident response.
No vendor-released patch identified at time of analysis; interim mitigations include minimizing and auditing low-privilege local accounts on affected FreeBSD 15.1 hosts, restricting interactive shell access to trusted administrators, isolating multi-user systems through jails or segmentation, and monitoring for kernel crash or privilege-transition anomalies.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).
The x86-64 kernel system-call functionality in Xen 4.1.2 and earlier, as used in Citrix XenServer 6.0.2 and earlier and
The rtsol(8) and rtsold(8) programs do not validate the domain search list options provided in router advertisement mess
Server or client applications that call the SSL_check_chain() function during or after a TLS 1.3 handshake may crash due
The RFC 5011 implementation in rdata.c in ISC BIND 9.7.x and 9.8.x before 9.8.5-P2, 9.8.6b1, 9.9.x before 9.9.3-P2, and
Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to
An issue was discovered in OpenSSH 7.9. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot
The vm_map_lookup function in sys/vm/vm_map.c in the mmap implementation in the kernel in FreeBSD 9.0 through 9.1-RELEAS
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. Rated med
Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used
The Stream Control Transmission Protocol (SCTP) module in FreeBSD 9.3 before p33, 10.1 before p26, and 10.2 before p9, w
In FreeBSD 12.1-STABLE before r359565, 12.1-RELEASE before p7, 11.4-STABLE before r362975, 11.4-RELEASE before p1, and 1
EUVD-2026-101856
GHSA-f53j-rp59-76p7
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB