Heap buffer overflow in SQLite FTS5 rowid list merging
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 1 fixed, 9 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.
Summary
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. A local attacker who can populate a detail=none FTS5 table with negative rowids and run a prefix MATCH query can corrupt heap memory and crash the process, with user interaction required. This flaw is an out-of-bounds write (CWE-787). A public exploit is linked in the references.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade SQLite to 3.54.0. Red Hat Hardened Images are fixed by RHSA-2026:86202, released 2026-10-20. The sources list no fixed version for Red Hat Enterprise Linux 6, 7, 8, 9 and 10, Red Hat Enterprise Linux AI (RHEL AI) 3, Red Hat OpenShift Container Platform 4 and 5, or Red Hat OpenShift AI (RHOAI).
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
- Fix · CNA SQLite (SQLite) Fixed in 3.54.0
Red Hat 1 advisory
- RHSA-2026:86202 Released 2026-10-20 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images lemon-3.54.1-1.hum1@aarch64, lemon-3.54.1-1.hum1@s390x, lemon-3.54.1-1.hum1@x86_64 +25
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
SQLite 3.54.0
10 records Highest priority Priority HIGH 1 HIGH, 4 MEDIUM, 5 LOW
Other records, highest priority first
- TI-2026-83034 Stack exhaustion in SQLite count(*) over large VALUES clausePriority MEDIUM 63
- TI-2026-82986 Stack exhaustion in SQLite via chained COLLATE operatorsPriority MEDIUM 63
- TI-2026-82982 Use-after-free in SQLite FTS3 snippet() reads freed heap memoryPriority MEDIUM 63
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet |
| Red Hat Enterprise Linux 6 | Affected | No fix yet |
| Red Hat Enterprise Linux 7 | Affected | No fix yet |
| Red Hat Enterprise Linux 8 | Affected | No fix yet |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | No fix yet |
| Red Hat OpenShift AI (RHOAI) | Affected | — |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet |
| Red Hat Hardened Images | Fixed | RHSA-2026:86202 |
Not affected: 3 products
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift AI (RHOAI)
Timeline
- 2026-10-30 Threatist record created from CVE-2026-119373
- 2026-10-30 Alias added: GHSA-mw7g-h5m4-mrxh
- 2026-10-30 Fix available: Red Hat Hardened Images · Red Hat
- 2026-10-30 CVSS score added · Red Hat
- 2026-10-31 Fix available: RHSA-2026:86202 · Red Hat
- 2026-10-31 Affected versions changed · Red Hat
- 2026-11-01 Priority changed: MEDIUM → LOW
- 2026-11-02 Affected versions changed · Red Hat
- 2026-11-03 Affected versions changed · Red Hat
- 2026-11-05 CISA SSVC decision points changed
- 2026-11-05 Priority changed: LOW → HIGH
- 2026-11-06 Affected versions changed · Red Hat
References
Patch 4
More Sqlite vulnerabilities
- TI-2025-43154 An information disclosure issue in the zipfileInflate function in the zipfile extension… CVSS 3.1HIGH 7.5
- TI-2025-06334 Integer Truncation on SQLite CVSS 4.0HIGH 7.2
- TI-2022-16180 SQLite 1.0.12 through 3.39.x before 3.39.2 sometimes allows an array-bounds overflow if… CVSS 3.1HIGH 7.5
- TI-2021-11445 An issue found in SQLite SQLite3 v.3.35.4 that allows a remote attacker to cause a denial… CVSS 3.1HIGH 7.5
- TI-2019-06073 Out-of-bounds read in SQLite CVSS 3.1CRITICAL 9.8
- TI-2022-23247 SQLite through 3.40.0, when relying on --safe for execution of an untrusted CLI script… CVSS 3.1HIGH 7.3
Sources
- CVE-2026-119373 · CVE Program
- CVE-2026-119373 · NVD
- FIRST EPSS
- GHSA-mw7g-h5m4-mrxh · GitHub Advisory Database · CC BY 4.0
- CVE-2026-119373 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences