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
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain authenticated DML access to compressed hypertable
  2. Delivery
    Craft compressed datum with empty BitArray and inconsistent bit-count header
  3. Exploit
    Insert malicious datum via SQL DML
  4. Install
    Any session issues reverse-order scan on affected chunk
  5. C2
    Unsigned integer underflow sets bucket index to UINT64_MAX
  6. Execute
    Out-of-bounds read triggers SIGSEGV
  7. Impact
    PostgreSQL backend crashes, denying service to all users

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated database session with DML privileges (INSERT or UPDATE) on a TimescaleDB compressed hypertable - confirmed by the CVSS 4.0 PR:L metric. The crash is triggered specifically during reverse-order decompression (ORDER BY DESC or equivalent backward scans); forward scans do not trigger the underflow. The attacker must be able to store a compressed datum containing a BitArray with an internally inconsistent structure (zero allocated buckets with a non-zero bit-count field). No non-default configuration is required beyond TimescaleDB's hypertable compression feature being enabled, which is a standard production usage. Persistence is a key factor: once the malicious datum is stored, the denial of service recurs for every session performing a reverse scan on the affected chunk, not only the attacker's own session, until the datum is removed or the database patched.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VA:H) accurately captures the dominant risk: a low-privileged network attacker can cause a repeatable, persistent availability collapse with no attack complexity. The key compounding factor not reflected in the base score is persistence - the malicious datum survives in the compressed chunk storage, meaning every subsequent reverse-order scan by any session crashes the backend until the row is purged or a patch applied. This elevates practical risk above a typical transient DoS. The 'Information Disclosure' tag included in the source intelligence may reflect a theoretical pre-crash memory leak via the out-of-bounds read, but the CVSS vector records VC:N (no confidentiality impact), which is consistent with a SIGSEGV terminating the process before usable data can be exfiltrated. EPSS data was not provided. Neither a public POC nor a CISA KEV listing was identified, moderating urgency relative to unauthenticated or weaponized vulnerabilities, but the PR:L requirement is a low bar in multi-tenant analytics environments.

Exploit ScenarioDerived

An authenticated database user with INSERT rights on a TimescaleDB compressed hypertable crafts raw compressed bytes representing a datum whose BitArray header claims a non-zero bit count but contains zero allocated buckets, then stores it via a normal SQL INSERT or UPDATE statement. When any session subsequently executes a SELECT with ORDER BY DESC over the compressed chunk, the reverse iterator underflows its bucket index to UINT64_MAX, reads far out of bounds, and causes a SIGSEGV that crashes the PostgreSQL backend - with the crash repeatable by any user on any reverse scan of the same chunk until the datum is removed.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 06, 2026

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.

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.

Affected VersionsENISA

timescaledb 0 ≤2.29.1

Affected Packages

euvd timescaledb no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Timescaledb gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

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

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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.

Executive ViewAI

Why It Matters

TimescaleDB instances through version 2.29.1 are vulnerable to denial-of-service attacks by authenticated database users holding write privileges on compressed tables; the resulting platform outages persist until the malicious data is manually removed or a patch is deployed. Organizations with service-critical TimescaleDB deployments and multiple database users should immediately review access controls to reduce the pool of users who can modify compressed data.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict DML privileges on compressed hypertables to trusted database administrators only; implement row-level security to prevent untrusted application accounts from modifying compressed table data; establish monitoring for abnormal backend crashes and failed reverse-scan operations; document and regularly test procedures for identifying and removing malicious data without requiring full database restoration.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Medium
widely used open-source PostgreSQL time-series extension in IoT and analytics
Data Quality
8 sources
Confidence: High
EUVD 🇯🇵JVN NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Moderate

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