Skip to content
OpenAdvisories
Medium · 5.5 CVE-2026-119591 EUVD-2026-113835GHSA-24xm-6g3f-6mqq

SQLite before 3.54.0 Stack Exhaustion via countOfViewOptimization() in VALUES Clause

Published Oct 30, 2026 · Updated Nov 4, 2026 · Assigned by VulnCheck

Description

SQLite before 3.54.0 contains a stack exhaustion vulnerability in countOfViewOptimization() that allows attackers to crash the host process via count(*) over a large multi-row VALUES clause. Attackers supplying SQL or a database file with a crafted view can trigger deeply nested TK_PLUS expressions whose recursive freeing in sqlite3ExprDeleteNN() exhausts the C stack, causing denial of service.

Affected products

VendorProductAffectedFixed
SQLite SQLite < 3.54.0 3.54.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 sqlite3 3.54.1-1 —
Debian 13 sqlite3 No fix yet —
Debian 12 sqlite3 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 sqlite3 No fix yet —
Ubuntu 26.04 LTS sqlite3 No fix yet —
Ubuntu 24.04 LTS sqlite3 No fix yet —
Ubuntu 22.04 LTS sqlite +1 No fix yet —
Ubuntu 20.04 LTS sqlite No fix yet —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS sqlite No fix yet —
Ubuntu 16.04 LTS sqlite No fix yet —
Ubuntu 14.04 LTS sqlite No fix yet —
Ubuntu Pro 20.04 LTS sqlite3 No fix yet —
Ubuntu Pro 18.04 LTS sqlite3 No fix yet —
Ubuntu Pro 16.04 LTS sqlite3 No fix yet —
Ubuntu Pro 14.04 LTS sqlite3 No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed sqlite3 3.54.1-2.1 openSUSE-SU-2026:12493-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nodejs22 +4 1:22.23.5-1.amzn2023.0.1 ALAS2023-2026-3456
Amazon Linux 2023 nodejs22-npm 1:10.9.9-1.22.23.5.1.amzn2023.0.1 ALAS2023-2026-3456
Amazon Linux 2023 nodejs24 +4 1:24.22.3-1.amzn2023.0.1 ALAS2023-2026-3457
Amazon Linux 2023 nodejs24-npm 1:11.19.1-1.24.22.3.1.amzn2023.0.1 ALAS2023-2026-3457
Amazon Linux 2023 v8-12.4-devel 3:12.4.254.21-1.22.23.5.1.amzn2023.0.1 ALAS2023-2026-3456
Amazon Linux 2023 v8-13.6-devel 3:13.6.233.17-1.24.22.3.1.amzn2023.0.1 ALAS2023-2026-3457

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 sqlite No fix yet —

Advisories 4

References