Vulnerability · Published Dec 11, 2020 · Assigned by redhat

CVE-2020-27786

High 7.8

In plain English

A high-severity use-after-free in kernel. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 77% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.8High
Exploit odds (30 days)1.7%top 23.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC

Official description

A flaw was found in the Linux kernel’s implementation of MIDI, where an attacker with a local account and the permissions to issue ioctl commands to midi devices could trigger a use-after-free issue. A write to this specific memory while freed and before use causes the flow of execution to change and possibly allow for memory corruption or privilege escalation. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8kernel-tools-libs-devel4.18.0-305.el8ALSA-2021:1578
Debian:12linux5.6.14-1DEBIAN-CVE-2020-27786
Debian:13linux5.6.14-1DEBIAN-CVE-2020-27786
Debian:14linux5.6.14-1DEBIAN-CVE-2020-27786
Ubuntu:22.04:LTSlinux-intel-iot-realtimeno fix listedUBUNTU-CVE-2020-27786
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2020-27786
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2020-27786
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2020-27786

Affected products (as reported)

VendorProductVersions
n/a kernel kernel 5.7-rc6

Weakness: CWE-416

References