Skip to main content

CVE-2024-46488 — Heap-based Buffer Overflow in sqlite-vec

HIGH

Heap-based Buffer Overflow in sqlite-vec

Published September 25, 2024Updated July 7, 2026Source: OSV

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.

Check my Cargo.lock

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 sqlite-vec to 0.1.3 or later
cargo update -p sqlite-vec --precise 0.1.3
pip
Update sqlite-vec to 0.1.3 or later
pip install "sqlite-vec>=0.1.3"
Bundler
Update sqlite-vec to 0.1.3 or later
gem install sqlite-vec -v 0.1.3
npm
Update sqlite-vec to 0.1.3 or later
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).

PackageFixed In
sqlite-vec crates.io · Affected: All versions0.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 versions0.1.3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

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

CVSS Score
9.1

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
0.54%
EPSS percentile: 38.9

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

GHSA-vrcx-gx3g-j3h8
PYSEC-2026-1938

Related CVEs

  • CVE-2026-128139
    HIGH

    NLTK: XMLCorpusView comment and CDATA parsing permits quadratic CPU denial of service

  • CVE-2026-129222
    HIGH

    Natural Language Toolkit (NLTK): Uncontrolled recursion (crash DoS) in DependencyGraph.tree()/triples()

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my Cargo.lock