CVE-2026-44983
Received Received - Intake
Integer Overflow Leading to Heap Buffer Overflow in smallbitvec

Publication date: 2026-05-26

Last updated on: 2026-05-26

Assigner: GitHub, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-26
Last Modified
2026-05-26
Generated
2026-05-27
AI Q&A
2026-05-27
EPSS Evaluated
N/A
NVD
Affected Vendors & Products
Showing 3 associated CPEs
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
CWE Icon
KEV
KEV Icon
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.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart