Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Linux

CVE-2026-119371

Medium · CVSS 6.8EPSS 0.3% First seen December 02, 2026
LinuxOperating systemsVulnerabilities

Research article

SQLite Denial of Service via Deep CTE Chain in 3.54.0

CVECVE-2026-119371
PublishedDecember 02, 2026 23:45 UTC
Research cut-offDecember 02, 2026 23:35 UTC
Sources reviewed4: NVD record (last modified 2026-11-03); CISA KEV catalog; vendor advisory page (sqlite.org); 1 vendor bulletin

Executive summary

CVE-2026-119371 impacts SQLite versions up to 3.54.0, enabling attackers to trigger a denial of service by exploiting a flaw in how common table expressions (CTEs) are processed in recursive queries. The CVSS 3.1 score is 5.5 MEDIUM, scored by disclosure@vulncheck.com. The reviewed sources do not report exploitation. The main action is to update to the fixed version 3.54.0 [1].

Key points

  • CVE-2026-119371 affects SQLite versions up to 3.54.0 [1].
  • The vulnerability allows an attacker to trigger a denial of service by exploiting a flaw in how common table expressions (CTEs) are handled when a CTE chain exceeds the expression depth limit [3].
  • The CVSS 3.1 score for this vulnerability is 5.5 MEDIUM, scored by disclosure@vulncheck.com (Secondary) [1].
  • The reviewed sources do not report exploitation [2].
  • The vulnerability is fixed in SQLite 3.54.0 [1].

Vulnerability identification

CVE IDVendorProductCWECVSS 4.0CVSS 3.1
CVE-2026-119371SQLiteSQLiteCWE-6746.8 MEDIUM, scored by disclosure@vulncheck.com (Secondary)5.5 MEDIUM, scored by disclosure@vulncheck.com (Secondary)
PublishedLast ModifiedRecord Status
2026-10-30T12:16:352026-11-03T16:10:07Analyzed

Vulnerability description

A flaw in SQLite allows an attacker to cause a denial of service by exploiting a vulnerability in how common table expressions (CTEs) are handled in recursive queries. This issue arises when a CTE chain exceeds the SQLITE_LIMIT_EXPR_DEPTH limit, leading to a stack overflow and subsequent segmentation fault [3].

Attack surface and exploitation prerequisites

According to the CVSS 3.1 vector, the attack requires local access (AV:L), no privileges (PR:N), and user interaction (UI:R) [1]. The vulnerability can be triggered through plain SQL or by a crafted database file containing a view with a deeply nested CTE chain [3].

Impact analysis

The vulnerability leads to a denial of service as it causes the SQLite process to crash due to stack exhaustion. The CVSS 3.1 vector indicates no impact on confidentiality (C:N), no impact on integrity (I:N), and high impact on availability (A:H) [1].

Affected products and versions

Affected VersionFixed Version
SQLite < 3.54.03.54.0

Exploitation and threat intelligence status

CVE-2026-119371 is not listed in the CISA KEV catalog as of 2026-12-02. The reviewed sources do not report exploitation [2].

Detection and exposure assessment

The affected range is listed as versions below 3.54.0 [1]. There are no detection steps provided in the sources [3].

Remediation

The vulnerability is fixed in SQLite 3.54.0 [1]. The vulnerability can be mitigated by increasing the SQLITE_LIMIT_EXPR_DEPTH value or by applying a patch to the SQLite codebase [3].

Remediation checklist

  1. Update SQLite to version 3.54.0 or later [1].
  2. Increasing the SQLITE_LIMIT_EXPR_DEPTH value is mentioned as a mitigation in the sources [3]; the advisory reports the CTE path does not count against this limit [1].
  3. Update to SQLite 3.54.0, which the NVD record lists as the fixed version [1].

Evidence gaps

  • The sources do not describe the affected component's internals.
  • The sources do not mention a workaround.
  • The sources do not provide a complete version range beyond what is listed.
  • The sources do not establish whether the vulnerability is being actively exploited.
  • The sources do not give indicators of compromise.

References

  1. CVE-2026-119371 record. NIST National Vulnerability Database (NVD), 2026-11-03. https://nvd.nist.gov/vuln/detail/CVE-2026-119371. Accessed 2026-12-02. CVE identification, CVSS scores, affected versions, references, and vendor advisory details.
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-12-02. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-12-02. Exploitation status and KEV listing.
  3. Vendor advisory page (sqlite.org). sqlite.org. https://sqlite.org/bugs/info/2026-10-04T04:58:58Z. Accessed 2026-12-02. Technical background, root cause, and mitigation steps.
  4. USN-9259-2: SQLite vulnerabilities. Ubuntu USN, 2026-12-02. https://ubuntu.com/security/notices/USN-9259-2. Accessed 2026-12-02. Summary of the vulnerability and its impact.

Written with AI assistance from the 4 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Summary

USN-9259-1 fixed vulnerabilities in SQLite. This update provides the corresponding updates for Ubuntu 24.04 LTS. Original advisory details: It was discovered that SQLite did not count common table expressions against the expression depth limit. An attacker could possibly use this issue to cause SQLite to crash, resulting in a denial of service. (CVE-2026-119371) It was discovered that SQLite inco…

Excerpt from Ubuntu USN. No official description has been published yet.

Severity breakdown

Medium · 6.8 CVSS 4.0 base score from the CNA (vulncheck.com)

An attacker without an account can exploit this with local access if a user views or visits something.

Attack from
local access (a logged-in user, or a malicious file opened on the device)
Attack complexity
low (no special conditions)
Special conditions
none
Login needed
no
User action needed
yes, a user must view or visit something
Impact
high on availability, none on confidentiality and integrity
Impact on other systems
none

Vector CVSS: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 from the CNA (vulncheck.com): CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Weakness

Affected and fixed versions

ProductAffected versionsFixed in
SQLite< 3.54.03.54.0

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

Public exploits

Exploit available Exploit code or a detailed exploitation write-up is public, so attacks are easier to carry out.

References by type

Patches and fixed releases

Other references

Details from NVD (public domain).

Frequently asked questions

What is CVE-2026-119371?

CVE-2026-119371 impacts SQLite versions up to 3.54.0, enabling attackers to trigger a denial of service by exploiting a flaw in how common table expressions (CTEs) are processed in recursive queries. The CVSS 3.1 score is 5.5 MEDIUM, scored by disclosure@vulncheck.com. The reviewed sources do not report exploitation. The main action is to update to the fixed version 3.54.0. Weakness type: Uncontrolled Recursion (CWE-674).

How severe is CVE-2026-119371?

CVE-2026-119371 has a CVSS 4.0 base score of 6.8 (medium), from the CNA (vulncheck.com). An attacker without an account can exploit this with local access if a user views or visits something.

Is CVE-2026-119371 being exploited?

Not as far as is known: CVE-2026-119371 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026. Exploit code or a proof of concept has been published, which makes attacks more likely. EPSS estimates a 0.3% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-119371?

SQLite < 3.54.0 (fixed in 3.54.0).

How do I fix CVE-2026-119371?

Update SQLite to version 3.54.0 or later. Increasing the SQLITELIMITEXPRDEPTH value is mentioned as a mitigation in the sources; the advisory reports the CTE path does not count against this limit. Update to SQLite 3.54.0, which the NVD record lists as the fixed version.

Timeline & sources

References

Related vulnerabilities & news