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

Critical 9.1 Published Updated

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.

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2024-46488?

9 open source packages ship an affected version, including sqlite-vec. It affects 1 product.

PackageAffectedFixed in
sqlite-vec PyPIAll versions0.1.3
sqlite-vec PyPIAll versions0.1.3
sqlite-vec PyPIAll versions0.1.3
sqlite-vec RubyGemsAll versions0.1.3
sqlite-vec RubyGemsAll versions0.1.3
sqlite-vec crates.ioAll versions0.1.3
3 more packages
sqlite-vec crates.ioAll versions0.1.3
sqlite-vec npmAll versions0.1.3
sqlite-vec npmAll versions0.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.

Is CVE-2024-46488 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free