# CVE-2020-27786

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2020-12-11 · Modified: 2024-08-04
- Aliases: UBUNTU-CVE-2020-27786, DEBIAN-CVE-2020-27786
- Record: https://cvemate.com/vulnerability/CVE-2020-27786 · JSON: https://cvemate.com/vulnerability/CVE-2020-27786/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.672%, percentile 77.632%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 50)

- debian linux (Debian): \< 5.6.14-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 4.4.0-185.215 \| \< 4.15.0-109.110 \| \< 5.4.0-40.44
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1074.78 \| \< 4.4.0-1110.121 \| \< 4.15.0-1077.81 \| \< 5.4.0-1018.18
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2022.22 \| All versions (No fix recorded)
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1074.78~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1091.101~14.04.1 \| \< 4.15.0-1091.101~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1020.20
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1091.101
- ubuntu linux-azure-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-edge (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-fde (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-fde-5.15 (Ubuntu): \< 5.15.0-1114.123~20.04.1
- ubuntu linux-azure-fips (Ubuntu): \< 4.15.0-2006.7 \| All versions (No fix recorded)
- ubuntu linux-fips (Ubuntu): \< 4.4.0-1042.47 \| All versions (No fix recorded) \| \< 4.15.0-1035.40
- ubuntu linux-gcp (Ubuntu): \< 4.15.0-1078.88~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1019.19
- ubuntu linux-gcp-4.15 (Ubuntu): \< 4.15.0-1078.88
- ubuntu linux-gcp-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-gcp-edge (Ubuntu): All versions (No fix recorded)
- ubuntu linux-gcp-fips (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c1f6e3c818dd734c30f6a7eeebf232ba2cf3181d>
- <http://www.openwall.com/lists/oss-security/2020/12/03/1>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1900933>
- <https://security.netapp.com/advisory/ntap-20210122-0002/>
- <https://ubuntu.com/security/CVE-2020-27786>
- <https://www.openwall.com/lists/oss-security/2020/12/01/1>
- <https://www.cve.org/CVERecord?id=CVE-2020-27786>
- <https://security-tracker.debian.org/tracker/CVE-2020-27786>

---

Data as of 2026-12-05T08:15:55.826Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
