Skip to main content

EUVDEUVD-2026-49896

| CVE-2026-54619 LOW
Use After Free (CWE-416)
2026-07-28 https://github.com/sparklemotion/sqlite3-ruby GHSA-28hh-pr2h-2w89
2.0
CVSS 4.0 · Vendor: https://github.com/sparklemotion/sqlite3-ruby

Severity by source

Vendor (https://github.com/sparklemotion/sqlite3-ruby) PRIMARY
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Primary rating from Vendor (https://github.com/sparklemotion/sqlite3-ruby) · only source for this CVE.

CVSS VectorVendor: https://github.com/sparklemotion/sqlite3-ruby

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

3
CVSS changed
Jul 28, 2026 - 17:22 NVD
2.0 (LOW)
Source Code Evidence Fetched
Jul 28, 2026 - 16:54 vuln.today
Analysis Generated
Jul 28, 2026 - 16:54 vuln.today

DescriptionCVE.org

Summary

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.

Mitigation

Upgrade to sqlite3 gem v2.9.5 or later.

As a workaround, avoid defining multiple custom functions with the same name (varying numbers of arguments or encoding).

Severity

The sqlite3-ruby maintainers assess this as Low severity. It is reliably triggered after GC when code is structured in a particular way. There is no known general exploit that could be used as a denial of service attack.

AnalysisAI

A use-after-free vulnerability in the sqlite3-ruby gem allows an attacker to crash the Ruby process by defining a custom SQLite function with the same name but a different number of arguments or text encoding, leading to an invalid memory read and segmentation fault. The issue affects versions prior to 2.9.5 and was assessed as low severity by the maintainers due to the specific code pattern required for exploitation.

Share

EUVD-2026-49896 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy