Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-119591— SQLite before 3.54.0 Stack Exhaustion via countOfViewOptimization() in VALUES Clause

Quick assessment

Affected
SQLite SQLite
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在 SQLite 3.54.0 之前的版本中, 函数存在栈耗尽漏洞。攻击者可通过在大型多行 VALUES 子句中使用 ,触发深度嵌套的 表达式;这些表达式在 函数中进行递归释放时,会耗尽 C 语言调用栈,从而导致宿主进程崩溃,引发拒绝服务(DoS)攻击。攻击者只需提供恶意构造的 SQL 语句或包含特制视图的数据库文件即可触发该漏洞。

CVSS 5.5 · Medium

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-119591

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
SQLite before 3.54.0 Stack Exhaustion via countOfViewOptimization() in VALUES Clause
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
未经控制的递归
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
SQLite SQLite 0 ~ 3.54.0 -

II. Public POCs for CVE-2026-119591

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-119591

请登录查看更多情报信息。

Other References for CVE-2026-119591 (8)

Same Patch Batch · SQLite · 2026-10-30 · 11 CVEs total

CVE-2026-119586 7.8 HIGH SQLite CLI through 3.54.1 Command Injection via .recover Output
CVE-2026-119379 7.8 HIGH SQLite before 3.54.0 Heap Buffer Overflow via Session Extension sessionUpdateFind()
CVE-2026-119374 7.8 HIGH SQLite before 3.54.0 Heap Buffer Overflow via FTS5 fts5DoSecureDelete()
CVE-2026-119373 7.8 HIGH SQLite before 3.54.0 FTS5 Heap Buffer Overflow via fts5MergeRowidLists()
CVE-2026-119375 5.5 MEDIUM SQLite before 3.54.0 Information Disclosure via WAL Page Size Mismatch
CVE-2026-119371 5.5 MEDIUM SQLite before 3.54.0 Stack Exhaustion via CTE Chain in selectExpander()
CVE-2026-119372 5.5 MEDIUM SQLite before 3.54.0 Use-After-Free in FTS3 fts3BestSnippet() via snippet()
CVE-2026-119376 5.5 MEDIUM SQLite before 3.54.0 Stack Exhaustion via COLLATE Operator Chain
CVE-2026-119378 5.5 MEDIUM SQLite before 3.54.0 Use-After-Free in R-Tree nodeWrite()
CVE-2026-119377 2.5 LOW SQLite before 3.54.0 Authorizer Bypass via RIGHT or FULL JOIN USING

IV. Related Vulnerabilities