Use After Free in Freebsd

CVE-2019-5606

In FreeBSD 12.0-STABLE before r349805, 12.0-RELEASE before 12.0-RELEASE-p8, 11.3-STABLE before r349806, 11.3-RELEASE before 11.3-RELEASE-p1, and 11.2-RELEASE before 11.2-RELEASE-p12, code which handles close of a descriptor created by posix_openpt fails to undo a signal configuration. This causes an incorrect signal to be raised leading to a write after free of kernel memory allowing a malicious user to gain root privileges or escape a jail.

Vulnerability class: Use-After-Free

EPSS: 0.006 (44.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Freebsd — versions 11.3, and before 11.2-RELEASE-p12, 11.0

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2019-5606?
CVE-2019-5606 is a high-severity vulnerability in Freebsd, classified under Use After Free. CVSS score: 7.8/10. Published 2019-07-26.
How severe is CVE-2019-5606?
High severity. CVSS v3 base score is 7.8 out of 10.