CVE-2026-70634: Improper Validation of Array Index in timescale timescaledb
TimescaleDB through 2.29.1, fixed in commit 517c13e, contains an out-of-bounds read in the Dictionary compression reverse row iterator (tsl/src/compression/algorithms/dictionary.c). The forward path validates the decoded index; the reverse path uses an assertion compiled out of release builds, leaving the 64-bit Simple8b index unvalidated and the read offset attacker-controlled. Attackers with DML access to a physical compressed relation can store a crafted datum and run a reverse-order scan. With a pass-by-value column type the out-of-bounds Datum is returned to the client as a normal column value, disclosing backend memory including the shared buffer pool, which SQL access control does not cover.
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 omitted in release builds, leaving the 64-bit Simple8b index unchecked. 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 results in disclosure of backend memory, including the shared buffer pool, bypassing SQL access control. The vulnerability is tracked as CVE-2026-70634 and has a CVSS 4.0 score of 7.2 (high severity). No official patch or remediation level is currently stated in the vendor advisory or data provided.
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 leak sensitive information such as contents of the shared buffer pool. The vulnerability bypasses SQL access controls because the out-of-bounds data is returned as a normal column value in query results. This could lead to unauthorized data exposure within the database environment.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict DML access to physical compressed relations to trusted users only. Monitor vendor channels for updates and apply patches promptly once available.
CVE-2026-70634: Improper Validation of Array Index in timescale timescaledb
Description
TimescaleDB through 2.29.1, fixed in commit 517c13e, contains an out-of-bounds read in the Dictionary compression reverse row iterator (tsl/src/compression/algorithms/dictionary.c). The forward path validates the decoded index; the reverse path uses an assertion compiled out of release builds, leaving the 64-bit Simple8b index unvalidated and the read offset attacker-controlled. Attackers with DML access to a physical compressed relation can store a crafted datum and run a reverse-order scan. With a pass-by-value column type the out-of-bounds Datum is returned to the client as a normal column value, disclosing backend memory including the shared buffer pool, which SQL access control does not cover.
CVSS v4.0
Score 7.2high
Affected software
timescale
timescaledb
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 omitted in release builds, leaving the 64-bit Simple8b index unchecked. 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 results in disclosure of backend memory, including the shared buffer pool, bypassing SQL access control. The vulnerability is tracked as CVE-2026-70634 and has a CVSS 4.0 score of 7.2 (high severity). No official patch or remediation level is currently stated in the vendor advisory or data provided.
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 leak sensitive information such as contents of the shared buffer pool. The vulnerability bypasses SQL access controls because the out-of-bounds data is returned as a normal column value in query results. This could lead to unauthorized data exposure within the database environment.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict DML access to physical compressed relations to trusted users only. Monitor vendor channels for updates and apply patches promptly once available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-04T20:17:18.297Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a75070dbf8831d5395f5c65
Added to database: 08/06/2026, 22:13:33 UTC
Last enriched: 08/14/2026, 16:07:47 UTC
Last updated: 09/21/2026, 22:01:37 UTC
Views: 53
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.