{
  "id": "cve-2026-5398",
  "title": "FreeBSD tty_drop_ctty leaves a dangling terminal-to-session pointer",
  "product": "FreeBSD kernel TTY subsystem",
  "ai_system": "Claude",
  "organization": "Anthropic / Nicholas Carlini",
  "summary": "FreeBSD’s TIOCNOTTY path can clear the session-to-terminal link without clearing the terminal-to-session pointer, leaving a pointer into freed memory. FreeBSD says an unprivileged malicious process could use the dangling pointer to obtain root.",
  "ai_role": "Anthropic’s individual CVD report says its author used an LLM to find both bugs in the same report, explicitly states Claude discovered this vulnerability, and records no external triage firm; FreeBSD’s fix commit credits Nicholas Carlini as reporter.",
  "disclosure_date": "2026-04-21",
  "ai_attribution_date": "2026-06-02",
  "classification": "disclosure",
  "classification_note": "FreeBSD published SA-26:10 on April 21, 2026; Anthropic publicly revealed the item June 2. The sources describe a reported privilege-escalation flaw and patch; this record makes no claim about in-the-wild exploitation or zero-day status.",
  "cves": [
    "CVE-2026-5398"
  ],
  "source_url": "https://lists.freebsd.org/archives/freebsd-security-notifications/2026-April/000076.html",
  "ai_source_url": "https://red.anthropic.com/2026/cvd/findings/ANT-2026-5DFBSQR9",
  "remediation": "fix documented",
  "remediation_note": "FreeBSD SA-26:10 lists fixed commits/branches; upstream commit 093903a clears the stale terminal-to-session pointer and related pointer.",
  "advisory_url": "https://cgit.freebsd.org/src/commit/sys/kern/tty.c?id=093903a8d4c05d1adff79895a52a3e3009ff07a7",
  "checked_date": "2026-11-14",
  "cvss": [
    {
      "cve": "CVE-2026-5398",
      "version": "3.1",
      "score": 8.4,
      "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/5xxx/CVE-2026-5398.json",
      "source_name": "CISA-ADP (ADP; CVE Program record)",
      "checked_date": "2026-11-16"
    }
  ],
  "impacts": [
    {
      "cves": [
        "CVE-2026-5398"
      ],
      "consequences": [
        "privilege escalation"
      ],
      "conditions": "A malicious process abuses the dangling terminal-to-session pointer after its process exits; FreeBSD source says this can grant root privileges.",
      "exploitation": "The cited source does not establish exploitation in the wild.",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/5xxx/CVE-2026-5398.json",
      "checked_date": "2026-11-16"
    }
  ]
}
