Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain authenticated DML access to compressed hypertable
-
DeliveryCraft compressed datum with empty BitArray and inconsistent bit-count header
-
ExploitInsert malicious datum via SQL DML
-
InstallAny session issues reverse-order scan on affected chunk
-
C2Unsigned integer underflow sets bucket index to UINT64_MAX
-
ExecuteOut-of-bounds read triggers SIGSEGV
-
ImpactPostgreSQL 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Authenticated network attacker (PR:L, AV:N) crashes the PostgreSQL backend (A:H) with no confidentiality or integrity impact and no scope change.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
More in Timescaledb
View allArbitrary code execution in TimescaleDB 2.23.0 through 2.25.1 allows local authenticated users to execute malicious func
TimescaleDB, an open-source time-series SQL database, has a privilege escalation vulnerability in versions 2.8.0 through
Timescale TimescaleDB 1.x and 2.x before 2.5.2 may allow privilege escalation during extension installation. Rated high
Out-of-bounds read in TimescaleDB's Dictionary compression reverse row iterator (versions through 2.29.1) allows an auth
Out-of-bounds read in TimescaleDB's bulk text dictionary decompressor allows authenticated database users with DML acces
EUVD-2026-54179
GHSA-9f3p-792w-mhv3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB