Skip to content
OpenAdvisories
Critical · 9.1 CVE-2020-25016 EUVD-2021-1710GHSA-g4rw-8m5q-6453RUSTSEC-2020-0029

Out of bounds access in rgb

Published Aug 29, 2020 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rust-rgb 0.8.36-1 —
Debian 13 rust-rgb 0.8.36-1 —
Debian 12 rust-rgb 0.8.36-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rust-rgb No fix yet —
Ubuntu 26.04 LTS rust-rgb No fix yet —
Ubuntu 25.10 rust-rgb No fix yet —
Ubuntu 24.04 LTS rust-rgb No fix yet —
Ubuntu 22.04 LTS rust-rgb No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS rust-rgb No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io rgb >= 0.5.4, < 0.8.20 0.8.20 GHSA-g4rw-8m5q-6453

References