{"id":"UBUNTU-CVE-2026-128084","details":"sqlite3 provides Ruby bindings for the SQLite3 embedded database. Prior to 2.10.2, sqlite3-ruby casts Ruby string lengths to int before passing SQL through Database#prepare, bound String or Blob values through Statement#bind_param, and String or Blob results from Ruby-defined SQL functions and aggregates through Database#create_function and Database#create_aggregate. On 64-bit platforms, a string of 4 GiB (2^32 bytes) or larger can wrap the length so SQLite processes only a prefix. A truncated SQL string can drop trailing clauses such as a WHERE condition, while a truncated bound value matters only when the application validated the full value before binding it. Exploitation requires the application and server to accept and retain the unusually large attacker-controlled string. If a dropped SQL clause contained a bind placeholder, binding raises SQLite3::RangeException instead of running the query. This issue is fixed in version 2.10.2.","modified":"2026-11-18T11:14:54Z","published":"2026-11-13T19:19:00Z","upstream":["CVE-2026-128084"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-128084"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-128084"},{"type":"REPORT","url":"https://github.com/sparklemotion/sqlite3-ruby/commit/41059aa3ccc2c0f910d6df4fccfe36b3c3c6c649"},{"type":"REPORT","url":"https://github.com/sparklemotion/sqlite3-ruby/pull/762"},{"type":"REPORT","url":"https://github.com/sparklemotion/sqlite3-ruby/releases/tag/v2.10.2"},{"type":"REPORT","url":"https://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-4fqr-96q8-xrfx"}],"affected":[{"package":{"name":"ruby-sqlite3","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/ruby-sqlite3?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.10-1","1.3.11-1","1.3.11-1build1","1.3.11-2","1.3.11-2build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.3.11-2build1","binary_name":"ruby-sqlite3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-128084.json"}},{"package":{"name":"ruby-sqlite3","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ruby-sqlite3?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.13-1","1.3.13-1build1","1.3.13-1build2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.3.13-1build2","binary_name":"ruby-sqlite3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-128084.json"}},{"package":{"name":"ruby-sqlite3","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ruby-sqlite3?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.13-1build2","1.4.2-2build1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-sqlite3","binary_version":"1.4.2-2build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-128084.json"}},{"package":{"name":"ruby-sqlite3","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ruby-sqlite3?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.2-3","1.4.2-3build1","1.4.2-4"],"ecosystem_specific":{"binaries":[{"binary_version":"1.4.2-4","binary_name":"ruby-sqlite3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-128084.json"}},{"package":{"name":"ruby-sqlite3","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/ruby-sqlite3?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.2-4build2","1.4.2-4build3","1.4.2-4build4"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-sqlite3","binary_version":"1.4.2-4build4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-128084.json"}},{"package":{"name":"ruby-sqlite3","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/ruby-sqlite3?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.3-2","2.9.5-2"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-sqlite3","binary_version":"2.9.5-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-128084.json"}},{"package":{"name":"ruby-sqlite3","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/ruby-sqlite3?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.3-1","1.7.3-2"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-sqlite3","binary_version":"1.7.3-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-128084.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}