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

- Severity: Low 2.0 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-07-28T16:21:20.943Z
- Modified: 2026-10-23T23:10:00.157Z
- Also known as: GHSA-28hh-pr2h-2w89
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

sqlite3 provides Ruby bindings for the SQLite3 embedded database. In version 2.9.4 and earlier, redefining a SQLite function with a different arity frees the previously registered function handler while SQLite may still reference it, resulting in a use-after-free. This issue is fixed in version 2.9.5.

(As written by CVE List.)

## Affected

- sparklemotion sqlite3-ruby: < 2.9.5
- sqlite3-ruby (RubyGems): before 2.9.5
- sqlite3 (RubyGems): before 2.9.5

## Every score

- GitHub_M: CVSS:4.0 2.0 Low `CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`

## References

- <https://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-28hh-pr2h-2w89> (web)
- <https://github.com/sparklemotion/sqlite3-ruby/pull/710> (web)
- <https://github.com/sparklemotion/sqlite3-ruby/commit/2bd436d17f77cdd4c31b00fe9d50b0d21cbaf033> (web)
- <https://github.com/sparklemotion/sqlite3-ruby/releases/tag/v2.9.5> (web)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sqlite3/CVE-2026-54619.yml> (web)
- <https://github.com/sparklemotion/sqlite3-ruby> (package)
- <https://www.cve.org/CVERecord/SearchResults?query=CVE-2026-54619> (web)

## Sources

- CVE List: [CVE-2026-54619](https://www.cve.org/CVERecord?id=CVE-2026-54619), CVE Terms of Use, modified 2026-07-28
- GitHub Advisory Database: [GHSA-28hh-pr2h-2w89](https://github.com/advisories/GHSA-28hh-pr2h-2w89), CC-BY-4.0, modified 2026-07-28
- NVD: [CVE-2026-54619](https://nvd.nist.gov/vuln/detail/CVE-2026-54619), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-54619 · Whole record: https://cve.day/CVE-2026-54619.json · Rebuilt by cve.day 2026-11-25T22:59:30.355Z
