AI Science Tracker

FreeBSD tty_drop_ctty leaves a dangling terminal-to-session pointer

FreeBSD kernel TTY subsystem · AI involvement attributed to Claude

Finding and attribution

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.

Product: FreeBSD kernel TTY subsystem. AI system: Claude. Team / organization: Anthropic / Nicholas Carlini.

CVE identifiers: CVE-2026-5398.

AI and human contribution (source account): 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.

Human involvement is only described where the source account establishes it; unknown involvement does not mean none. Vendor confirmation of a flaw does not confirm every claim about AI contribution.

Discovery context: 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.

Remediation status: fix documented. FreeBSD SA-26:10 lists fixed commits/branches; upstream commit 093903a clears the stale terminal-to-session pointer and related pointer.

A source-documented fix does not establish installed patches or current safety. Source checking does not independently reproduce the finding or establish observed exploitation.

Disclosed 21 Apr 2026. AI attribution dated 2 Jun 2026. Sources checked 14 Nov 2026; these are separate dates, not a live installation check.

Recorded CVSS: High · highest recorded score 8.4. Documented technical effects: privilege escalation.

Severity, consequences and exploitation evidence

Case grouping uses the highest recorded CVSS score, with its version-specific severity band. It is descriptive, not a combined or editorial risk index. All recorded assessments remain below; scores from different versions and sources may disagree. CVSS specifications define version-specific scoring and severity bands.

CVE-2026-5398: privilege escalation.
Prerequisites / affected scope: A malicious process abuses the dangling terminal-to-session pointer after its process exits; FreeBSD source says this can grant root privileges..
Exploitation evidence: The cited source does not establish exploitation in the wild.. Impact source · checked 16 Nov 2026.

Documented fix: FreeBSD SA-26:10 lists fixed commits/branches; upstream commit 093903a clears the stale terminal-to-session pointer and related pointer.

Original evidence

Download this source record (JSON)

Open this case in the interactive tracker · Browse all static security cases