{
  "id": "CVE-2026-58099",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-58099",
  "published_at": "2026-10-15T06:31:18.042Z",
  "title": "Memory safety bugs in kqueue copy-on-fork implementation",
  "vendor": "FreeBSD",
  "product": "FreeBSD",
  "cvss": {
    "score": 7,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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 races to escalate privileges.",
  "cwe": "CWE-362",
  "cpes": [
    "cpe:2.3:o:freebsd:freebsd:15.1:-:*:*:*:*:*:*",
    "cpe:2.3:o:freebsd:freebsd:15.1:p1:*:*:*:*:*:*",
    "cpe:2.3:o:freebsd:freebsd:15.1:p2:*:*:*:*:*:*",
    "cpe:2.3:o:freebsd:freebsd:15.1:p3:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "FreeBSD",
        "product": "FreeBSD",
        "ranges": [
          "\u003e= 15.1-RELEASE, \u003c p4"
        ],
        "fixed_in": [
          "p4"
        ]
      }
    ],
    "upgrade": [
      "Upgrade FreeBSD to p4 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://security.freebsd.org/advisories/FreeBSD-SA-26:65.kqueue.asc"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
