Home / kernel / kernel / CVE-2020-27786
CVE-2020-27786: is it exploited, and which versions of kernel are affected and fixed?
CVE-2020-27786 is an use after free vulnerability in kernel. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: kernel kernel 5.7-rc6 (CVE record by redhat). Fixed in 4.4.224, 4.9.224, 4.14.181, 4.19.124 and 2 more (NVD). Severity: High (7.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:05 UTC.
What is 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 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.
From the CVE record by redhat, last updated August 4, 2024, 16:25 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| kernel | kernel 5.7-rc6 |
As the CVE record by redhat states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linux | linux kernel | before 4.4.224 | operating system |
| linux | linux kernel | from 4.5 before 4.9.224 | operating system |
| linux | linux kernel | from 4.10 before 4.14.181 | operating system |
| linux | linux kernel | from 4.15 before 4.19.124 | operating system |
| linux | linux kernel | from 4.20 before 5.4.42 | operating system |
| linux | linux kernel | from 5.5 before 5.6.14 | operating system |
| redhat | openshift container platform | 4.4 | application |
| redhat | openshift container platform | 4.5 | application |
| redhat | openshift container platform | 4.6 | application |
| redhat | enterprise linux | 7.0 | operating system |
| redhat | enterprise linux | 8.0 | operating system |
| redhat | enterprise mrg | 2.0 | operating system |
| netapp | cloud backup | all versions | application |
| netapp | solidfire baseboard management controller | all versions | hardware |
NVD analysis (status Modified), last modified June 17, 2026, 03:09 UTC.
How severe is CVE-2020-27786?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.2 | CVSS 2.0 | AV:L/AC:L/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-27786 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.67% probability of exploitation activity in the next 30 days, percentile 77.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-416 Use After Free
Where are the vendor advisories and references?
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c1f6e3c818dd734c30f6a7eeebf232ba2cf3181d x_refsource_MISC
- [oss-security] 20201203 Re: Linux Kernel: ALSA: use-after-free Write in snd_rawmidi_kernel_write1 mailing-list, x_refsource_MLIST
- https://bugzilla.redhat.com/show_bug.cgi?id=1900933 x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20210122-0002/ x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- October 27, 2020
- Published
- December 11, 2020, 04:05 UTC
- CVE record updated
- August 4, 2024, 16:25 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 03:09 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:05 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect kernel?
- Mar 22, 2023CVE-2023-0386 Kernel: improper Ownership Management exploited
- Mar 25, 2022CVE-2022-0995 kernel: out-of-bounds write (memory corruption) exploited
- Mar 7, 2022CVE-2022-0847 kernel: improper initialization exploited
- Mar 3, 2022CVE-2022-0492 kernel: authentication bypass (improper authentication) exploited
- Feb 11, 2022CVE-2022-0185 kernel: integer overflow exploited
- Feb 8, 2024CVE-2024-1312 kernel: use after free
- Jan 28, 2024CVE-2023-6200 kernel: race condition
- Dec 8, 2023CVE-2023-6560 kernel: use of Out-of-range Pointer Offset
Questions about CVE-2020-27786
Is CVE-2020-27786 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 1.67% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of kernel are affected by CVE-2020-27786?
kernel kernel 5.7-rc6, per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2020-27786?
4.4.224, 4.9.224, 4.14.181, 4.19.124, 5.4.42 and 5.6.14, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-27786?
High (7.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2020-27786?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.