PT-2026-65541 · Sqlite3 · Sqlite3

CVE-2026-54620

·

Published

2026-07-28

·

Updated

2026-07-28

CVSS v4.0

2.0

Low

VectorAV: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
Name of the Vulnerable Software and Affected Versions sqlite3 versions 2.1.0 through 2.9.4
Description Callbacks used for SQLite aggregate functions can be freed while still referenced during aggregation, leading to a use-after-free condition. This occurs when an open statement calling an aggregate function is used after the database has been explicitly closed, resulting in an invalid memory read and a segmentation fault. This issue can be triggered via Database#create aggregate, #create aggregate handler, or Database#define aggregator.
Recommendations Update to version 2.9.5 or later. As a temporary workaround, avoid using an aggregate function after closing the database.

Exploit

Fix

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-54620
GHSA-J7FR-3V8C-3QC3

Affected Products

Sqlite3