FreeBSD Use-After-Free in SOCK_STREAM Receive Path Privilege Escalation
CVE-2026-58090 Published on August 26, 2026
Use-after-free in unix SOCK_STREAM message handling
The SOCK_STREAM receive path in the unix socket implementation failed to fully detach control messages from the socket buffer before processing them. Some error paths would free those messages, leaving freed data mbufs in the receive socket buffer.
An unprivileged local user can exploit this use-after-free to escalate privileges.
Vulnerability Analysis
CVE-2026-58090 is exploitable with local system access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Weakness Type
What is a Dangling pointer Vulnerability?
Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code.
CVE-2026-58090 has been classified to as a Dangling pointer vulnerability or weakness.
Products Associated with CVE-2026-58090
Want to know whenever a new CVE is published for FreeBSD? stack.watch will email you.
Affected Versions
FreeBSD:- Version 15.1-RELEASE and below p3 is affected.
- Version 15.0-RELEASE and below p13 is affected.