CVE-2026-70634

TimescaleDB 2.29.1 Out-of-Bounds Read Information Disclosure via Dictionary Compression Reverse Iterator

Published Aug 6, 2026 CVSS 4.0 · 7.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:timescale:timescaledb:*:*:*:*:*:*:*:*
Type Values Removed Values Added
References
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Timescale
Timescale timescaledb
Vendors & Products Timescale
Timescale timescaledb
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'}

Weaknesses
  • CWE-125

    Out-of-bounds Read

  • CWE-129

    Improper Validation of Array Index

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:08 PM
Reserved
Aug 4, 2026, 8:17 PM
Status
Analyzed
Published
Aug 6, 2026, 10:18 PM
Modified
Oct 24, 2026, 3:10 PM