CVE-2020-27786
highpriority · track · 42EPSS 0.017 · 77 %ileexploit · PoCEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (4)
Public proof-of-concept and weaponised exploit code.
- elbiazo/CVE-2020-27786elbiazo/CVE-2020-27786PoC · poc_in_github
- ii4gsp/CVE-2020-27786ii4gsp/CVE-2020-27786PoC · poc_in_github
- kiks7/CVE-2020-27786-Kernel-Exploit4.9 Kernel Exploit for CVE-2020-27786PoC · poc_in_github
affected products (92)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- PUB-A-1757690132021-05-01vendor · osvUS
In several functions of rawmidi.c, there is a possible use after free due to a race condition. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (27)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2020/12/03/1cnnvd
- https://access.redhat.com/security/cve/cve-2020-27786cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=1900933cnnvd
- https://device.harmonyos.com/cn/docs/security/update/security-bulletins-phones-202111-0000001218088197cnnvd
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c1f6e3c818dd734c30f6a7eeebf232ba2cf3181dcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-27786cnnvd
- https://packetstormsecurity.com/files/162626/Red-Hat-Security-Advisory-2021-1578-01.htmlcnnvd
- https://security.netapp.com/advisory/ntap-20210122-0002/cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan