CVE-2020-25016 json
Out of bounds access in rgb
published 6y ago modified 4mo ago also GHSA-g4rw-8m5q-6453 , RUSTSEC-2020-0029 , EUVD-2021-1710
- cvss
- 9.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io rgb 0.8.20
- rgb-rust_project rgb-rust 0.8.20
- rust-rgb Debian 14, Debian 13, Debian 12 0.8.36-1
debian advisories DEBIAN-CVE-2020-25016
Is CVE-2020-25016 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.60% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/kornelski/rust-rgb/issues/35 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
| OSV | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | rgb | >=0.5.4, <0.8.20 |
0.8.20 |
Classification
References
-
github.com
/kornelski/rust-rgb/issues/35
web, exploit, third-party-advisory, report
-
rustsec.org
/advisories/RUSTSEC-2020-0029.html
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-25016
advisory
-
github.com
/kornelski/rust-rgb
package
-
crates.io
/crates/rgb
package
Sources
- CVE List CVE-2020-25016
- GitHub Advisory GHSA-g4rw-8m5q-6453
- NVD CVE-2020-25016
- OSV RUSTSEC-2020-0029
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.