faiss-cpu is vulnerable to Out-of-Bounds Write
66
CVE Score
Medium
Out-of-Bounds Write
Faiss reads serialized index files in its index deserialization paths and uses attacker-controlled header fields, sizes, and offsets without fully validating them. Loading a crafted index can trigger integer-overflow-driven undersized allocations followed by out-of-bounds reads and writes, null pointer dereferences, unbounded recursion, and excessive memory or CPU consumption. Before the fix these malformed inputs could corrupt heap memory or crash the process while an index is being loaded. The release adds overflow-checked size arithmetic, bounds and null validation for reconstruction and stored codes, and recursion and allocation limits when reading indexes.
Upgrade the faiss-cpu library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application loads serialized Faiss indexes from untrusted or externally influenced sources.
1.5.3 - 1.14.3
Fixed in 1.15.0faiss-cpu is vulnerable to Out-of-Bounds Write in versions 1.5.3 - 1.14.3.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.