{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-58099","id":"CVE-2026-58099","title":"Memory safety bugs in kqueue copy-on-fork implementation","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.\n\nAn unprivileged local user may be able to exploit these ra","descriptionLong":"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.","published":"2026-10-15T06:31:18.042Z","updated":"2026-10-19T21:02:15.750Z","reserved":"2026-06-29T01:40:17.499Z","status":"Analyzed","rejected":false,"assigner":"freebsd","metric":{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"}],"rating":"high","products":["FreeBSD"],"affectedProducts":[{"vendor":"FreeBSD","product":"FreeBSD","defaultStatus":"unknown","versions":[{"status":"affected","versionType":"release","version":"15.1-RELEASE","lessThan":"p4"}],"platforms":[]}],"packages":[],"cwes":["CWE-362","CWE-416"],"aliases":[],"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:65.kqueue.asc","tags":["vendor-advisory","Vendor Advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.001,"epssPercentile":0.00863,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-58099","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58099","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-58099","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-58099","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}