{"answers":{"affected":"1 open source package ship an affected version, including sqlite. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-3277 in the wild and no public exploit code.","fix":"Upgrade sqlite to 3.49.1 or later.","what":"CVE-2025-3277 is a medium-severity vulnerability in Sqlite Sqlite, published on 14 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-3277 and fix it if it is affected.\n\nWhat it is: CVE-2025-3277 is a medium-severity vulnerability in Sqlite Sqlite, published on 14 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-3277 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- sqlite (Bitnami): affected from 3.44.0; fixed in 3.49.1\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-2025-3277/ (Markdown: https://insights.sbomify.com/CVE-2025-3277/index.md)","id":"CVE-2025-3277","markdown":"https://insights.sbomify.com/CVE-2025-3277/index.md","name":"CVE-2025-3277","record":{"aliases":["ALPINE-CVE-2025-3277","ALSA-2025:7517","BELL-CVE-2025-3277","BIT-sqlite-2025-3277","DEBIAN-CVE-2025-3277","GHSA-g2ph-wvc2-ph4v","MINI-5vhh-5ppp-9fc3","RHSA-2025:7517","RLSA-2025:7517","ROOT-OS-ALPINE-319-CVE-2025-3277","ROOT-OS-ALPINE-320-CVE-2025-3277","UBUNTU-CVE-2025-3277"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"SQLite database library","requires_auth":"none","summary":"An integer overflow in SQLite's concat_ws function leads to a heap buffer overflow, allowing attackers to execute arbitrary code.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Google","cpe":[{"product":"sqlite","vendor":"sqlite"}],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L","version":"4.0"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":"An integer overflow can be triggered in SQLite’s `concat_ws()` function. The resulting, truncated integer is then used to allocate a buffer. When SQLite then writes the resulting string to the buffer, it uses the original, untruncated size and thus a wild Heap Buffer overflow of size ~4GB can be triggered. This can result in arbitrary code execution.","ecosystems":["AlmaLinux:10","Bitnami","Red Hat:enterprise_linux:10.0","Rocky Linux:10"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Integer overflow in sqlite","id":"CVE-2025-3277","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"sqlite:sqlite","products":["sqlite:sqlite"],"type":"integer_overflow","year":"2025"},"n_packages":15,"n_references":1,"next":{"headline":"UrbanGo Membership \u003c= 1.0.4 - Unauthenticated Privilege Escalation","id":"CVE-2025-3278"},"packages":[{"ecosystem":"Bitnami","fixed":["3.49.1"],"introduced":["3.44.0"],"last_affected":[],"package":"sqlite","purl":"pkg:bitnami/sqlite","source":"BIT-sqlite-2025-3277"},{"ecosystem":"AlmaLinux:10","fixed":["3.46.1-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"sqlite","purl":"pkg:rpm/almalinux/sqlite","source":"ALSA-2025:7517"},{"ecosystem":"AlmaLinux:10","fixed":["3.46.1-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"sqlite-devel","purl":"pkg:rpm/almalinux/sqlite-devel","source":"ALSA-2025:7517"},{"ecosystem":"AlmaLinux:10","fixed":["3.46.1-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"sqlite-libs","purl":"pkg:rpm/almalinux/sqlite-libs","source":"ALSA-2025:7517"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.46.1-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"lemon-debuginfo","purl":"pkg:rpm/redhat/lemon-debuginfo","source":"RHSA-2025:7517"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.46.1-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"sqlite","purl":"pkg:rpm/redhat/sqlite","source":"RHSA-2025:7517"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.46.1-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"sqlite-analyzer-debuginfo","purl":"pkg:rpm/redhat/sqlite-analyzer-debuginfo","source":"RHSA-2025:7517"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.46.1-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"sqlite-debuginfo","purl":"pkg:rpm/redhat/sqlite-debuginfo","source":"RHSA-2025:7517"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.46.1-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"sqlite-debugsource","purl":"pkg:rpm/redhat/sqlite-debugsource","source":"RHSA-2025:7517"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.46.1-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"sqlite-devel","purl":"pkg:rpm/redhat/sqlite-devel","source":"RHSA-2025:7517"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.46.1-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"sqlite-libs","purl":"pkg:rpm/redhat/sqlite-libs","source":"RHSA-2025:7517"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.46.1-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"sqlite-libs-debuginfo","purl":"pkg:rpm/redhat/sqlite-libs-debuginfo","source":"RHSA-2025:7517"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.46.1-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"sqlite-tcl-debuginfo","purl":"pkg:rpm/redhat/sqlite-tcl-debuginfo","source":"RHSA-2025:7517"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.46.1-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"sqlite-tools-debuginfo","purl":"pkg:rpm/redhat/sqlite-tools-debuginfo","source":"RHSA-2025:7517"},{"ecosystem":"Rocky Linux:10","fixed":["0:3.46.1-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"sqlite","purl":"pkg:rpm/rocky-linux/sqlite?distro=rocky-linux-10-0\u0026epoch=0","source":"RLSA-2025:7517"}],"prev":{"headline":"SKT Blocks – Gutenberg based Page Builder \u003c= 1.9 - Authenticated (Contributor+) Stored Cross-Site Scripting","id":"CVE-2025-3276"},"products":["sqlite"],"published":"2025-04-14","related":[{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2015-5895","kev_date_added":null,"published":"2015-09-18"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-10989","kev_date_added":null,"published":"2017-07-07"},{"cvss_score":8.5,"headline":"SQLite before 3.53.2 Memory Corruption in FTS5 Extension","id":"CVE-2026-11822","kev_date_added":null,"published":"2026-06-09"},{"cvss_score":8.5,"headline":"SQLite before 3.53.2 Heap Buffer Overflow via FTS5 fts5ChunkIterate","id":"CVE-2026-11824","kev_date_added":null,"published":"2026-06-09"},{"cvss_score":7.5,"headline":"Information disclosure in n/a","id":"CVE-2025-70873","kev_date_added":null,"published":"2026-03-12"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2021-31239","kev_date_added":null,"published":"2023-05-09"},{"cvss_score":7.5,"headline":"Null dereference in sqlite","id":"CVE-2020-35525","kev_date_added":null,"published":"2022-09-01"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-15","vendors":["SQLite"]},"summary":"An integer overflow in SQLite's concat_ws function leads to a heap buffer overflow, allowing attackers to execute arbitrary code.","url":"https://insights.sbomify.com/CVE-2025-3277/"}