Description
In FreeBSD 11.2-STABLE after r338618 and before r343786, 12.0-STABLE before r343781, and 12.0-RELEASE before 12.0-RELEASE-p3, a bug in the reference count implementation for UNIX domain sockets can cause a file structure to be incorrectly released potentially allowing a malicious local user to gain root privileges or escape from a jail.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| FreeBSD | FreeBSD | FreeBSD 12.0 before 12.0-RELEASE-p3 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 2
- FreeBSD-SA-19:02.fd - Privilege Escalation EDB-47829 · local · Dec 30, 2019 · verified
- FreeBSD 12.0 - 'fd' Local Privilege Escalation EDB-47081 · local · Jul 10, 2019
GitHub 1 repository
-
raymontag/CVE-2019-5596 ★ 1 · Mar 29, 2023
Full LPE Exploit for CVE-2019-5596 / FreeBSD-SA-19:02.fd
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.