{"schemaVersion":3,"id":"CVE-2025-29087","aliases":["ALPINE-CVE-2025-29087","UBUNTU-CVE-2025-29087","DEBIAN-CVE-2025-29087"],"status":"published","duplicateOf":null,"title":null,"description":"In SQLite 3.44.0 through 3.49.0 before 3.49.1, the concat_ws() SQL function can cause memory to be written beyond the end of a malloc-allocated buffer. If the separator argument is attacker-controlled and has a large string (e.g., 2MB or more), an integer overflow occurs in calculating the size of the result buffer, and thus malloc may not allocate enough memory.","dates":{"published":"2025-04-07T00:00:00.000Z","modified":"2026-10-15T01:05:57.161Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.2,"severity":"low","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00523,"percentile":0.43181,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.014999999999999996,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00508},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00523,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00523,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00523,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00523,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00523,"percentile":0.43181}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00523,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00523,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00523,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00523,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00523,"percentile":0.43181}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.html"}],"affected":[{"vendor":"alpine","product":"sqlite","name":"sqlite","label":"sqlite","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/sqlite","purlType":"apk","versions":[{"text":"≥ 3.44.0, < 3.44.2-r1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.44.0, < 3.45.3-r2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.44.0, < 3.48.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.44.0, < 3.44.2-r1 | ≥ 3.44.0, < 3.45.3-r2 | ≥ 3.44.0, < 3.48.0-r1","eol":null,"hubHref":null},{"vendor":"debian","product":"sqlite3","name":"sqlite3","label":"sqlite3","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/sqlite3","purlType":"deb","versions":[{"text":"< 3.46.1-3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.46.1-3","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"sqlite3","name":"sqlite3","label":"sqlite3","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/sqlite3","purlType":"deb","versions":[{"text":"< 3.45.1-1ubuntu2.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.45.1-1ubuntu2.3","eol":null,"hubHref":null},{"vendor":"sqlite","product":"sqlite","name":"sqlite","label":"sqlite","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.44.0, < 3.49.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.44.0, < 3.49.1","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"sqlite","label":"SQLite","category":"database"}},"hubHref":"/vendor/sqlite/sqlite"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.sqlite.org/cves.html","label":"www.sqlite.org/cves.html","hostname":"www.sqlite.org","tags":["Vendor Advisory"]},{"url":"https://gist.github.com/ylwango613/a44a29f1ef074fa783e29f04a0afd62a","label":"gist.github.com/ylwango613/a44a29f1ef074fa783e29f04a0afd62a","hostname":"gist.github.com","tags":["REPORT","Third Party Advisory"]},{"url":"https://sqlite.org/releaselog/3_49_1.html","label":"sqlite.org/releaselog/3_49_1.html","hostname":"sqlite.org","tags":["Release Notes"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2025-29087","label":"security.alpinelinux.org/vuln/CVE-2025-29087","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-29087","label":"ubuntu.com/security/CVE-2025-29087","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-29087","label":"www.cve.org/CVERecord?id=CVE-2025-29087","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7528-1","label":"ubuntu.com/security/notices/USN-7528-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-29087","label":"security-tracker.debian.org/tracker/CVE-2025-29087","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","label":"cert-portal.siemens.com/productcert/html/ssa-398330.html","hostname":"cert-portal.siemens.com","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-994087.html","label":"cert-portal.siemens.com/productcert/html/ssa-994087.html","hostname":"cert-portal.siemens.com","tags":[]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2025:14991-1","SUSE-SU-2025:01455-1","SUSE-SU-2025:01456-1","SUSE-SU-2025:01456-2","SUSE-SU-2025:1455-1","SUSE-SU-2025:1456-1","SUSE-SU-2025:20323-1","SUSE-SU-2025:20395-1","USN-7528-1"],"duplicates":[],"related":["OPENSUSE-SU-2025:14991-1","SUSE-SU-2025:01455-1","SUSE-SU-2025:01456-1","SUSE-SU-2025:01456-2","SUSE-SU-2025:1455-1","SUSE-SU-2025:1456-1","SUSE-SU-2025:20323-1","SUSE-SU-2025:20395-1","USN-7528-1"]},"timeline":[{"kind":"published","date":"2025-04-07T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-15T01:05:57.161Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T23:56:47.935Z","stale":false,"partial":false}}