# CVE-2021-25900

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability: affected before 0.6.14, 1.6.1 (CNA); fix release not confirmed
- Status: published
- Published: 2021-01-22 · Modified: 2024-08-03
- Aliases: MGASA-2021-0234, SUSE-SU-2021:1408-1, UBUNTU-CVE-2021-25900, DEBIAN-CVE-2021-25900, openSUSE-SU-2021:0634-1, GHSA-43w2-9j62-hq99, RUSTSEC-2021-0003
- Record: https://cvemate.com/vulnerability/CVE-2021-25900 · JSON: https://cvemate.com/vulnerability/CVE-2021-25900/json

## Description

```text
An issue was discovered in the smallvec crate before 0.6.14 and 1.x before 1.6.1 for Rust. There is a heap-based buffer overflow in SmallVec::insert_many.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.72%, percentile 78.268%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- Crates.Io smallvec (Crates.Io): ≥ 0.6.3, \< 0.6.14 \| ≥ 1.0.0, \< 1.6.1
- debian rust-smallvec (Debian): \< 1.4.2-2
- ubuntu rust-smallvec (Ubuntu): All versions (No fix recorded)
- mageia librsvg (Mageia): \< 2.45.5-3.2.mga7
- opensuse librsvg&distro=openSUSE Leap 15.2 (openSUSE): \< 2.46.5-lp152.2.3.1
- suse librsvg&distro=SUSE Linux Enterprise Module for Basesystem 15 SP2 (SUSE Linux Enterprise): \< 2.46.5-3.3.1
- suse librsvg&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP2 (SUSE Linux Enterprise): \< 2.46.5-3.3.1
- servo smallvec: ≥ 0.6.3, \< 0.6.14 \| ≥ 1.0.0, \< 1.6.1

## References

- <https://rustsec.org/advisories/RUSTSEC-2021-0003.html>
- <https://advisories.mageia.org/MGASA-2021-0234.html>
- <https://bugs.mageia.org/show_bug.cgi?id=29055>
- <https://github.com/servo/rust-smallvec/commit/5757ac500d4e544485d796b542e4e589749c291b>
- <https://www.suse.com/support/update/announcement/2021/suse-su-20211408-1/>
- <https://bugzilla.suse.com/1183403>
- <https://www.suse.com/security/cve/CVE-2021-25900>
- <https://ubuntu.com/security/CVE-2021-25900>
- <https://github.com/servo/rust-smallvec/issues/252>
- <https://www.cve.org/CVERecord?id=CVE-2021-25900>
- <https://security-tracker.debian.org/tracker/CVE-2021-25900>
- <https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/HJTKYUPH7JWPY376WTC427MFFFZQ7U7L/>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-25900>
- <https://github.com/servo/rust-smallvec/commit/9998ba0694a6b51aa6604748b00b6a98f0a0039e>
- <https://github.com/servo/rust-smallvec>
- <https://crates.io/crates/smallvec>

---

Data as of 2026-12-05T09:22:00.600Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
