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.
https://sqlite.org/src/info/f6108e2fbdddfa03
https://sqlite.org/src/info/c12ff342a90c61a0
https://sqlite.org/releaselog/3_53_2.html
https://sqlite.org/bugs/info/2026-05-31T11:43:05Z
https://github.com/sqlite/sqlite/commit/1cd9eb3811e48f7e01474608500b789e5b8bf6bc
https://github.com/sqlite/sqlite/blob/version-3.53.1/ext/misc/zipfile.c#L893
https://github.com/sqlite/sqlite/blob/version-3.53.1/ext/misc/zipfile.c#L1855