CVE-2024-46488 — Heap-based Buffer Overflow in sqlite-vec
Heap-based Buffer Overflow in sqlite-vec
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.54%). Schedule for your next planned update.
Does your project use an affected sqlite-vec version?
Paste your Cargo.lock to check it for CVE-2024-46488 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
sqlite-vec v0.1.1 was discovered to contain a heap buffer overflow via the npy_token_next function. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted file.
Advisory Timeline
- First published September 25, 2024 (792 days ago).
- Last revised July 7, 2026 — 650 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p sqlite-vec --precise 0.1.3
pip install "sqlite-vec>=0.1.3"
gem install sqlite-vec -v 0.1.3
npm install sqlite-vec@0.1.3
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 4 ecosystems: crates.io (1), npm (1), PyPI (1), RubyGems (1).
| Package | Fixed In |
|---|---|
| sqlite-vec crates.io · Affected: All versions | 0.1.3 |
| sqlite-vec PyPI · Affected: 0.0.1a10, 0.0.1a12, 0.0.1a13, 0.0.1a14 (+43 more) | 0.1.3 |
| sqlite-vec RubyGems · Affected: 0.0.1.alpha.10, 0.0.1.alpha.12, 0.0.1.alpha.13, 0.0.1.alpha.14 (+44 more) | 0.1.3 |
| sqlite-vec npm · Affected: All versions | 0.1.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-122
- CWE-787Out-of-bounds WriteMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-46488ADVISORY
- https://github.com/VulnSphere/LLMVulnSphere/blob/main/VectorDB/sqlite-vec/OOBR_2.mdWEB
- https://github.com/advisories/GHSA-vrcx-gx3g-j3h8ADVISORY
- https://github.com/asg017/sqlite-vecPACKAGE
- https://github.com/asg017/sqlite-vec/releases/tag/v0.1.3WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sqlite-vec/CVE-2024-46488.ymlWEB
Frequently Asked Questions
- What is CVE-2024-46488?
- Heap-based Buffer Overflow in sqlite-vec. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 9.1/10).
- How do I check if my project is affected by CVE-2024-46488?
- CVE-2024-46488 affects sqlite-vec. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-46488 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is a below-median EPSS score — only 38.9% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-128139HIGH
NLTK: XMLCorpusView comment and CDATA parsing permits quadratic CPU denial of service
- CVE-2026-129222HIGH
Natural Language Toolkit (NLTK): Uncontrolled recursion (crash DoS) in DependencyGraph.tree()/triples()