{"cve":"CVE-2020-25016","nvd":{"published":"2020-08-29T16:15:09.720","modified":"2026-06-17T03:06:14.650","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1},"cwes":["CWE-119","CWE-843"],"references":["https://github.com/kornelski/rust-rgb/issues/35","https://rustsec.org/advisories/RUSTSEC-2020-0029.html","https://github.com/kornelski/rust-rgb/issues/35","https://rustsec.org/advisories/RUSTSEC-2020-0029.html"],"products":["rgb-rust_project:rgb-rust"],"source":"nvd","synced_at":"2026-10-19T21:09:20.498348299+00:00"},"epss":{"cve":"CVE-2020-25016","score":0.01595,"percentile":0.75725,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-g4rw-8m5q-6453","url":"https://osv.dev/vulnerability/GHSA-g4rw-8m5q-6453","summary":"Out of bounds access in rgb","modified":"2023-11-08T04:03:09.114958Z","packages":[{"ecosystem":"crates.io","name":"rgb","purl":"pkg:cargo/rgb","ranges":[">=0.5.4 <0.8.20"],"fixed":["0.8.20"]}]},{"id":"RUSTSEC-2020-0029","url":"https://osv.dev/vulnerability/RUSTSEC-2020-0029","summary":"Allows viewing and modifying arbitrary structs as bytes","modified":"2023-11-08T04:03:09.114958Z","packages":[{"ecosystem":"crates.io","name":"rgb","purl":"pkg:cargo/rgb","ranges":[">=0.5.4 <0.8.20"],"fixed":["0.8.20"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}