CVE-2024-46488 Heap-based Buffer Overflow in sqlite-vec
Attackers can cause a denial of service via a crafted file due to a heap buffer overflow in the sqlite-vec library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-46488?
CVE-2024-46488 is a critical memory corruption vulnerability in n/a, published on 25 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2024-46488?
9 open source packages ship an affected version, including sqlite-vec. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
sqlite-vec PyPI | All versions | 0.1.3 |
sqlite-vec PyPI | All versions | 0.1.3 |
sqlite-vec PyPI | All versions | 0.1.3 |
sqlite-vec RubyGems | All versions | 0.1.3 |
sqlite-vec RubyGems | All versions | 0.1.3 |
sqlite-vec crates.io | All versions | 0.1.3 |
3 more packages
sqlite-vec crates.io | All versions | 0.1.3 |
sqlite-vec npm | All versions | 0.1.3 |
sqlite-vec npm | All versions | 0.1.3 |
Products include Asg017 Sqlite-Vec.
How do I fix CVE-2024-46488?
Upgrade sqlite-vec to 0.1.3 or later.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-46488 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-46488 exists.
Sources
Also known as GHSA-vrcx-gx3g-j3h8, PYSEC-2026-1938.