CVE-2026-58099: kqueue - Privilege Escalation
- Cve: CVE-2026-58099
- Name: kqueue - Privilege Escalation
- Description: 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.
- Impact: Unprivileged local users can exploit the race to escalate privileges on the system.
- Remediation: Update to the latest version with race condition fix.
- Vulnerability type: use_after_free
- Vulnerability impact: privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7
- Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.001
- Epss percentile: 0.00825
- Assignee: [email protected]
- Published at: 2026-10-15T07:18:02Z
- Age in days: 40
- Modified at: 2026-10-19T21:02:15Z
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-58099
- Nvd status: analyzed
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization |
References
| Url | Source | Tags |
|---|---|---|
| https://security.freebsd.org/advisories/FreeBSD-SA-26:65.kqueue.asc | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| freebsd:freebsd | = 15.1, = 15.1 p1, = 15.1 p2, = 15.1 p3 | no | nvd | /v1/products/freebsd/freebsd |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 164903
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports