Every CVE Search/ Get API key

CVE-2026-119591

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

6.8 Medium

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Passive

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.17%Unchanged since Oct 31, 2026
90%50%10%1%

What each source reports

CVE List Score used 6.8

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

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.

Record
CVE-2026-119591
CVSS 4.0
6.8 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-674
Updated
2026-11-04
EUVDEUVD-2026-113835 6.8

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.

Record
EUVD-2026-113835
CVSS 4.0
6.8 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Updated
2026-11-04
GitHub AdvisoriesGHSA-24xm-6g3f-6mqq 6.8

SQLite before 3.54.0 contains a stack exhaustion vulnerability in countOfViewOptimization() that...

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.

Record
GHSA-24xm-6g3f-6mqq
CVSS 4.0
6.8 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-674
Updated
2026-11-02
NVD 6.8

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.

Record
CVE-2026-119591
CVSS 4.0
6.8 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-674
Updated
2026-11-05
OSV 6.8

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

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.

Record
CVE-2026-119591
CVSS 4.0
6.8 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Weakness
CWE-674
Updated
2026-11-06
OSVDEBIAN-CVE-2026-119591 6.8

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.

Record
DEBIAN-CVE-2026-119591
CVSS 4.0
6.8 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Updated
2026-11-05
OSVUBUNTU-CVE-2026-119591 6.8

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.

Record
UBUNTU-CVE-2026-119591
CVSS 4.0
6.8 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-05
OSVAZL-111793 No score

CVE-2026-119591 affecting package sqlite 3.44.0-4

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.

Record
AZL-111793
Updated
2026-11-05

Affected products

Affected packages

Affected packages
PackageAffectedFixed
sqlite
Azure Linux:3
through 3.44.0-4 None known
sqlite3
Debian:12
All versions, plus listed versions
3.40.1-23.40.1-2+deb12u13.40.1-2+deb12u23.42.0-13.43.0-1
Show 26 moreShow less
3.43.1-13.43.2-13.44.0-13.44.2-13.45.0-13.45.1-13.45.2-13.45.3-13.45.3-2~exp13.46.0-13.46.1-13.46.1-23.46.1-2~exp3.46.1-33.46.1-43.46.1-53.46.1-63.46.1-73.46.1-83.46.1-93.53.2-13.53.3-13.53.4-13.53.4-23.54.1-13.54.1-2
None known
sqlite3
Debian:13
All versions, plus listed versions
3.46.1-73.46.1-7+deb13u13.46.1-7+deb13u23.46.1-83.46.1-9
Show 6 moreShow less
3.53.2-13.53.3-13.53.4-13.53.4-23.54.1-13.54.1-2
None known
sqlite3
Debian:14
All versions, plus listed versions
3.46.1-73.46.1-83.46.1-93.53.2-13.53.3-1
Show 4 moreShow less
3.53.4-13.53.4-23.54.1-13.54.1-2
None known
sqlite
Ubuntu:14.04:LTS
All versions, plus listed versions
2.8.17-8fakesync12.8.17-9fakesync12.8.17-10ubuntu2
None known
sqlite3
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
3.7.17-1ubuntu13.8.0.2-1ubuntu13.8.1-1ubuntu13.8.1-1ubuntu33.8.2-1ubuntu1
Show 8 moreShow less
3.8.2-1ubuntu23.8.2-1ubuntu2.13.8.2-1ubuntu2.23.8.2-1ubuntu2.2+esm13.8.2-1ubuntu2.2+esm23.8.2-1ubuntu2.2+esm33.8.2-1ubuntu2.2+esm43.8.2-1ubuntu2.2+esm5
None known
sqlite3
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
3.8.11.1-13.9.1-23.9.2-13.10.0-13.10.1-1
Show 10 moreShow less
3.10.2-13.11.0-1ubuntu13.11.0-1ubuntu1.13.11.0-1ubuntu1.23.11.0-1ubuntu1.33.11.0-1ubuntu1.43.11.0-1ubuntu1.53.11.0-1ubuntu1.5+esm13.11.0-1ubuntu1.5+esm23.11.0-1ubuntu1.5+esm3
None known
sqlite
Ubuntu:16.04:LTS
All versions, plus listed versions
2.8.17-12fakesync1
None known
sqlite3
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
3.19.3-33.20.1-23.21.0-13.22.0-13.22.0-1ubuntu0.1
Show 9 moreShow less
3.22.0-1ubuntu0.23.22.0-1ubuntu0.33.22.0-1ubuntu0.43.22.0-1ubuntu0.53.22.0-1ubuntu0.63.22.0-1ubuntu0.73.22.0-1ubuntu0.7+esm13.22.0-1ubuntu0.7+esm23.22.0-1ubuntu0.7+esm3
None known
sqlite
Ubuntu:18.04:LTS
All versions, plus listed versions
2.8.17-14fakesync1
None known
Show 7 moreShow less
Affected packages
PackageAffectedFixed
sqlite3
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
3.29.0-23.30.1-13.30.1-1ubuntu13.31.1-1ubuntu13.31.1-3
Show 10 moreShow less
3.31.1-43.31.1-4ubuntu0.13.31.1-4ubuntu0.23.31.1-4ubuntu0.33.31.1-4ubuntu0.43.31.1-4ubuntu0.53.31.1-4ubuntu0.63.31.1-4ubuntu0.73.31.1-4ubuntu0.7+esm13.31.1-4ubuntu0.7+esm2
None known
sqlite
Ubuntu:20.04:LTS
All versions, plus listed versions
2.8.17-15fakesync1build1
None known
sqlite
Ubuntu:22.04:LTS
All versions, plus listed versions
2.8.17-15fakesync1build1
None known
sqlite3
Ubuntu:22.04:LTS
All versions, plus listed versions
3.35.5-13.36.0-23.37.2-23.37.2-2ubuntu0.13.37.2-2ubuntu0.3
Show 5 moreShow less
3.37.2-2ubuntu0.43.37.2-2ubuntu0.53.37.2-2ubuntu0.63.37.2-2ubuntu0.73.37.2-2ubuntu0.8
None known
sqlite3
Ubuntu:24.04:LTS
All versions, plus listed versions
3.42.0-13.44.0-13.44.2-13.45.0-13.45.1-1
Show 10 moreShow less
3.45.1-1ubuntu13.45.1-1ubuntu23.45.1-1ubuntu2.13.45.1-1ubuntu2.33.45.1-1ubuntu2.43.45.1-1ubuntu2.53.45.1-1ubuntu2.63.45.1-1ubuntu2.73.45.1-1ubuntu2.83.45.1-1ubuntu2.9
None known
sqlite3
Ubuntu:26.10
All versions, plus listed versions
3.46.1-93.53.4-2
None known
sqlite3
Ubuntu:26.04:LTS
All versions, plus listed versions
3.46.1-83.46.1-93.46.1-9ubuntu0.13.46.1-9ubuntu0.23.46.1-9ubuntu0.3
None known

History

History
RecordedChangedSources
affectedEUVD, NVD, OSV
referencesCVE List
affectedOSV
affectedOSV
affected, aliases, referencesOSV
facts, referencesNVD
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-119591 is a medium vulnerability (CVSS 6.8) in Sqlite, published October 30, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.17%, the 6th percentile. No source names a fixed version.

References

Show 9 moreShow less
MoveEnter Open