CVE-2026-44983
Integer Overflow Leading to Heap Buffer Overflow in smallbitvec
Publication date: 2026-05-26
Last updated on: 2026-05-26
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| smallbitvec | smallbitvec | to 2.6.0 (inc) |
| smallbitvec | smallbitvec | 2.6.1 |
| smallbitvec | smallbitvec | From 1.0.1 (inc) to 2.6.1 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-190 | The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number. |
| CWE-122 | A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
The vulnerability exists in the smallbitvec Rust library versions 1.0.1 to 2.6.0. It is caused by an integer overflow in the internal capacity calculation, which leads to an undersized heap allocation. This results in a heap buffer overflow that can be triggered through safe APIs without requiring the caller to use unsafe code.
How can this vulnerability impact me? :
This vulnerability can lead to memory corruption due to a heap buffer overflow. Such memory corruption can cause application crashes, data corruption, or potentially allow an attacker to execute arbitrary code or escalate privileges, depending on the context in which the library is used.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, you should upgrade the smallbitvec library to version 2.6.1 or later, where the integer overflow and resulting heap buffer overflow have been fixed.
Avoid using versions from 1.0.1 to 2.6.0, as they are vulnerable to this issue.