Description
An issue was discovered in the smallvec crate before 0.6.3 for Rust. The Iterator implementation mishandles destructors, leading to a double free.
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.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | rust-smallvec | No fix yet | — |
| Ubuntu 26.04 LTS | rust-smallvec | No fix yet | — |
| Ubuntu 25.10 | rust-smallvec | No fix yet | — |
| Ubuntu 24.04 LTS | rust-smallvec | No fix yet | — |
| Ubuntu 22.04 LTS | rust-smallvec | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | rust-smallvec | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP2 | librsvg | 2.42.9-3.6.1 | SUSE-SU-2021:1310-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | smallvec | >= 0.3.2, < 0.6.3 | 0.6.3 | GHSA-rxr4-x558-x7hw |
| crates.io | smallvec | >= 0.3.2, < 0.3.4 · >= 0.4.0-0, < 0.4.5 · >= 0.5.0-0, < 0.5.1 · >= 0.6.0-0, < 0.6.3 | 0.3.4, 0.4.5, 0.5.1, 0.6.3 | RUSTSEC-2018-0003 |
Advisories 1
- SUSE-SU-2021:1310-1 Security update for librsvg SUSE / openSUSE Security Updates · Feb 4, 2026