{"id":"CVE-2025-3277","published":"2025-04-14T16:50:48Z","modified":"2026-10-15T01:02:02Z","title":"An integer overflow can be triggered in SQLite’s `concat_ws()` function","vendor":"SQLite","product":"sqlite","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01252,"percentile":0.7016,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://sqlite.org/src/info/498e3f1cf57f164f","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-994087.html","tags":[]}],"priority":{"score":18.9,"factors":[{"name":"EPSS percentile","points":14.03},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"sqlite","affectedVersions":[{"vendor":"SQLite","product":"sqlite","versions":["< 3.49.1"]}],"capec":[{"id":"CAPEC-47","name":"Buffer Overflow via Parameter Expansion"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-14T17:15:26.733637Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-15064","exploited":false,"provenance":"source"}}