Skip to main content

FreeBSD CVE-2026-58100

| EUVDEUVD-2026-101857 HIGH
Race Condition (CWE-362)
2026-10-15 freebsd GHSA-cvhg-28x6-2vj7
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
    Spawn racing fork and fd-table-grow threads
  3. Exploit
    Register knotes with out-of-range fd numbers
  4. Execution
    Trigger OOB read in kqueue_fork_copy_knote()
  5. Persist
    Corrupt/leak kernel memory
  6. Impact
    Escalate to root privileges

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

Requires an unprivileged local account with the ability to run code on the FreeBSD host and use the kqueue/kevent subsystem - exploitation hinges on winning a concurrency race where a parent thread grows the file descriptor table (via fork) after the child's table has been copied but before knotes are transferred, so a knote references an fd number beyond the end of the child's table. Limiting factors: local access only (no network vector), the high-complexity race window that is not reliably automatable (SSVC Automatable=no), and relevance chiefly to multi-user systems; single-user or appliance deployments with no untrusted local users are effectively not exposed. Fixed in FreeBSD 15.1-RELEASE patch level p4.

Impact

Signals are consistent and point to a genuine-but-not-urgent local privilege-escalation issue rather than a mass-exploitation priority. The CVSS 3.1 vector (AV:L/AC:H/PR:L) confirms the vulnerability requires local access with existing low (unprivileged) credentials and carries high attack complexity because it depends on winning a race in which a concurrent parent thread grows the file descriptor table during fork - matching CWE-362. CISA SSVC reinforces this: Exploitation=none (no observed attacks), Automatable=no (the race cannot be reliably automated at scale), while Technical Impact=total aligns with the full C:H/I:H/A:H and the stated privilege-escalation outcome. EPSS is very low (0.14%, 3rd percentile) and the CVE is NOT in CISA KEV, so there is no public exploit identified at time of analysis and no evidence of active exploitation. These signals do not conflict: a 7.0 'High' score driven entirely by impact, not by ease of access, is best read as a patch-in-normal-cycle kernel hardening fix. The main consumers are multi-user FreeBSD hosts where untrusted local users exist; single-tenant appliances face minimal realistic exposure.

Exploit ScenarioDerived

An unprivileged local user on a FreeBSD 15.1-RELEASE host repeatedly forks while a second thread in the parent rapidly grows the file descriptor table and registers knotes with descriptor numbers beyond the copied child table, racing to trigger kqueue_fork_copy_knote() into an out-of-bounds read. By winning this race and shaping adjacent kernel memory, the attacker reads/corrupts kernel state to escalate to root. No public exploit code has been identified, and the high attack complexity (race window) makes reliable exploitation difficult.

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

A local privilege-escalation race condition in FreeBSD's kqueue subsystem lets an unprivileged user who can run code on the host potentially gain elevated privileges. When kqueue_fork_copy_knote() transfers knotes into a child process, it indexes the child's file descriptor table with the knote's fd number without validating it against the child table's size; because the child's table is copied before knotes are transferred, a concurrent parent thread that grows its own descriptor table can leave the knote pointing past the end of the child's table, producing an out-of-bounds read. Exploitation requires winning a narrow, non-automatable concurrency race (SSVC Automatable=no), no public exploit code has been identified at time of analysis, EPSS is low at 0.14% (3rd percentile), and the issue is fixed in FreeBSD 15.1-RELEASE patch level p4.

RemediationAI

Vendor-released patch: FreeBSD 15.1-RELEASE patch level p4, delivered through the standard FreeBSD security advisory process - apply freebsd-update fetch && freebsd-update install (or rebuild/install the patched kernel from source on the stable/15.1 branch) and reboot so the new kernel is active, then verify with freebsd-version -kru and the advisory at https://security.freebsd.org/advisories/FreeBSD-SA-26:65.kqueue.asc. Because the vulnerability is in the kernel's fork/kqueue path, there is no configuration toggle that removes the race; the durable fix is the patch. Where patching must be deferred, the practical compensating control is to limit untrusted local code execution on the host - restrict shell access to trusted accounts, tighten jail/privilege boundaries so untrusted users cannot run on the same kernel instance, and monitor for unusual fork/kevent churn - accepting the trade-off that this reduces multi-user flexibility and does not eliminate the risk for any account that can still execute code. Intra-kernel churn from the race is not detectable by network monitoring, so preventive patching should not be replaced by detection. Patch status is confirmed available; no public exploit code was identified at time of analysis and SSVC marks the issue non-automatable and not exploited.

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

The flaw is a CWE-362 concurrent execution / race condition in FreeBSD's kqueue event notification framework, specifically in the fork path that clones knotes into a child process. In FreeBSD, each process carries a file descriptor table, and knotes registered via kevent() reference descriptors by number. During fork, the child's fd table is duplicated first, after which knotes are copied over; if a sibling thread in the parent concurrently expands the parent's descriptor table and registers a knote whose fd number exceeds the bounds of the already-snapshotted child table, kqueue_fork_copy_knote() indexes out of bounds while resolving that fd - an out-of-bounds read (tagged Buffer Overflow) rather than a write. The affected CPE is the generic freebsd:freebsd entry, with EUVD scoping the vulnerable release to FreeBSD 15.1-RELEASE below patch level p4. The CVSS:3.1 vector AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H describes a local attacker with low privileges, high attack complexity (winning the race), no user interaction, and full confidentiality, integrity, and availability impact, matching the vendor and independent assessments. Because only a local unprivileged account able to invoke kqueue/kevent and fork is needed, exposure is concentrated on multi-user and shared-hosting FreeBSD systems rather than single-user appliances.

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 unprivileged user (AV:L/PR:L), high complexity from the fork/fd-table race (AC:H), and full kernel compromise via privilege escalation yields 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:H/AT:N/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

kqueue_fork_copy_knote() indexed into the child's file descriptor table using a knote's file descriptor number without a bounds check. Because the child's table is copied before knotes are transferred, a concurrent thread in the parent could grow the parent's table and register knotes with file descriptor numbers beyond the end of the child's table, causing an out-of-bounds read.

An unprivileged local user may be able to exploit these races to escalate privileges.

Executive ViewAI

Why It Matters

A privilege-escalation defect in the FreeBSD operating system's kqueue event-notification subsystem (CVE-2026-58100, CVSS 7.0) would let someone who already has a foothold on a FreeBSD host convert limited access into administrative control of that machine. Leadership should care because FreeBSD is the underlying platform for many network appliances, storage systems, and hosting/cloud infrastructure, so a single low-privilege compromise can become full device ownership and a pivot point into the wider estate. Urgency is tempered by practicality: no public exploit code has been identified at time of analysis, the required timing race is narrow, and EPSS sits at 0.1%, so this is a hardening and exposure-reduction item rather than an emergency.

Business Impact: Medium
Compensating Controls

Apply vendor patch. Where the FreeBSD 15.1-RELEASE patch level p4 fix cannot be validated or deployed, restrict local interactive access and untrusted code execution on FreeBSD hosts, remove shared low-privilege accounts, limit concurrent multi-user workload on shared systems, and enforce least privilege so that a foothold account lacks the runtime environment needed to attempt the race.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Medium
FreeBSD common in appliances/servers/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

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

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