Use after freein CVE-2020-27786.
Proof of concept public (GitHub).
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.
- No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.
Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed; severity not scored yet. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 27 Oct 2020CVE ID reserved by redhat.
- 11 Dec 2020Published in the CVE List.
- 13 Jun 2022First public proof of concept on GitHub.
- 4 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub).
4 proof of concept repositories on GitHub. No fix or workaround is known yet, so we count them but do not link to them.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Same weakness: Use after free
- git.kernel.org x_refsource_MISC
- www.openwall.com mailing-list, x_refsource_MLIST
- bugzilla.redhat.com x_refsource_MISC
- security.netapp.com x_refsource_CONFIRM
Patchminder. CVE-2020-27786: Use after free in CVE-2020-27786. https://patchminder.com/cve/cve-2020-27786/ (accessed 5 December 2026).