{"answers":{"affected":"9 open source packages ship an affected version, including sqlite-vec. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-46488 exists.","fix":"Upgrade sqlite-vec to 0.1.3 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2024-46488 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-46488 exists.\n\nAffected packages and fixed versions:\n- sqlite-vec (PyPI): affected all versions; fixed in 0.1.3\n- sqlite-vec (PyPI): affected all versions; fixed in 0.1.3\n- sqlite-vec (PyPI): affected all versions; fixed in 0.1.3\n- sqlite-vec (RubyGems): affected all versions; fixed in 0.1.3\n- sqlite-vec (RubyGems): affected all versions; fixed in 0.1.3\n- sqlite-vec (crates.io): affected all versions; fixed in 0.1.3\n- sqlite-vec (crates.io): affected all versions; fixed in 0.1.3\n- sqlite-vec (npm): affected all versions; fixed in 0.1.3\n- sqlite-vec (npm): affected all versions; fixed in 0.1.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-46488/ (Markdown: https://insights.sbomify.com/CVE-2024-46488/index.md)","id":"CVE-2024-46488","markdown":"https://insights.sbomify.com/CVE-2024-46488/index.md","name":"CVE-2024-46488","record":{"aliases":["GHSA-vrcx-gx3g-j3h8","PYSEC-2026-1938"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"SQLite vector extension","requires_auth":"none","summary":"Attackers can cause a denial of service via a crafted file due to a heap buffer overflow in the sqlite-vec library.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"sqlite-vec","vendor":"asg017"}],"cvss":{"score":9.1,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"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.","ecosystems":["PyPI","RubyGems","crates.io","npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Heap-based Buffer Overflow in sqlite-vec","id":"CVE-2024-46488","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"memory_corruption","year":"2024"},"n_packages":9,"n_references":1,"next":{"headline":"Remote command execution in promptr","id":"CVE-2024-46489"},"packages":[{"ecosystem":"PyPI","fixed":["0.1.3"],"introduced":["0"],"last_affected":[],"package":"sqlite-vec","purl":null,"source":"GHSA-vrcx-gx3g-j3h8"},{"ecosystem":"PyPI","fixed":["0.1.3"],"introduced":["0"],"last_affected":[],"package":"sqlite-vec","purl":"pkg:pypi/sqlite-vec","source":"GHSA-vrcx-gx3g-j3h8"},{"ecosystem":"PyPI","fixed":["0.1.3"],"introduced":["0"],"last_affected":[],"package":"sqlite-vec","purl":"pkg:pypi/sqlite-vec","source":"PYSEC-2026-1938"},{"ecosystem":"RubyGems","fixed":["0.1.3"],"introduced":["0"],"last_affected":[],"package":"sqlite-vec","purl":null,"source":"GHSA-vrcx-gx3g-j3h8"},{"ecosystem":"RubyGems","fixed":["0.1.3"],"introduced":["0"],"last_affected":[],"package":"sqlite-vec","purl":"pkg:gem/sqlite-vec","source":"GHSA-vrcx-gx3g-j3h8"},{"ecosystem":"crates.io","fixed":["0.1.3"],"introduced":["0"],"last_affected":[],"package":"sqlite-vec","purl":null,"source":"GHSA-vrcx-gx3g-j3h8"},{"ecosystem":"crates.io","fixed":["0.1.3"],"introduced":["0"],"last_affected":[],"package":"sqlite-vec","purl":"pkg:cargo/sqlite-vec","source":"GHSA-vrcx-gx3g-j3h8"},{"ecosystem":"npm","fixed":["0.1.3"],"introduced":["0"],"last_affected":[],"package":"sqlite-vec","purl":null,"source":"GHSA-vrcx-gx3g-j3h8"},{"ecosystem":"npm","fixed":["0.1.3"],"introduced":["0"],"last_affected":[],"package":"sqlite-vec","purl":"pkg:npm/sqlite-vec","source":"GHSA-vrcx-gx3g-j3h8"}],"prev":{"headline":"Command injection in n/a","id":"CVE-2024-46486"},"products":["n/a"],"published":"2024-09-25","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-25","vendors":["n/a"]},"summary":"Attackers can cause a denial of service via a crafted file due to a heap buffer overflow in the sqlite-vec library.","url":"https://insights.sbomify.com/CVE-2024-46488/"}