Skip to main content

FreeBSD CVE-2026-58083

| EUVDEUVD-2026-62351 HIGH
Use After Free (CWE-416)
2026-08-19 freebsd GHSA-j94h-9p69-vhvm
8.4
CVSS 3.1 · Vendor: freebsd
View

Attack ChainAIDerived

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

  1. Recon
    Gain local unprivileged shell access
  2. Delivery
    Create kqueue with timer-based knotes
  3. Exploit
    Call fork() repeatedly to race timer interrupt
  4. Install
    Timer fires during knote copy, corrupts active list
  5. C2
    Trigger use-after-free via kernel list traversal
  6. Execute
    Overwrite kernel credential structure
  7. Impact
    Escalate to root

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must have an unprivileged interactive or programmatic local session on a FreeBSD 15.1-RELEASE system running a kernel earlier than patch level 2. Exploitation requires the ability to call fork() and create kqueue file descriptors with timer-based knote filters (EVFILT_TIMER), which are standard unprivileged system calls available by default - no special system configuration, non-default feature, or elevated group membership is required. The race is between the knote timer interrupt and the fork() knote copy path, so reliable exploitation depends on timing sensitivity (kernel scheduling, timer frequency, CPU count). Exploitation is limited to the local machine; there is no network-facing attack surface. The vulnerability does not affect FreeBSD 15.1-RELEASE-p2 or later. Status of other FreeBSD branches is unconfirmed from available data.

Impact

The CVSS 3.1 vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H scores 8.4 and indicates a local, zero-privileges attack with no user interaction required and full confidentiality, integrity, and availability impact - consistent with a kernel privilege escalation. However, AC:L warrants scrutiny: the vulnerability is fundamentally a race condition between a timer interrupt and a fork() copy path, which typically implies timing sensitivity. This analyst assesses AC as more accurately H, lowering practical exploitability compared to the vendor rating. No EPSS data was provided in the source intelligence, so exploitation probability cannot be quantified numerically. The vulnerability is not listed in the CISA KEV catalog, and no public proof-of-concept exploit has been identified at time of analysis. Despite the absence of observed exploitation, the primitive (kernel use-after-free yielding local root) is inherently dangerous on multi-tenant systems, shared hosting, or containerized environments where untrusted local users exist. FreeBSD 15.1-RELEASE prior to patch 2 is the sole confirmed affected version; older branches are not addressed by the available advisory data and their status is unknown.

Exploit ScenarioDerived

A local unprivileged user on a FreeBSD 15.1-RELEASE system (before p2) creates a kqueue with one or more timer-based knotes, then repeatedly calls fork() in a tight loop to race the knote copy routine against the timer firing. When the timer fires mid-copy, the child knote is appended to the active list twice, corrupting the doubly-linked list structure; subsequent kernel traversal of the corrupted list dereferences a freed pointer. The attacker leverages the use-after-free to overwrite kernel memory - for example, a process credential structure - achieving root privileges. No public proof-of-concept has been identified, but the exploitation primitive is well-understood in the kernel security research community.

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

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

Alert me

AnalysisAIv1 – Aug 19, 2026

Use-after-free in the FreeBSD 15.1-RELEASE kernel's kqueue subsystem allows an unprivileged local user to corrupt kernel memory and escalate privileges to root. During a fork() system call, the kernel's knote copy routine fails to hold appropriate locks while reading knote state, and does not guard against a timer-based knote firing and being enqueued on the active list mid-copy, resulting in a double-enqueue of the new knote and subsequent list corruption. No public exploit or active exploitation has been identified at time of analysis, but the CVSS score of 8.4 (Local/No Privileges Required) reflects a realistic, high-severity local privilege escalation path on affected systems.

RemediationAI

Apply FreeBSD patch 15.1-RELEASE-p2, which addresses the locking deficiencies and double-enqueue race in the knote copy routine. The authoritative patch and installation instructions are provided in FreeBSD Security Advisory FreeBSD-SA-26:50.kqueue at https://security.freebsd.org/advisories/FreeBSD-SA-26:50.kqueue.asc. Systems should be updated using freebsd-update or by rebuilding from patched source. Where immediate patching is not feasible, restrict local shell access to fully trusted users only, as exploitation requires the ability to execute arbitrary binaries in a local session; this is a compensating control only and does not eliminate the vulnerability. Restricting unprivileged use of kqueue (e.g., via MAC policies or capsicum sandboxing) may reduce exposure but is non-trivial to implement without disrupting applications that legitimately use kqueue. No upstream fix version beyond the advisory is independently confirmed from the available references.

Affected VersionsENISA

FreeBSD 15.1-RELEASE <p2

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

kqueue is FreeBSD's scalable kernel event notification interface, functionally analogous to Linux epoll. Kernel notes (knotes) are per-descriptor event descriptors attached to kqueues; timer-based filters allow knotes to fire asynchronously on elapsed time intervals. The vulnerability (CWE-416, Use After Free) arises in the fork() code path: when the kernel copies knotes from parent to child, the copy routine lacks both the appropriate locking around reads of knote state and a guard preventing a concurrently firing timer-based knote from being enqueued on the kqueue's active list before the copy completes. This race results in the newly allocated child knote being enqueued a second time, corrupting the doubly-linked active list. Subsequent kernel operations against the corrupted list can dereference freed memory, enabling arbitrary kernel code execution. The affected product is identified by CPE cpe:2.3:a:freebsd:freebsd:*:*:*:*:*:*:*:* and specifically impacts FreeBSD 15.1-RELEASE before patch level 2.

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 8.4 HIGH
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.4 HIGH

Race condition between timer interrupt and fork() copy path justifies AC:H; PR:N confirmed by unprivileged trigger; full kernel compromise yields C:H/I:H/A:H.

3.1 AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:N/PR:N/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
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
CVSS changed
Aug 19, 2026 - 12:23 NVD
8.4 (HIGH)
CVE Published
Aug 19, 2026 - 07:28 cve.org
UNKNOWN (no severity yet)
CVE Published
Aug 19, 2026 - 07:28 cve.org
HIGH 8.4

DescriptionCVE.org

While the kernel was copying knotes during fork, a knote with a timer-based filter could fire and be enqueued on the kqueue's active list before the copy was complete. The copy routine did not account for this and could enqueue the new knote a second time, corrupting the active list. In addition, the copy routine did not hold the appropriate locks while reading knote state, allowing further races.

An unprivileged local user can trigger a use-after-free in the kernel, potentially leading to privilege escalation.

Executive ViewAI

Why It Matters

A use-after-free vulnerability (CVE-2026-58083) in FreeBSD 15.1-RELEASE's kernel kqueue subsystem enables unprivileged local users to escalate privileges to root. Organizations operating FreeBSD 15.1-RELEASE systems with local user access face critical risk of complete system compromise, as exploitation requires only local access-no prior privilege escalation-and affects all instances of the affected version.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict local terminal access to trusted administrative users only; disable or remove unnecessary user accounts; implement kernel auditing and real-time alerting for fork() and privilege escalation system calls; segment affected FreeBSD systems from multi-user and untrusted-user environments; maintain continuous system log monitoring; prioritize migration to patched FreeBSD versions as the primary long-term remediation path.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
FreeBSD deployed in niche server and appliance contexts, not broadly
Data Quality
6 sources
Confidence: High

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.2%
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
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
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.

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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