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.
Published: 2026-08-06
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

TimescaleDB versions up to 2.29.1 contain an out-of-bounds read in the dictionary-compression reverse row iterator. The reverse path omits validation of the 64-bit Simple8b index, allowing an attacker to control the read offset. When a catalog entry is stored with a pass-by-value column type, the out-of-bounds Datum is returned to the client as a normal column value, exposing memory from the backend, including the shared buffer pool, which is not protected by normal SQL access control. This vulnerability falls under CWE-125 (Out-of-Bounds Read) and CWE-129 (Incorrect Calculation of Buffer Size).

Affected Systems

All installations of TimescaleDB with versions 2.29.1 or earlier that use dictionary compression in physical compressed relations. The affected code is in tsl/src/compression/algorithms/dictionary.c and the remediation involves fixing a bug in the reverse iterator path.

Risk and Exploitability

The CVSS score is 7.2 (Medium‑High severity). EPSS is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting current exploitation does not appear widespread. Attackers would need at least DML rights on a compressed table, which typically requires database-level privileges; they can then craft a datum and run a reverse-order scan to trigger the read. Given the severity and the need for non-privileged database access, the risk to a properly secured database is moderate, but an attacker with local or database access could leak sensitive backend memory.

Generated by OpenCVE AI on August 7, 2026 at 02:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade TimescaleDB to version 2.30 or apply the patch from commit 517c13e
  • Restrict DML privileges on compressed tables to limit attacker control
  • Disable dictionary compression on any tables that have not been upgraded if patching is not feasible

Generated by OpenCVE AI on August 7, 2026 at 02:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 14 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:timescale:timescaledb:*:*:*:*:*:*:*:*

Fri, 07 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
References
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 07 Aug 2026 02:15:00 +0000

Type Values Removed Values Added
First Time appeared Timescale
Timescale timescaledb
Vendors & Products Timescale
Timescale timescaledb

Thu, 06 Aug 2026 22:15:00 +0000

Type Values Removed Values Added
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.
Title TimescaleDB 2.29.1 Out-of-Bounds Read Information Disclosure via Dictionary Compression Reverse Iterator
Weaknesses CWE-125
CWE-129
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H'}

cvssV4_0

{'score': 7.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Timescale Timescaledb
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-14T16:51:35.471Z

Reserved: 2026-08-04T20:17:18.297Z

Link: CVE-2026-70634

cve-icon Vulnrichment

Updated: 2026-08-07T16:12:06.492Z

cve-icon NVD

Status : Received

Published: 2026-08-06T22:18:27.857

Modified: 2026-08-07T18:17:22.580

Link: CVE-2026-70634

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-07T02:15:04Z

Weaknesses
  • CWE-125

    Out-of-bounds Read

  • CWE-129

    Improper Validation of Array Index