CVE-2020-25856 Memory corruption in Realtek RTL8195A Wi-Fi Module

High 8.1 Published Updated

A stack buffer overflow in the Realtek RTL8195A Wi-Fi module allows remote code execution or denial of service via crafted WPA2 handshake packets.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2020-25856?

CVE-2020-25856 is a high-severity memory corruption vulnerability in Realtek RTL8195A Wi-Fi Module, published on 3 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The function DecWPA2KeyData() in the Realtek RTL8195A Wi-Fi Module prior to versions released in April 2020 (up to and excluding 2.08) does not validate the size parameter for an rtl_memcpy() operation, resulting in a stack buffer overflow which can be exploited for remote code execution or denial of service. An attacker can impersonate an Access Point and attack a vulnerable Wi-Fi client, by injecting a crafted packet into the WPA2 handshake. The attacker needs to know the network's PSK in order to exploit this.

Weakness: CWE-787, CWE-121

Which versions are affected by CVE-2020-25856?

It affects 1 product.

Products include Realtek Rtl8195a Firmware.

How do I fix CVE-2020-25856?

No fix has been published for CVE-2020-25856 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2020-25856 being exploited?

There is no known exploitation of CVE-2020-25856 in the wild and no public exploit code.

Sources

Also known as GHSA-9rrj-w544-7vw9.

Is CVE-2020-25856 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free