CVE-2020-28928 Memory corruption in n/a
A buffer overflow in musl libc's wcsnrtombs function allows attackers to cause invalid writes, potentially leading to code execution or crashes.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-28928?
CVE-2020-28928 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 24 Nov 2020. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In musl libc through 1.2.1, wcsnrtombs mishandles particular combinations of destination buffer size and source character limit, as demonstrated by an invalid write access (buffer overflow).
Weakness: CWE-787
Which versions are affected by CVE-2020-28928?
It affects 4 products.
Products include Debian Debian Linux, Fedoraproject Fedora, Musl-Libc Musl, Oracle Graalvm.
How do I fix CVE-2020-28928?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2020-28928 being exploited?
There is no known exploitation of CVE-2020-28928 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as ALPINE-CVE-2020-28928, DEBIAN-CVE-2020-28928, DLA-2474-1, GHSA-7gwx-j9qc-6c6w, UBUNTU-CVE-2020-28928.