PT-2026-39309 · Pypi · Smallbitvec

Ksj1230

·

Published

2026-05-09

·

Updated

2026-05-27

·

CVE-2026-44983

CVSS v3.1

7.3

High

VectorAV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Name of the Vulnerable Software and Affected Versions smallbitvec (affected versions not specified)
Description An integer overflow occurs during the internal capacity calculation within the buffer len(cap) function. When the cap variable is close to usize::MAX, unchecked arithmetic causes the value to wrap around in release builds, leading to an undersized heap allocation. This creates a discrepancy where internal metadata reflects a larger size than the actual allocated buffer. Consequently, safe API calls such as set, push, and reserve perform index computations based on this corrupted metadata, resulting in out-of-bounds memory access and a heap buffer overflow.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Heap Based Buffer Overflow

Integer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-44983
GHSA-97WC-2HQC-CJGR

Affected Products

Smallbitvec