Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. sqlite3-ruby
  4. ›
  5. CVE-2026-54619

CVE-2026-54619: sqlite3-ruby has Use-After-Free When Redefining SQLite Functions with Different Arity

July 28, 2026

Using Database#create_function or Database#define_function to define the same function name more than once with different numbers of arguments (“arity”) or text encodings will result in a invalid memory read and a segmentation fault.

References

  • github.com/advisories/GHSA-28hh-pr2h-2w89
  • github.com/rubysec/ruby-advisory-db/blob/master/gems/sqlite3/CVE-2026-54619.yml
  • github.com/sparklemotion/sqlite3-ruby/commit/2bd436d17f77cdd4c31b00fe9d50b0d21cbaf033
  • github.com/sparklemotion/sqlite3-ruby/pull/710
  • github.com/sparklemotion/sqlite3-ruby/releases/tag/v2.9.5
  • github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-28hh-pr2h-2w89
  • nvd.nist.gov/vuln/detail/CVE-2026-54619
  • www.cve.org/CVERecord/SearchResults?query=CVE-2026-54619

Code Behaviors & Features

Detect and mitigate CVE-2026-54619 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.9.5

Fixed versions

  • 2.9.5

Solution

Upgrade to version 2.9.5 or above.

Impact 4.5 MEDIUM

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-416: Use After Free

Source file

gem/sqlite3-ruby/CVE-2026-54619.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 29 Jul 2026 12:20:12 +0000.