CVE-2020-35881 Out of bounds write in traitobject
A memory corruption vulnerability in the Rust traitobject crate allows attackers to potentially execute arbitrary code or cause denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-35881?
CVE-2020-35881 is a critical memory corruption vulnerability in n/a, published on 31 Dec 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in the traitobject crate through 2020-06-01 for Rust. It has false expectations about fat pointers, possibly causing memory corruption in, for example, Rust 2.x.
Weakness: CWE-787
Which versions are affected by CVE-2020-35881?
3 open source packages ship an affected version, including traitobject. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
traitobject crates.io | All versions to 0.1.0 | None |
traitobject crates.io | All versions to 0.1.0 | None |
traitobject crates.io | From 0.0.0-0 | None |
Linux distribution packages (1)
aws-efs-utils openSUSE:Tumbleweed | All versions | 2.2.1-1.1 |
Products include Traitobject Project Traitobject.
How do I fix CVE-2020-35881?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2020-35881 being exploited?
There is no known exploitation of CVE-2020-35881 in the wild and no public exploit code.
Sources
Also known as GHSA-j79j-cx3h-g27h, RUSTSEC-2020-0027, openSUSE-SU-2025:14951-1.