Skip to content
FlawDB
Sign in

CVE-2026-128084

MEDIUM 4.8EPSS 18%

sqlite3-ruby: Possible SQL query truncation when a string is 4 GiB or larger

Also known as GHSA-4fqr-96q8-xrfx

Mitigation

  • Upgrade sqlite3 to 2.10.2 or later.

Who should check

  • Projects that depend on RubyGems package sqlite3 (<= 2.10.1)
  • Anyone running sparklemotion sqlite3-ruby < 2.10.2

Vulnerability facts

Affected
sqlite3 <= 2.10.1
Fixed in
2.10.2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
4.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: None
EPSS
0.33% chance of exploitation in 30 days (percentile 18, 2026-11-26)
CWE
CWE-681
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
RubyGems sqlite3<= 2.10.12.10.2ghsa
sparklemotion sqlite3-ruby< 2.10.2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-128084. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-128084.md
Affected: sqlite3 <= 2.10.1
Fixed in: 2.10.2

Steps:
1. Search this machine and project for sqlite3 (RubyGems), sparklemotion sqlite3-ruby: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is CVE-2026-128084 being exploited?

There is no confirmed exploitation: CVE-2026-128084 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-128084?

Medium: CVSS 4.8 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2026-128084?

sqlite3 <= 2.10.1.

Is there a fix for CVE-2026-128084?

Yes. Fixed in 2.10.2. Upgrade sqlite3 to 2.10.2 or later.

How do I check if I'm affected by CVE-2026-128084?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors