CVE-2026-145576: SQLite 3.23.0 before 3.53.2 Heap Buffer Over-Read via zipfile Extension
SQLite 3.23.0 before 3.53.2 contains a heap buffer over-read vulnerability in the zipfile extension that allows attackers to leak heap memory via embedded NUL bytes in ZIP entry filenames. Attackers can supply a crafted ZIP archive that, when modified and committed through the zipfile virtual table, causes zipfileSerializeCDS() to copy up to 64 KiB of adjacent heap memory into the rewritten archive.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments using SQLite versions from 3.23.0 through versions before 3.53.2 are affected if they use the zipfile extension and process attacker-controlled ZIP archives through its virtual table.
What must an attacker do to trigger the issue?
An attacker must supply a crafted ZIP archive containing embedded NUL bytes in entry filenames. The archive must then be modified and committed through the zipfile virtual table.
What is exposed if exploitation succeeds?
The rewritten ZIP archive can contain adjacent heap memory copied by zipfileSerializeCDS(), potentially leaking up to 64 KiB of process memory.
How can I tell whether my application may be affected?
Check whether it uses the SQLite zipfile extension, accepts or handles untrusted ZIP archives, and performs modifications that are committed through the zipfile virtual table. Verify the SQLite version is earlier than 3.53.2.