Skip to content
OpenAdvisories
High · 7.3 CVE-2026-44983 EUVD-2026-32015GHSA-97wc-2hqc-cjgr

smallbitvec: Safe API Triggered Heap Buffer Overflow via Integer Overflow

Published May 26, 2026 · Updated May 27, 2026 · Assigned by GitHub_M

Description

smallbitvec is a growable bit-vector for Rust, optimized for size. From 1.0.1 to 2.6.0, an integer overflow in the internal capacity calculation of smallbitvec can lead to an undersized heap allocation, resulting in a heap buffer overflow through safe APIs only. This allows memory corruption without requiring unsafe code from the caller. This vulnerability is fixed in 2.6.1.

Affected products

VendorProductAffectedFixed
servo smallbitvec >= 1.0.1, < 2.6.1 —

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-smallbitvec 2.6.1-1 —
Debian 13 rust-smallbitvec No fix yet —
Debian 12 rust-smallbitvec No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rust-smallbitvec No fix yet —
Ubuntu 26.04 LTS rust-smallbitvec No fix yet —
Ubuntu 25.10 rust-smallbitvec No fix yet —
Ubuntu 24.04 LTS rust-smallbitvec No fix yet —
Ubuntu 22.04 LTS rust-smallbitvec No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io smallbitvec >= 1.0.1, <= 2.6.0 — GHSA-97wc-2hqc-cjgr

References