ADVISORIES

Amazon Linux Security Advisory

ALAS2023-2026-3452

Amazon Linux 2023 - ALAS2023-2026-3452: Medium priority package update for sqlite

Details

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2026-119378: SQLite before 3.54.0 contains a use-after-free vulnerability in the R-Tree extension that allows attackers to make applications use freed heap memory by manipulating the %_node shadow table. Attackers can supply a database declaring %_node WITHOUT ROWID or with a RAISE(IGNORE) trigger so nodeWrite() hashes nodes as 0, crashing the process after node splits.

CVE-2026-119377: SQLite before 3.54.0 contains an authorization bypass vulnerability in lookupName() that invokes the authorizer only for the first joined table's USING column. Attackers able to submit SQL can query a shared USING column in a RIGHT or FULL JOIN to read columns denied via sqlite3_set_authorizer() SQLITE_READ restrictions.

CVE-2026-119376: SQLite before 3.54.0 contains a stack exhaustion vulnerability that allows attackers to bypass the SQLITE_LIMIT_EXPR_DEPTH limit by chaining COLLATE postfix operators. Attackers can supply roughly 175,000 chained COLLATE operators in SQL or an untrusted database view to trigger unbounded recursion in sqlite3WalkExprNN() and crash the process.

CVE-2026-119375: SQLite before 3.54.0 contains an information disclosure vulnerability that allows attackers to read uninitialized page-cache memory by supplying a WAL file with an undersized page size. Attackers can craft a database and WAL file whose oversized record payload makes queries like substr() return stale bytes, disclosing other table rows and internal pointers.

CVE-2026-119373: SQLite before 3.54.0 built with FTS5 contains a heap buffer overflow in fts5MergeRowidLists() that undersizes the output buffer when merging detail=none prefix doclists. Attackers who can populate a detail=none FTS5 table with negative rowids and run a prefix MATCH query can write past the allocation, corrupting heap memory and crashing the process.

CVE-2026-119372: SQLite before 3.54.0 built with FTS3/FTS4 and SQLITE_ENABLE_FTS3_PARENTHESIS contains a use-after-free vulnerability in fts3BestSnippet() caused by dangling cached position-list pointers. Attackers can run a full-text MATCH query combining OR and NEAR operators with snippet() to read freed heap memory and crash the process.

CVE-2026-119371: SQLite before 3.54.0 contains a stack exhaustion vulnerability that allows attackers to bypass the SQLITE_LIMIT_EXPR_DEPTH nesting limit because common table expressions are not counted against it. Attackers can supply a WITH clause chaining tens of thousands of CTEs, via plain SQL or a view in an untrusted database file, causing unbounded selectExpander() recursion that crashes the process.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2023lemon
All versions before 3.40.0-1.amzn2023.0.9 (fixed in 3.40.0-1.amzn2023.0.9)
Amazon Linux:2023lemon-debuginfo
All versions before 3.40.0-1.amzn2023.0.9 (fixed in 3.40.0-1.amzn2023.0.9)
Amazon Linux:2023sqlite
All versions before 3.40.0-1.amzn2023.0.9 (fixed in 3.40.0-1.amzn2023.0.9)
Amazon Linux:2023sqlite-analyzer
All versions before 3.40.0-1.amzn2023.0.9 (fixed in 3.40.0-1.amzn2023.0.9)
Amazon Linux:2023sqlite-analyzer-debuginfo
All versions before 3.40.0-1.amzn2023.0.9 (fixed in 3.40.0-1.amzn2023.0.9)
Amazon Linux:2023sqlite-debuginfo
All versions before 3.40.0-1.amzn2023.0.9 (fixed in 3.40.0-1.amzn2023.0.9)
Amazon Linux:2023sqlite-debugsource
All versions before 3.40.0-1.amzn2023.0.9 (fixed in 3.40.0-1.amzn2023.0.9)
Amazon Linux:2023sqlite-devel
All versions before 3.40.0-1.amzn2023.0.9 (fixed in 3.40.0-1.amzn2023.0.9)
Amazon Linux:2023sqlite-doc
All versions before 3.40.0-1.amzn2023.0.9 (fixed in 3.40.0-1.amzn2023.0.9)
Amazon Linux:2023sqlite-libs
All versions before 3.40.0-1.amzn2023.0.9 (fixed in 3.40.0-1.amzn2023.0.9)
Amazon Linux:2023sqlite-libs-debuginfo
All versions before 3.40.0-1.amzn2023.0.9 (fixed in 3.40.0-1.amzn2023.0.9)
Amazon Linux:2023sqlite-tcl
All versions before 3.40.0-1.amzn2023.0.9 (fixed in 3.40.0-1.amzn2023.0.9)
Amazon Linux:2023sqlite-tcl-debuginfo
All versions before 3.40.0-1.amzn2023.0.9 (fixed in 3.40.0-1.amzn2023.0.9)
Amazon Linux:2023sqlite-tools
All versions before 3.40.0-1.amzn2023.0.9 (fixed in 3.40.0-1.amzn2023.0.9)
Amazon Linux:2023sqlite-tools-debuginfo
All versions before 3.40.0-1.amzn2023.0.9 (fixed in 3.40.0-1.amzn2023.0.9)

References