Host-process crash via unchecked token length
Published Sep 25, 2024 · Updated Sep 25, 2024
Heap buffer overflow in sqlite-vec 0.1.1 allows local users to crash a SQLite host process by submitting a crafted NumPy file. In npy_token_next, strncmp reads the five-byte token False without first verifying that five bytes remain in the heap-backed header buffer. Exploitation requires sqlite-vec to be loaded and the malformed buffer to reach vec_npy_each, resulting in a host-process service interruption.
Summary
What happened
Heap buffer overflow in sqlite-vec 0.1.1 allows local users to crash a SQLite host process by submitting a crafted NumPy file. In npy_token_next, strncmp reads the five-byte token False without first verifying that five bytes remain in the heap-backed header buffer. Exploitation requires sqlite-vec to be loaded and the malformed buffer to reach vec_npy_each, resulting in a host-process service interruption.
The record
- CVE
- CVE-2024-46488
- Published
- Sep 25, 2024
- Updated
- Sep 25, 2024
- Vendor
- SQLite
- Product
- sqlite-vec
- Classifications
- CWE-122, CWE-787, T1499
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 25, 2024CVE publishedPublication date reported by the CVE source.
- Sep 25, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0.1.1
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- LLMVulnSphere sqlite-vec OOBR_2 proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo