CRITICAL9.1
PYSEC-2026-1938
Heap-based Buffer Overflow in sqlite-vec
Quick fix
PYSEC-2026-1938 — sqlite-vec: upgrade to the fixed version with the command below.
pip install --upgrade 'sqlite-vec>=0.1.3'Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-46488[ADVISORY]
- https://github.com/VulnSphere/LLMVulnSphere/blob/main/VectorDB/sqlite-vec/OOBR_2.md[WEB]
- https://github.com/advisories/GHSA-vrcx-gx3g-j3h8[ADVISORY]
- https://github.com/asg017/sqlite-vec[PACKAGE]
- https://github.com/asg017/sqlite-vec/releases/tag/v0.1.3[WEB]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sqlite-vec/CVE-2024-46488.yml[WEB]
- https://pypi.org/project/sqlite-vec[PACKAGE]