CVE-2020-25016 Out of bounds access in rgb
CriticalCVSS 9.1
EPSS 1.6%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
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.
Upgrade path
11 packages: 5 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/rust-rgb(Ubuntu 20.04) | = 0.8.11-1; All versions | No fix listed | No fix yet |
| ubuntu/rust-rgb(Ubuntu 22.04) | = 0.8.11-1; All versions | No fix listed | No fix yet |
| ubuntu/rust-rgb(Ubuntu 24.04) | = 0.8.36-1; All versions | No fix listed | No fix yet |
| ubuntu/rust-rgb(Ubuntu 25.10) | = 0.8.50-1; All versions | No fix listed | No fix yet |
| ubuntu/rust-rgb(Ubuntu 26.04) | = 0.8.50-1; = 0.8.52-1; All versions | No fix listed | No fix yet |
| ubuntu/rust-rgb(Ubuntu 26.10) | = 0.8.52-1; = 0.8.53-1; All versions | No fix listed | No fix yet |
| crates.io rgb(crates.io) | >= 0.5.4, < 0.8.20 | 0.8.20 | Fixed |
| debian/rust-rgb(Debian 12) | < 0.8.36-1 | 0.8.36-1 | Fixed |
| debian/rust-rgb(Debian 13) | < 0.8.36-1 | 0.8.36-1 | Fixed |
| debian/rust-rgb(Debian 14) | < 0.8.36-1 | 0.8.36-1 | Fixed |
| rgb-rust project rgb-rust | < 0.8.20 | 0.8.20 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io rgb(crates.io) | >= 0.5.4, < 0.8.20 | 0.8.20 |
| debian/rust-rgb(Debian:12) | < 0.8.36-1 | 0.8.36-1 |
| debian/rust-rgb(Debian:13) | < 0.8.36-1 | 0.8.36-1 |
| debian/rust-rgb(Debian:14) | < 0.8.36-1 | 0.8.36-1 |
| rgb-rust project rgb-rust | < 0.8.20 | 0.8.20 |
| ubuntu/rust-rgb(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/rust-rgb(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/rust-rgb(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/rust-rgb(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/rust-rgb(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/rust-rgb(Ubuntu:20.04) | = 0.8.11-1 | No fix listed |
| ubuntu/rust-rgb(Ubuntu:22.04) | = 0.8.11-1 | No fix listed |
| ubuntu/rust-rgb(Ubuntu:24.04) | = 0.8.36-1 | No fix listed |
| ubuntu/rust-rgb(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/rust-rgb(Ubuntu:25.10) | = 0.8.50-1 | No fix listed |
| ubuntu/rust-rgb(Ubuntu:26.10) | = 0.8.52-1 | No fix listed |
| ubuntu/rust-rgb(Ubuntu:26.10) | = 0.8.53-1 | No fix listed |
| ubuntu/rust-rgb(Ubuntu:26.04) | = 0.8.50-1 | No fix listed |
| ubuntu/rust-rgb(Ubuntu:26.04) | = 0.8.52-1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit issue-tracking third-party-advisory
- rustsec.org issue-tracking vendor-advisory
- github.com
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- github.com product
- crates.io product
- Debian Security Tracker CVE-2020-25016 vendor-advisory
- bugs.debian.org issue-tracking