CVE-2026-70634: CWE-129 Improper validation of array index in timescale timescaledb
CVE-2026-70634 is a high-severity vulnerability in TimescaleDB up to version 2.29.1 involving improper validation of an array index in the dictionary compression reverse row iterator. The flaw allows an attacker with DML access to a compressed relation to craft data that triggers an out-of-bounds read, potentially disclosing backend memory contents to the client. This occurs because the reverse path relies on an assertion that is not present in release builds, leaving the index unchecked. The vulnerability is fixed in a commit identified as 517c13e.
AI Analysis
Technical Summary
TimescaleDB versions up to 2.29.1 contain an out-of-bounds read vulnerability in the dictionary compression reverse row iterator component (tsl/src/compression/algorithms/dictionary.c). While the forward path validates the decoded index, the reverse path uses an assertion that is compiled out in release builds, resulting in no validation of the 64-bit Simple8b index. An attacker with DML privileges on a physical compressed relation can insert crafted data and perform a reverse-order scan, causing an out-of-bounds Datum to be returned to the client. This can lead to disclosure of backend memory, including the shared buffer pool, bypassing SQL access controls. The issue is tracked as CWE-129 (Improper Validation of Array Index) and CWE-125 (Out-of-bounds Read).
Potential Impact
An attacker with data manipulation language (DML) access to a physical compressed relation in TimescaleDB can exploit this vulnerability to read out-of-bounds memory from the backend process. This memory disclosure can include sensitive backend data such as the shared buffer pool. The vulnerability bypasses normal SQL access controls because the out-of-bounds data is returned as a normal column value. There are no known exploits in the wild at this time.
Mitigation Recommendations
A fix for this vulnerability is available in TimescaleDB as of commit 517c13e. Users should upgrade to a version that includes this commit to remediate the issue. Patch status is not explicitly confirmed in the provided data, so users should verify the vendor advisory or repository for the fixed version. Until patched, restrict DML access to trusted users and avoid using physical compressed relations with untrusted data.
CVE-2026-70634: CWE-129 Improper validation of array index in timescale timescaledb
Description
CVE-2026-70634 is a high-severity vulnerability in TimescaleDB up to version 2.29.1 involving improper validation of an array index in the dictionary compression reverse row iterator. The flaw allows an attacker with DML access to a compressed relation to craft data that triggers an out-of-bounds read, potentially disclosing backend memory contents to the client. This occurs because the reverse path relies on an assertion that is not present in release builds, leaving the index unchecked. The vulnerability is fixed in a commit identified as 517c13e.
CVSS v4.0
Score 7.2high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
TimescaleDB versions up to 2.29.1 contain an out-of-bounds read vulnerability in the dictionary compression reverse row iterator component (tsl/src/compression/algorithms/dictionary.c). While the forward path validates the decoded index, the reverse path uses an assertion that is compiled out in release builds, resulting in no validation of the 64-bit Simple8b index. An attacker with DML privileges on a physical compressed relation can insert crafted data and perform a reverse-order scan, causing an out-of-bounds Datum to be returned to the client. This can lead to disclosure of backend memory, including the shared buffer pool, bypassing SQL access controls. The issue is tracked as CWE-129 (Improper Validation of Array Index) and CWE-125 (Out-of-bounds Read).
Potential Impact
An attacker with data manipulation language (DML) access to a physical compressed relation in TimescaleDB can exploit this vulnerability to read out-of-bounds memory from the backend process. This memory disclosure can include sensitive backend data such as the shared buffer pool. The vulnerability bypasses normal SQL access controls because the out-of-bounds data is returned as a normal column value. There are no known exploits in the wild at this time.
Mitigation Recommendations
A fix for this vulnerability is available in TimescaleDB as of commit 517c13e. Users should upgrade to a version that includes this commit to remediate the issue. Patch status is not explicitly confirmed in the provided data, so users should verify the vendor advisory or repository for the fixed version. Until patched, restrict DML access to trusted users and avoid using physical compressed relations with untrusted data.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-04T20:17:18.297Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a75070dbf8831d5395f5c65
Added to database: 08/06/2026, 22:13:33 UTC
Last enriched: 08/06/2026, 22:41:28 UTC
Last updated: 08/06/2026, 23:57:33 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.