Time-of-check Time-of-use (TOCTOU) Race Condition in FreeBSD - CVE-2026-127751

 

Time-of-check Time-of-use (TOCTOU) Race Condition in FreeBSD - CVE-2026-127751

Published: November 18, 2026


Vulnerability identifier: #VU166857
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-127751
CWE-ID: CWE-367
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to potentially escalate privileges.

The vulnerability exists due to a time-of-check time-of-use race condition in FreeBSD's Unix domain socket implementation when shutdown(2) and listen(2) operate concurrently on the same socket. A local user can race these calls to cause shutdown(2) to interpret a listening socket's connection queue as a data buffer, triggering memory corruption that may allow privilege escalation.


Affected software

FreeBSD

How to mitigate CVE-2026-127751

Install security update from vendor's website.


External References

Related Security Bulletins