Skip to main content
Mallory
MediumPublic exploitVulnerability

CVE-2020-25656: Linux Kernel VT Console Use-After-Free Read

Published Dec 2, 2020 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS4.1Medium · v3.1
EPSS0.44%30th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendors
Debian ProjectLinuxRed HatStarwindsoftware
IdentifiersCVE-2020-25656CWE-416 · Use After Free

CVE-2020-25656 is a use-after-free vulnerability in the Linux kernel virtual-terminal console subsystem. A race between the KDGKBSENT and KDSKBSENT ioctl operations can cause vt_do_kdgkb_ioctl to dereference freed memory while handling a keyboard-table read operation. This permits an authorized local attacker to perform an out-of-bounds kernel-memory read.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation primarily compromises confidentiality by disclosing out-of-bounds kernel memory to a local attacker. The documented CVSS v3.1 vector is AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N, reflecting local access, high attack complexity, and a high-privilege requirement. Integrity modification and service availability impact are not identified.

Mitigation

If you can’t patch tonight, do this now.

Restrict local access to virtual-terminal consoles and ensure untrusted users and processes cannot obtain or retain CAP_SYS_TTY_CONFIG. Apply least-privilege controls to workloads that require terminal-management capabilities, including containers and service accounts. These controls reduce exploitability but do not replace installation of a fixed kernel.

Remediation

Patch, then assume compromise.

Install the vendor-provided Linux kernel update and reboot so that the updated kernel is running. Red Hat fixed the standard RHEL 7 kernel in version 3.10.0-1160.21.1.el7 and the RHEL 7 real-time kernel in version 3.10.0-1160.21.1.rt56.1158.el7. Red Hat also issued fixes for RHEL 8 standard and real-time kernel packages in May 2024. Update affected container base images and rebuild dependent images where the image includes a vulnerable kernel userspace package inventory; host-kernel remediation remains necessary because containers use the host kernel. RHEL 7 kernel-alt is marked as will not fix.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Debian ProjectDebian Linuxoperating_system
LinuxLinux Kerneloperating_system
Red HatRed Hat Enterprise Linuxoperating_system
StarwindsoftwareStarwind Virtual Sanapplication
FAQ

Frequently asked questions

Is CVE-2020-25656 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2020-25656 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2020-25656?
Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2020-25656.
Is there a patch for CVE-2020-25656?
Install the vendor-provided Linux kernel update and reboot so that the updated kernel is running. Red Hat fixed the standard RHEL 7 kernel in version 3.10.0-1160.21.1.el7 and the RHEL 7 real-time kernel in version 3.10.0-1160.21.1.rt56.1158.el7.
What products are affected by CVE-2020-25656?
Linux Kernel, Debian Project Debian Linux, Red Hat Enterprise Linux, and Starwindsoftware Starwind Virtual San.
How severe is CVE-2020-25656?
CVE-2020-25656 has a CVSS v3.1 score of 4.1 (Medium) and an EPSS score of 0.44% (30th percentile) as of Oct 16, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.