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.
| Package | Affected versions | Patched versions |
|---|---|---|
sqlite-vecPyPI | < 0.1.3 | 0.1.3 |
sqlite-vecnpm | < 0.1.3 | 0.1.3 |
sqlite-vecRubyGems | < 0.1.3 | 0.1.3 |
sqlite-veccrates.io | < 0.1.3 | 0.1.3 |
Affected products
5- sqlite-vec/sqlite-vecdescription
- ghsa-coords4 versions
< 0.1.3+ 3 more
- (no CPE)range: < 0.1.3
- (no CPE)range: < 0.1.3
- (no CPE)range: < 0.1.3
- (no CPE)range: < 0.1.3
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-vrcx-gx3g-j3h8ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-46488ghsaADVISORY
- github.com/VulnSphere/LLMVulnSphere/blob/main/VectorDB/sqlite-vec/OOBR_2.mdghsaWEB
- github.com/asg017/sqlite-vec/releases/tag/v0.1.3ghsaWEB
- github.com/rubysec/ruby-advisory-db/blob/master/gems/sqlite-vec/CVE-2024-46488.ymlghsaWEB
News mentions
0No linked articles in our index yet.