VYPR
High severityNVD Advisory· Published Sep 25, 2024· Updated Sep 25, 2024

CVE-2024-46488

CVE-2024-46488

Description

Heap buffer overflow in sqlite-vec v0.1.1 npy_token_next function allows denial of service via crafted .npy file.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Heap buffer overflow in sqlite-vec v0.1.1 npy_token_next function allows denial of service via crafted .npy file.

## Vulnerability sqlite-vec v0.1.1, a vector search SQLite extension, contains a heap buffer overflow in the npy_token_next function used to parse NumPy (.npy) files [2]. The flaw occurs when the function matches the string "False" using strncmp without proper bounds checking, leading to an out-of-bounds read beyond the input buffer [1]. This is triggered during parsing of a crafted .npy file.

Exploitation

An attacker can supply a specially crafted .npy file to an application that uses sqlite-vec to load vector data [2]. No authentication or special privileges are required if the application processes user-provided files. The vulnerability is reachable via the parse_npy_header function, which initializes a scanner and calls the vulnerable npy_token_next [2].

Impact

Successful exploitation results in a heap buffer overflow, causing a crash and denial of service [1][4]. The CVSS score reflects high availability impact [1].

Mitigation

As of the advisory, no official patch has been released [1]. The project is pre-v1 and may undergo breaking changes [3]. Users should avoid processing untrusted .npy files with sqlite-vec until a fix is available.

AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
sqlite-vecPyPI
< 0.1.30.1.3
sqlite-vecnpm
< 0.1.30.1.3
sqlite-vecRubyGems
< 0.1.30.1.3
sqlite-veccrates.io
< 0.1.30.1.3

Affected products

5

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

5

News mentions

0

No linked articles in our index yet.