Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to database with DML credentials
-
DeliveryInsert crafted datum into Dictionary-compressed column of a hypertable
-
ExploitTrigger reverse-order scan (ORDER BY DESC) on compressed chunk
-
ExecutionUnvalidated Simple8b index produces out-of-bounds read offset
-
PersistOut-of-bounds memory returned as column value
-
ImpactReceive backend memory contents including shared buffer pool data
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 all of the following: (1) the attacker holds authenticated database credentials with DML access (INSERT or UPDATE) to a TimescaleDB hypertable that uses Dictionary compression on at least one column-this compression type is applied automatically by TimescaleDB's compression policy for low-cardinality text or enum-like columns; (2) the target column uses a pass-by-value data type (e.g., integer, bigint, float4, float8, oid) so the out-of-bounds Datum is returned directly to the client rather than dereferenced as a pointer (which would instead cause a segfault); (3) the attacker can execute a reverse-order scan against the compressed chunk, typically via ORDER BY <time_column> DESC. Exploitation is bounded by the requirement for authenticated DML access-anonymous connections and read-only roles cannot plant the crafted datum. Superuser or schema-owner privileges are not required. Non-default configuration is not needed: Dictionary compression is part of TimescaleDB's standard compression framework and may be active on any deployment using compression policies. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H) accurately reflects a meaningful real-world threat: network-reachable exploitation with low complexity requiring only low-privilege authenticated database access. The confidentiality impact is especially severe because the shared buffer pool can contain data from other database sessions, credentials, or schema objects that SQL-level GRANT statements cannot protect-this is a cross-tenant information disclosure risk in shared or multi-tenant TimescaleDB environments. The availability impact (VA:H) aligns with the commit message noting 'Decompressor crashes with malformed compressed data,' indicating the crafted datum can also crash the backend process. No KEV listing exists and no EPSS score was provided, so exploitation probability in the wild is currently unquantified. The attack prerequisite of DML access moderates risk compared to an unauthenticated vector, but in analytics or IoT platforms where many users or service accounts hold write access to compressed hypertables, the realistic attacker population is non-trivial. No public exploit or POC has been identified, which reduces immediate urgency, but the technique is straightforward for any database-level attacker. |
| Exploit ScenarioDerived | An authenticated database user with INSERT privileges on a compressed TimescaleDB hypertable crafts a row whose Dictionary-compressed column encodes a Simple8b index value that, when decoded during reverse iteration, falls outside the bounds of the dictionary array. The user then issues a descending-order query (e.g., SELECT col FROM hypertable ORDER BY time DESC) against the compressed chunk, triggering the unguarded reverse iterator; because the bounds check is absent in release builds, the server reads memory at an attacker-controlled offset and returns it to the client as a legitimate integer or bigint column value, potentially exposing contents of the PostgreSQL shared buffer pool from other sessions. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 06, 2026
Out-of-bounds read in TimescaleDB's Dictionary compression reverse row iterator (versions through 2.29.1) allows an authenticated database user with DML privileges on a compressed hypertable to exfiltrate backend process memory-including the PostgreSQL shared buffer pool-as ordinary column values that bypass SQL access controls. The vulnerability arises because the forward decompression path validates the Simple8b-encoded dictionary index while the reverse path relied solely on a debug assertion stripped from release builds, leaving the read offset fully attacker-controlled. No public exploit has been identified at time of analysis, and a fix is available upstream via commit 517c13e and PR #10360, though a tagged release version has not been independently confirmed from the available data.
RemediationAI
Monitor the TimescaleDB releases page for the first tagged version that incorporates PR #10360 (fix commit 517c13e) and upgrade immediately upon availability, as no confirmed patched release version is available from the provided data. As an immediate compensating control, revoke DML privileges (INSERT, UPDATE, COPY) on compressed hypertables from any untrusted or least-privilege database roles, since planting the crafted datum is a prerequisite for exploitation-read-only roles are not exploitable. Alternatively, disable Dictionary compression for sensitive columns by specifying alternative compression algorithms (e.g., gorilla or deltadelta for numeric types) using ALTER TABLE ... SET (timescaledb.compress_segmentby = ...) and recompressing affected chunks, though this may reduce compression ratios. Organizations running TimescaleDB in multi-tenant configurations should treat this as high priority until patched, given the cross-session memory disclosure potential. References: https://github.com/timescale/timescaledb/pull/10360
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 implementing custom columnar compression algorithms for time-series data. The Dictionary compression algorithm (tsl/src/compression/algorithms/dictionary.c) uses Simple8b-encoded 64-bit indices to look up values in a dictionary. During forward iteration the decoded index is bounds-checked, but the reverse iterator (used when queries include ORDER BY DESC against compressed chunks) replaced that check with an Assert() macro that is compiled out in release builds. This left the 64-bit Simple8b index unvalidated in the reverse code path, making the resulting read offset into the decompressed buffer fully attacker-controlled-a textbook CWE-125 (Out-of-Bounds Read). The commit diff confirms that the fix replaces Assert() calls with CheckCompressedData() runtime validation throughout the reverse decompression path, adds cross-validation between forward and reverse iterators to detect malformed compressed data, and closes an edge case where a zero-element bit array produced an underflow in bucket counting. A second affected algorithm, DeltaDelta (deltadelta.c), received analogous validation hardening in the same PR.
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:H/VI:N/VA:H/SC:N/SI:N/SA:N
Network-accessible via SQL (AV:N, AC:L); DML credentials required (PR:L); no integrity impact; high confidentiality from memory disclosure and high availability from backend crash on malformed data.
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 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.
Executive ViewAI
TimescaleDB through version 2.29.1 contains a memory disclosure vulnerability (CVE-2026-70634) that allows authenticated database users with DML privileges to bypass SQL access controls and exfiltrate sensitive data from PostgreSQL's shared memory buffer pool. This creates an insider threat risk for organizations storing sensitive or regulated information in affected instances. Organizations must immediately assess their TimescaleDB deployments and enforce strict access controls on database users.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict DML privileges on all compressed hypertables to administrative accounts only; implement row-level security (RLS) policies on sensitive compressed hypertables; enable comprehensive audit logging for all decompression operations; restrict database network access to trusted administrative networks only; conduct immediate access review to eliminate unnecessary DML privileges across all database users.
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.
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
Denial of service in TimescaleDB through 2.29.1 allows authenticated database users holding DML privileges on a compress
Out-of-bounds read in TimescaleDB's bulk text dictionary decompressor allows authenticated database users with DML acces
EUVD-2026-54182
GHSA-mjw3-r56j-9698
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB