🛡️ CVE-2026-54620 — sqlite3

🟢 CVSS 2.0 — Low ✅ No Known Exploit CWE-416 NVD
2.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

sqlite3-ruby has Use-After-Free in SQLite Aggregate Function Callbacks

Summary

Using Database#create_aggregate, #create_aggregate_handler, or Database#define_aggregator to define an aggregate function, and then using an open statement calling that function after the database has been explicitly closed will result in an invalid memory read and a segmentation fault.

Mitigation

Upgrade to sqlite3 gem v2.9.5 or later.

As a workaround, avoid using an aggregate function after closing the database.

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.

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is high, an attacker needs low-level privileges on the target. No user interaction is required. Rated impact: confidentiality low, integrity low, availability low.

Weakness class

CVE-2026-54620 is classified as CWE-416: Use After Free. Memory is used after being released, so its contents may already belong to something else.

Affected software

CVE-2026-54620 is recorded against 3 packages.

  • sqlite3 (from 2.1.0 up to 2.9.5)
  • sqlite3-ruby (from 2.1.0 up to 2.9.5)
  • unknown

Timeline and source

Published on 28 July 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

github.com (Web)
github.com (Web)
github.com (Web)
github.com (Web)
github.com (Package)
github.com (Web)
www.cve.org (Web)

Details

Severity LOW
CVSS Score 2.0
CVSS Vector 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
CWE CWE-416
Public Exploit ✅ No
Source NVD
Published 2026-07-28
Updated 2026-08-12
Modified 2026-07-28
Fix URL N/A

Affected Packages

Software From version Fixed in
sqlite3 2.1.0 2.9.5
sqlite3-ruby 2.1.0 2.9.5
unknown

Free Vulnerability Check

Is your site affected by CVE-2026-54620?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2026-54620 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.