Integer Overflow or Wraparound Affecting smallbitvec package, versions >=1.0.1 <2.6.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-SMALLBITVEC-16624672
  • published10 May 2026
  • disclosed9 May 2026
  • creditksj1230

Introduced: 9 May 2026

NewCVE-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 smallbitvec to version 2.6.1 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound due to unchecked arithmetic in the internal buffer_len function. An attacker can cause memory corruption and potentially execute arbitrary code by triggering an integer overflow that results in an undersized heap allocation, leading to out-of-bounds memory access through safe API calls such as set, push, or reserve.

CVSS Base Scores

version 4.0
version 3.1