FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

FreeBSD -- Local privilege escalation via TCP MSG_OOB handling

Affected packages
15.1 <= FreeBSD-kernel < 15.1_7
14.5 <= FreeBSD-kernel < 14.5_4
14.4 <= FreeBSD-kernel < 14.4_13

Details

VuXML ID a55d3c3a-e313-11f1-a3e1-bc241121aa0a
Discovery 2026-11-17
Entry 2026-11-18

Problem Description:

When a segment carrying urgent data was received, tcp_pulloutofband() removed the urgent byte by modifying the received data in place, without checking whether the underlying buffer was writable. For example, when a local sender used sendfile(2), the data could reference the cached pages of the file being sent.

Impact:

An unprivileged local user can exploit this to modify the cached contents of files they are only permitted to read, and thereby obtain superuser privileges.

References

CVE Name CVE-2026-127748
FreeBSD Advisory SA-26:93.tcp