Library that implements an embeddable SQL database engine
Go to file
RHEL Packaging Agent 606ce330da Fix CVE-2026-11822 in sqlite fts5 index
Backport two upstream commits (79db323ce149, eb83e32cef6a)
fixing CVE-2026-11822 in the fts5 full-text search extension.

The first fix corrects a buffer overwrite in fts5LeafRead by
checking pRet->szLeaf instead of pRet->nn in the corruption
guard. The second fix adds a bounds check in fts5LeafSeek to
prevent out-of-bounds access when processing corrupt term data.

Both patches were adapted for sqlite 3.46.1 by replacing newer
upstream macros with the equivalent error-handling pattern used
in this version.

CVE: CVE-2026-11822
Upstream patches:
 - https://github.com/sqlite/sqlite/commit/79db323ce149.patch
 - https://github.com/sqlite/sqlite/commit/eb83e32cef6a.patch
Resolves: RHEL-218240

This commit was backported by Ymir, a Red Hat Enterprise Linux software maintenance AI agent.

Assisted-by: Ymir
2026-08-11 14:17:29 +02:00
.fmf Enable tmt CI tests, remove obsolete STI test 2022-03-21 17:34:26 +01:00
.gitignore Updated to version 3.12.2 2016-04-25 10:04:06 +02:00
ci.fmf CVE-2025-3277 Integer overflow 2025-04-15 15:59:15 +02:00
gating.yaml Fix CVE-2025-6965 2025-08-30 05:47:45 +02:00
plans.fmf Fix CVE-2025-6965 2025-08-30 05:47:45 +02:00
rpminspect.yaml CVE-2025-3277 Integer overflow 2025-04-15 15:59:15 +02:00
sources Update to 3.46.1 2024-08-20 15:40:48 +02:00
sqlite-3.6.23-lemon-system-template.patch rebase to upstream version 3.43.0 2023-08-31 10:31:06 +02:00
sqlite-cve-2025-3277.patch CVE-2025-3277 Integer overflow 2025-04-15 15:59:15 +02:00
sqlite-cve-2025-6965.patch Fix CVE-2025-6965 2025-08-30 05:47:45 +02:00
sqlite-cve-2026-11822.patch Fix CVE-2026-11822 in sqlite fts5 index 2026-08-11 14:17:29 +02:00
sqlite-cve-2026-11824.patch Fix CVE-2026-11824: fts5 buffer overwrite on corrupt records 2026-08-11 14:16:43 +02:00
sqlite.spec Fix CVE-2026-11822 in sqlite fts5 index 2026-08-11 14:17:29 +02:00
STAGE2-sqlite Adding STAGE2 bootstrap recipe 2015-11-05 17:22:29 +01:00