CVE-2019-5596 Use after free in FreeBSD
A use-after-free bug in FreeBSD UNIX domain sockets allows local attackers to gain root privileges or escape jails.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2019-5596?
CVE-2019-5596 is a high-severity use after free vulnerability in Freebsd Freebsd, published on 12 Feb 2019. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2019-5596?
It affects 1 product.
Products include Freebsd Freebsd.
How do I fix CVE-2019-5596?
No fix has been published for CVE-2019-5596 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2019-5596 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-5596 exists.
Public exploit code: 2 Exploit-DB entries and 1 proofs of concept on GitHub.
Other vulnerabilities in Freebsd Freebsd
Sources
Also known as GHSA-89xf-9vcr-5475.