Skip to main content

TimescaleDB EUVDEUVD-2026-54182

| CVE-2026-70634 HIGH
Out-of-bounds Read (CWE-125)
2026-08-06 disclosure@vulncheck.com GHSA-mjw3-r56j-9698
7.2
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to database with DML credentials
  2. Delivery
    Insert crafted datum into Dictionary-compressed column of a hypertable
  3. Exploit
    Trigger reverse-order scan (ORDER BY DESC) on compressed chunk
  4. Execution
    Unvalidated Simple8b index produces out-of-bounds read offset
  5. Persist
    Out-of-bounds memory returned as column value
  6. Impact
    Receive 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.

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

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

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

Vendor (vulncheck) PRIMARY 7.2 HIGH
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
vuln.today AI 8.1 HIGH

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.

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

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Medium
popular PostgreSQL time-series extension, common in IoT and analytics stacks
Data Quality
9 sources
Confidence: High

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.

Vendor StatusVendor

SUSE

Severity: Important

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