CVE-2020-25016Rgb-rust Project Rgb-rust
Critical 9.1 No auth needed
Follow: this CVE · Rgb-rust Project · Rgb-rust Project Rgb-rust We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- 1.6% probability of exploitation in 30 days · percentile 76
- Auth required
- No
- Published
- Aug 29, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
A safety violation was discovered in the rgb crate before 0.8.20 for Rust, leading to (for example) dereferencing of arbitrary pointers or disclosure of uninitialized memory. This occurs because structs can be treated as bytes for read and write operations.
What to do
- Apply the vendor's security update for Rgb-rust.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | rgb |
≥ 0.5.4 < 0.8.20 |
0.8.20 |
cargo update -p rgb --precise 0.8.20 |
| crates.io | rgb |
≥ 0.5.4 < 0.8.20 |
0.8.20 |
cargo update -p rgb --precise 0.8.20 |
Per OSV / GitHub Advisories (GHSA-g4rw-8m5q-6453, RUSTSEC-2020-0029). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rgb-rust_project | rgb-rust | < 0.8.20 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- rustsec.org Vendor Advisory