Skip to main content

TimescaleDB CVE-2026-70633

| EUVDEUVD-2026-54179 HIGH
Out-of-bounds Read (CWE-125)
2026-08-06 disclosure@vulncheck.com GHSA-9f3p-792w-mhv3
7.1
CVSS 4.0 · Vendor: vulncheck
Share

Severity by source

Vendor (vulncheck) PRIMARY
7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
6.5 MEDIUM

Authenticated network attacker (PR:L, AV:N) crashes the PostgreSQL backend (A:H) with no confidentiality or integrity impact and no scope change.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE
MEDIUM
qualitative

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

3
Source Code Evidence Fetched
Aug 06, 2026 - 22:43 vuln.today
Analysis Generated
Aug 06, 2026 - 22:43 vuln.today
CVE Published
Aug 06, 2026 - 22:18 cve.org
HIGH 7.1

DescriptionCVE.org

TimescaleDB through 2.29.1, fixed in commit 517c13e, contains an out-of-bounds read vulnerability in the Gorilla compression reverse row iterator that allows authenticated attackers to cause a denial of service by storing a crafted compressed datum with an internally inconsistent BitArray. Attackers with DML access to a compressed hypertable can trigger an unsigned integer wraparound in the reverse iterator bucket index computation, causing a read beyond the end of the bucket array, resulting in a SIGSEGV crash that can be repeatedly triggered on each subsequent reverse-order scan.

AnalysisAI

Denial of service in TimescaleDB through 2.29.1 allows authenticated database users holding DML privileges on a compressed hypertable to permanently crash the PostgreSQL backend on any reverse-order scan. The root cause is an unsigned integer underflow in the Gorilla compression reverse row iterator's bucket index computation when decompressing a crafted BitArray with zero elements, triggering a SIGSEGV that recurs on every subsequent reverse scan of the affected chunk until the malicious datum is removed or the database is patched. No public exploit has been identified at time of analysis and CISA KEV listing is absent, but the persistence of the malicious datum and low attack complexity make this a high-priority patch for any TimescaleDB deployment exposing DML access to untrusted users.

Technical ContextAI

TimescaleDB is a PostgreSQL extension that compresses time-series data stored in hypertable chunks using algorithms including Gorilla (floating-point) and DeltaDelta (integer delta-of-delta encoding). Compressed data is stored in BitArrays - arrays of 64-bit integer buckets. The reverse iterator function bit_array_iterator_init_rev initializes its current_bucket index by computing num_elements - 1 without first guarding against num_elements == 0. Because the bucket index is an unsigned integer type, this underflow wraps to UINT64_MAX, directing the subsequent read far beyond the end of the allocated bucket array. CWE-125 (Out-of-bounds Read) is the correct root cause class. The fix in commit 517c13e (PR #10360) adds zero-element guards in both bit_array_num_buckets and bit_array_iterator_init_rev, and introduces CheckCompressedData validation macros throughout the DeltaDelta decompressor to catch further inconsistencies before they reach memory-access code. The reporter @mdisec is credited with identifying compressed data validation deficiencies.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed. Apply commit 517c13e directly from https://github.com/timescale/timescaledb/commit/517c13e7cc6afadb4a7deaa7a5a5a29065e5b5a3, or upgrade to the first TimescaleDB release that incorporates PR #10360 once it is tagged. Before patching, the most effective compensating control is revoking INSERT and UPDATE privileges on compressed hypertables from any non-administrative or untrusted database users - this blocks the insertion of malicious compressed datums but will disrupt normal data ingestion pipelines for those users. A second control is to temporarily disable hypertable compression (ALTER TABLE ... SET (timescaledb.compress = false)) on tables accessible to untrusted accounts, converting compressed chunks to uncompressed form at the cost of increased storage and reduced query performance. Monitoring PostgreSQL logs for repeated backend SIGSEGV crashes on the same hypertable serves as an indicator of active exploitation. Any existing malicious datum must be identified and deleted before reverse-order scans on the affected chunk will succeed.

Vendor StatusVendor

SUSE

Severity: Moderate

Share

CVE-2026-70633 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy