{"id":"CVE-2019-5596","url":"https://www.cyber-defence.io/tools/cve/CVE-2019-5596","generatedAt":"2026-10-27T23:25:56.206Z","title":"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…","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.","published":"2019-02-12T05:29:01.000Z","lastModified":"2026-06-17T02:37:55.000Z","status":"Modified","sourceIdentifier":"secteam@freebsd.org","cvss":{"version":"3.0","score":8.8,"severity":"HIGH","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"},"cwe":[],"affected":["freebsd/freebsd"],"epss":{"score":0.01229,"percentile":0.68712,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":2,"verified":true,"firstPublished":"2019-07-10","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":47829,"kind":"exploit","title":"FreeBSD-SA-19:02.fd - Privilege Escalation","url":"https://www.exploit-db.com/exploits/47829","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/freebsd/local/47829.sh","file":"exploits/freebsd/local/47829.sh","published":"2019-12-30","added":"2019-12-30","updated":"2019-12-31","author":"Karsten König","type":"local","platform":"freebsd","port":null,"verified":true,"codes":["CVE-2019-5596"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null},{"edbId":47081,"kind":"exploit","title":"FreeBSD 12.0 - 'fd' Local Privilege Escalation","url":"https://www.exploit-db.com/exploits/47081","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/freebsd/local/47081.sh","file":"exploits/freebsd/local/47081.sh","published":"2019-07-10","added":"2019-07-10","updated":"2020-06-18","author":"gr4yf0x","type":"local","platform":"freebsd","port":null,"verified":false,"codes":["CVE-2019-5596"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null}]},"verdict":{"level":"urgent","text":"2 public exploits are published in Exploit-DB (verified) and the impact is high, while EPSS rates exploitation at 1.2%. Anyone can run this; patch or mitigate before the next change window and check exposed instances for signs of use."},"changes":[],"references":[{"url":"http://packetstormsecurity.com/files/155790/FreeBSD-fd-Privilege-Escalation.html","source":"secteam@freebsd.org"},{"url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-19:02.fd.asc","tags":["Patch","Third Party Advisory"],"source":"secteam@freebsd.org"},{"url":"http://packetstormsecurity.com/files/155790/FreeBSD-fd-Privilege-Escalation.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-19:02.fd.asc","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-5596","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}