Skip to main content

FreeBSD Kernel EUVDEUVD-2026-101856

| CVE-2026-58099 HIGH
Race Condition (CWE-362)
2026-10-15 freebsd GHSA-f53j-rp59-76p7
7.0
CVSS 3.1 · Vendor: freebsd
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain unprivileged local shell
  2. Delivery
    Create parent/child kqueue with marker knotes
  3. Exploit
    Race thread to free marker during lock drop
  4. Execution
    Trigger in-flux decrement on freed memory
  5. Persist
    Groom heap to control freed object
  6. Impact
    Corrupt 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

FreeBSD 15.1-RELEASE <p4

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

Vendor (freebsd) PRIMARY 7.0 HIGH
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

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).

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (freebsd).

CVSS VectorVendor: freebsd

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
CVSS changed
Oct 19, 2026 - 15:23 NVD
7.0 (HIGH)
CVE Published
Oct 15, 2026 - 06:31 cve.org
HIGH 7.0
CVE Published
Oct 15, 2026 - 06:31 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

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

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Medium
FreeBSD is common in appliances, CDNs, and storage but far less deployed than Linux
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
Medium
Technical Impact
Total

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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).

CVE-2012-0217 HIGH POC
7.2 Jun 12

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

CVE-2025-14558 HIGH POC
7.2 Mar 09

The rtsol(8) and rtsold(8) programs do not validate the domain search list options provided in router advertisement mess

CVE-2020-1967 HIGH POC
7.5 Apr 21

Server or client applications that call the SSL_check_chain() function during or after a TLS 1.3 handshake may crash due

CVE-2013-4854 HIGH POC
7.8 Jul 29

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

CVE-2024-6387 HIGH POC
8.1 Jul 01

Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to

CVE-2019-6111 MEDIUM POC
5.9 Jan 31

An issue was discovered in OpenSSH 7.9. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no

CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2013-2171 MEDIUM POC
6.9 Jul 02

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

CVE-2021-3449 MEDIUM
5.9 Mar 25

An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. Rated med

CVE-2016-5766 HIGH POC
8.8 Aug 07

Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used

CVE-2016-1879 HIGH POC
7.5 Jan 29

The Stream Control Transmission Protocol (SCTP) module in FreeBSD 9.3 before p33, 10.1 before p26, and 10.2 before p9, w

CVE-2020-7457 HIGH POC
8.1 Jul 09

In FreeBSD 12.1-STABLE before r359565, 12.1-RELEASE before p7, 11.4-STABLE before r362975, 11.4-RELEASE before p1, and 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy