Description
An issue was discovered in the memoffset crate before 0.5.0 for Rust. offset_of and span_of can cause exposure of uninitialized memory.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rust-memoffset | 0.5.1-1 | — |
| Debian 13 | rust-memoffset | 0.5.1-1 | — |
| Debian 12 | rust-memoffset | 0.5.1-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | rust-memoffset | No fix yet | — |
| Ubuntu 26.04 LTS | rust-memoffset | No fix yet | — |
| Ubuntu 25.10 | rust-memoffset | No fix yet | — |
| Ubuntu 24.04 LTS | rust-memoffset | No fix yet | — |
| Ubuntu 22.04 LTS | rust-memoffset | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | rust-memoffset | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | memoffset | < 0.5.0 | 0.5.0 | GHSA-rh89-x75f-rh3c |
| crates.io | memoffset | >= 0.0.0-0, < 0.5.0 | 0.5.0 | RUSTSEC-2019-0011 |