Use-after-free in FreeBSD - CVE-2026-127750

 

Use-after-free in FreeBSD - CVE-2026-127750

Published: November 18, 2026


Vulnerability identifier: #VU166855
CSH Severity: Low
CVSS v4: 7.3 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-127750
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to corrupt kernel memory and potentially obtain superuser privileges.

The vulnerability exists due to use-after-free in the FreeBSD kqueue copying logic when copying a KQUEUE_CPONFORK kqueue during fork(2). A local user can register an event from another thread while the copy loop temporarily drops the kqueue lock, causing reallocation of the event-list array and subsequent writes to the freed array to corrupt kernel memory and potentially obtain superuser privileges.


Affected software

FreeBSD

How to mitigate CVE-2026-127750

Install security update from vendor's website.


External References

Related Security Bulletins