CVE-2026-58099

published 15 Oct 2026 · updated 19 Oct 2026

Memory safety bugs in kqueue copy-on-fork implementation

7.0HighCVSS 7.0EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in p4.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
FreeBSD>=15.1-RELEASE <p4p4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-58099 severity on Zeptric[![CVE-2026-58099](https://zeptric.io/badge/cve/CVE-2026-58099.svg)](https://zeptric.io/cve/CVE-2026-58099)