# CVE-2026-58099: Memory safety bugs in kqueue copy-on-fork implementation

- Priority: **Routine**
- Reason: Not severe (CVSS 7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-15 · Modified: 2026-10-19
- Record: https://cvemate.com/vulnerability/CVE-2026-58099 · JSON: https://cvemate.com/vulnerability/CVE-2026-58099/json

## Description

```text
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.
```

## Signals

- CVSS: 7 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.1%, percentile 0.887%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- freebsd freebsd: ≥ 15.1-RELEASE, \< p4 \| 15.1 \| 15.1:p1 \| 15.1:p2 \| 15.1:p3

## References

- <https://security.freebsd.org/advisories/FreeBSD-SA-26:65.kqueue.asc>

---

Data as of 2026-12-05T11:28:54.611Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
