CVE-2026-58090: FreeBSD unix socket use-after-free privilege escalation

CVE-2026-58090 · Severity: high · CVSS 7.8 · Published 2026-08-26

FreeBSD's unix domain socket implementation contains a memory management flaw in how it processes control messages over SOCK_STREAM connections. An unprivileged local user can exploit this use-after-free vulnerability to escalate their privileges and potentially gain administrative access to the system.

Technologies: Freebsd. Vendors: Freebsd.

Quick answers

Is CVE-2026-58090 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-58090 being exploited in the wild.
How severe is CVE-2026-58090?
High severity, with a CVSS score of 7.8, published 26 August 2026.
Which products and versions are affected?
Freebsd 15.0 and later.
Is there a fix for CVE-2026-58090?
A patch was published on 2026-08-24. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-58090 attacked?
It is attacked with local access, in an operating system.
Am I affected by CVE-2026-58090?
Check whether you run Freebsd at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability is a use-after-free in the unix SOCK_STREAM receive path where control messages (such as SCM_RIGHTS for file descriptor passing) fail to be fully detached from the socket buffer before processing. Under certain error conditions, the code frees these messages while references remain in the receive buffer, leaving dangling pointers to freed memory (mbufs). A local unprivileged user can trigger this condition and dereference the freed memory to escalate privileges. The vulnerability affects FreeBSD 15.0 and later; patches are available and reboot is required.

Affected products

  • FreeBSD FreeBSD 15.0 and later

Timeline

  • 2026-08-25: disclosed
  • 2026-08-24: patched

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.