Heap-based Buffer Overflow Affecting rust-smallbitvec package, versions <2.6.1-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.15% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN14-RUSTSMALLBITVEC-17099296
  • published30 May 2026
  • disclosed26 May 2026

Introduced: 26 May 2026

CVE-2026-44983  (opens in a new tab)
CWE-122  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Debian:14 rust-smallbitvec to version 2.6.1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rust-smallbitvec package and not the rust-smallbitvec package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

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.