{"id":"CVE-2026-58099","aliases":["CVE-2026-58099"],"related":[],"kind":"vulnerability","state":"published","title":"Memory safety bugs in kqueue copy-on-fork implementation","summary":"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.\n\nAn unprivileged local user may be able to exploit these races to escalate privileges.","summarySource":"cvelist","descriptions":[{"lang":"en","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.\n\nAn unprivileged local user may be able to exploit these races to escalate privileges.","source":"cvelist"}],"published":"2026-10-15T06:31:18.042Z","modified":"2026-10-19T21:02:15.750Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":["CWE-362","CWE-416"],"affected":[{"ranges":[{"type":"release","introduced":"15.1-RELEASE","fixed":"p4","status":"affected"}],"vendor":"FreeBSD","product":"FreeBSD","source":"cvelist"},{"ranges":[{"status":"affected","version":"15.1"},{"status":"affected","version":"15.1"},{"status":"affected","version":"15.1"},{"status":"affected","version":"15.1"}],"vendor":"freebsd","product":"freebsd","cpe":"cpe:2.3:o:freebsd:freebsd:15.1:-:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:65.kqueue.asc","tags":["vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["Reo Shiseki","Mark Johnston"],"assigner":"freebsd","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T03:56:54.101Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-58099","url":"https://www.cve.org/CVERecord?id=CVE-2026-58099","licence":"CVE Terms of Use","modified":"2026-10-19T14:10:47.179Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-58099","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58099","licence":"Public domain","modified":"2026-10-19T21:02:15.750Z"}],"updatedAt":"2026-11-25T22:59:44.850Z","epss":{"score":0.001,"percentile":0.00895,"date":"2026-12-01T12:00:22.000Z"}}