Description
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.
Published: 2026-10-15
Score: 7 High
EPSS: < 1% Very Low
KEV: No
Impact: Privilege Escalation
Action: Apply Patch
AI Analysis

Impact

This vulnerability lies in the kqueue copy‑on‑fork logic of FreeBSD. When a process forks, the function kqueue_fork_copy_knote() indexes into the child’s file‑descriptor table using a knote’s file‑descriptor number without performing a bounds check. Because the child’s table is copied before any knotes are transferred, a concurrently executing parent thread can grow its own table and register knotes that reference file‑descriptor numbers beyond the child’s table bounds. The result is an out‑of‑bounds read, which an unprivileged local user can exploit to read kernel memory and potentially gain elevated privileges. The flaw reflects a buffer under‑read weakness (CWE‑125) and a race condition (CWE‑362). The impact is the potential for a local privilege escalation attack against any FreeBSD system that uses the affected kqueue implementation; an attacker with local code execution privileges could read sensitive kernel data or manipulate process credentials. Because the exploit relies on a race between fork and knote registration, it requires a sufficient race window and concurrent activity on the target machine, but the absence of a bounds check makes the vulnerability highly exploitable once the timing is achieved.

Affected Systems

The issue affects all FreeBSD systems as identified by the CNA vendor/product list. No specific firmware or kernel version numbers are supplied in the advisory, so all supported releases containing the vulnerable kqueue copy‑on‑fork code are potentially affected.

Risk and Exploitability

The advisory lists a CVSS score of 7, indicating medium severity, and an EPSS score of less than 1%. The vulnerability is not included in the CISA Known Exploited Vulnerabilities catalog. Nevertheless, the defect—a missing bounds check coupled with a race condition—creates a high‑impact vector: a local user can trigger an out‑of‑bounds read and possibly elevate privileges. Exploitation requires concurrent local activity on the system, but the lack of a public exploit does not reduce the inherent risk of privilege escalation.

Generated by OpenCVE AI on October 19, 2026 at 16:43 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the system to the latest FreeBSD release that includes the kqueue copy‑on‑fork fix.
  • If an upgrade cannot be performed immediately, restrict untrusted local users from using kqueue by disabling the feature in applications that expose it or by enforcing strict file‑descriptor limits during fork operations.
  • Continuously monitor system logs for abnormal kernel reads or permission changes related to kqueue activity and apply patches as soon as they become available.

Generated by OpenCVE AI on October 19, 2026 at 16:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 19 Oct 2026 21:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:o:freebsd:freebsd:15.1:-:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.1:p1:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.1:p2:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.1:p3:*:*:*:*:*:*

Mon, 19 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Sat, 17 Oct 2026 19:15:00 +0000

Type Values Removed Values Added
First Time appeared Freebsd
Freebsd freebsd
Vendors & Products Freebsd
Freebsd freebsd

Fri, 16 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 15 Oct 2026 06:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Memory safety bugs in kqueue copy-on-fork implementation
Weaknesses CWE-125
CWE-362
References

cve-icon MITRE

Status: PUBLISHED

Assigner: freebsd

Published:

Updated: 2026-10-19T14:11:08.268Z

Reserved: 2026-06-29T01:40:17.499Z

Link: CVE-2026-58100

cve-icon Vulnrichment

Updated: 2026-10-16T14:17:41.227Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-15T07:18:02.490

Modified: 2026-10-19T21:01:55.713

Link: CVE-2026-58100

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T16:45:16Z

Weaknesses
  • CWE-125

    Out-of-bounds Read

  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')