# CVE-2020-27786: 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 co…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.67%, higher than 77% of CVEs (2026-12-02)
- Published: 2020-12-11T04:05:29.000Z
- Modified: 2026-06-17T03:09:38.497Z
- Weaknesses: CWE-416
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- kernel: kernel 5.7-rc6
- linux linux_kernel: before 4.4.224; from 4.5 before 4.9.224; from 4.10 before 4.14.181; from 4.15 before 4.19.124; from 4.20 before 5.4.42; from 5.5 before 5.6.14
- redhat openshift_container_platform: 4.4; 4.5; 4.6
- redhat enterprise_linux: 7.0; 8.0
- redhat enterprise_mrg: 2.0
- netapp cloud_backup: no versions given
- netapp solidfire_baseboard_management_controller: no versions given

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.2 High `AV:L/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c1f6e3c818dd734c30f6a7eeebf232ba2cf3181d> (patch, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2020/12/03/1> (mailing-list)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1900933> (issue-tracking, patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210122-0002/> (third-party-advisory)

## Sources

- CVE List: [CVE-2020-27786](https://www.cve.org/CVERecord?id=CVE-2020-27786), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-27786](https://nvd.nist.gov/vuln/detail/CVE-2020-27786), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-27786 · Whole record: https://cve.day/CVE-2020-27786.json · Rebuilt by cve.day 2026-11-25T22:57:56.174Z
