Skip to main content

TimescaleDB EUVDEUVD-2026-54183

| CVE-2026-70635 HIGH
Out-of-bounds Read (CWE-125)
2026-08-06 disclosure@vulncheck.com GHSA-55x3-g2hr-288r
7.1
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privilege DB user
  2. Delivery
    Insert crafted Simple8b selector-11 value into compressed hypertable
  3. Exploit
    Execute VectorAgg text aggregation query
  4. Execution
    Trigger out-of-bounds read in decompressor
  5. Impact
    Corrupt aggregation output or crash PostgreSQL backend

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

The attacker must be an authenticated PostgreSQL database user (PR:L per CVSS 4.0) with direct DML access - specifically INSERT or UPDATE rights - on a non-frozen physical compressed hypertable chunk in TimescaleDB version 2.29.1 or earlier. TimescaleDB compression must be enabled on the hypertable and at least one compressed chunk must exist (compression is not the default state; it must be explicitly configured per hypertable). The vulnerable code path is reached only when a subsequent aggregation query invokes the VectorAgg single-text hashing strategy, which requires a text-type column in the compressed chunk to be targeted by a GROUP BY or equivalent aggregation. The 'non-frozen' requirement means the chunk must not have been processed by PostgreSQL's VACUUM FREEZE command, which alters the visibility map in a way that bypasses this path. Exploitation is therefore limited by: the requirement for authenticated database access, the requirement that TimescaleDB compression is enabled and active on the targeted hypertable, the requirement to trigger VectorAgg over a text column, and PostgreSQL version compatibility with TimescaleDB ≤ 2.29.1.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) assigns low complexity and low privilege, meaning any authenticated PostgreSQL user with DML rights to a compressed hypertable can trigger the flaw over a standard network connection. Availability impact is rated High (VA:H) due to the potential SIGSEGV and crash recovery cycle; integrity impact is rated Low (VI:L) reflecting possible silent corruption of aggregation output before a crash occurs. No CISA KEV listing is present and no public exploit code has been identified, so active exploitation is not confirmed. EPSS data was not provided, preventing probabilistic exploitation-likelihood assessment. The practical risk is highest in multi-tenant environments - database-as-a-service platforms, shared analytics clusters, or SaaS products - where low-privilege application accounts or end-user database credentials have DML access to compressed hypertables. In tightly controlled single-tenant deployments where only trusted administrators touch compressed chunks, real-world risk is substantially lower than the CVSS 4.0 score implies. There is no conflict between the CVSS vector and the description: both indicate a network-reachable, low-privilege, low-complexity attack, consistent with normal PostgreSQL client connectivity.

Exploit ScenarioDerived

An authenticated PostgreSQL user with INSERT access to a TimescaleDB compressed hypertable crafts a row containing a malformed Simple8b selector-11 value and writes it into a non-frozen compressed chunk via standard SQL DML. The attacker then issues a GROUP BY aggregation query over a text column in that chunk, triggering TimescaleDB's VectorAgg single-text hashing path, which invokes the vulnerable bulk text dictionary decompressor and reads before the base of the offsets array - producing either subtly incorrect aggregation results visible to other users or a SIGSEGV that crashes the PostgreSQL backend process and forces crash recovery, briefly denying service to all database connections. No public exploit code has been identified, but the attack requires only standard SQL operations available to any DML-privileged user.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% 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 bulk text dictionary decompressor allows authenticated database users with DML access to crash PostgreSQL backends or produce corrupt aggregation results by injecting a crafted Simple8b selector-11 value into a compressed hypertable. The defect bypasses Arrow dictionary-index validation and is reached through the VectorAgg single-text hashing aggregation path, making it exploitable via ordinary SQL DML and SELECT operations against an affected compressed chunk. No public exploit code has been identified at time of analysis, and the fix is available as upstream commit 517c13e (PR #10360) but has not been confirmed in a tagged release.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - monitor https://github.com/timescale/timescaledb/releases for a version superseding 2.29.1 that includes commit 517c13e. Until a tagged release is available, the primary compensating control is to restrict DML privileges on compressed hypertables to only the minimum required database roles: revoke INSERT, UPDATE, and DELETE on compressed hypertable relations from low-privilege or application-tier accounts that do not require write access, using standard PostgreSQL REVOKE statements. The trade-off is reduced application flexibility and potential need for schema refactoring of permission grants. A secondary option is to disable vectorized aggregation by setting the GUC parameter timescaledb.enable_vectorized_aggregation = off in postgresql.conf or per-session, which removes the VectorAgg code path that reaches the vulnerable decompressor - the trade-off is measurably degraded aggregation throughput on time-series queries. Do not freeze compressed chunks as a mitigation workaround, as the 'non-frozen' condition refers to PostgreSQL's VACUUM FREEZE state and is not a reliable operational control.

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 partitions time-series data into 'hypertables' and applies columnar compression using Simple8b integer encoding and Arrow-style dictionary encoding for text columns. Simple8b uses a 4-bit selector to pack multiple values into a 64-bit word; selector-11 encodes a specific bit-width layout. Compressed text columns store values as Arrow dictionary indices, internally typed as signed int16, which are mapped through an offset array during decompression. CWE-125 (Out-of-bounds Read) manifests because a crafted selector-11 value can produce a negative or otherwise invalid signed int16 index that, when used to address the live offsets array in the bulk text dictionary decompression routine, underruns the array base - the index validation check is not applied in this specific code path. This corruption surface is exposed specifically via TimescaleDB's VectorAgg single-text hashing strategy, a vectorized aggregation optimization. The commit diff confirms the fix adds CheckCompressedData boundary assertions throughout the decompression pipeline and introduces a forward-validation pass before reverse iteration in the DeltaDelta decompressor, indicating the validation gap was systemic across multiple decompression algorithms.

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:L/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.1 HIGH

Network-reachable PostgreSQL requires low-privilege DML authentication; no confidentiality impact; availability is High due to SIGSEGV crash potential; scope unchanged within the database instance.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 7.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
None
Vulnerable system: Integrity
Low
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 that allows authenticated attackers to cause query-result integrity failures or backend crashes by supplying a crafted Simple8b selector-11 value, which is stored in the signed int16 Arrow dictionary-index type and bypasses index validation checks in bulk text dictionary decompression. Attackers with direct DML access to a non-frozen physical compressed hypertable relation can trigger an out-of-bounds read before the base of the live offsets array through the VectorAgg single-text hashing strategy, resulting in incorrect aggregation output, backend SIGSEGV, or PostgreSQL crash recovery depending on build configuration.

Executive ViewAI

Why It Matters

TimescaleDB's compression decompressor vulnerability could allow authenticated database users to crash PostgreSQL backends or corrupt aggregation results, creating availability and data integrity risks for organizations using compressed hypertables. Without an official vendor patch, affected deployments face an interim mitigation period requiring proactive assessment and testing of available upstream fixes.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigation: Restrict DML access to compressed hypertables to trusted users only, monitor for unusual aggregation results or backend crashes, and prepare to deploy upstream fix commit 517c13e once validated in your environment. Organizations dependent on these compressed tables should prioritize testing the upstream fix to enable rapid deployment when an official release becomes available.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Medium
popular PostgreSQL time-series extension, widely adopted in IoT and analytics workloads
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.3%
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