Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege DB user
-
DeliveryInsert crafted Simple8b selector-11 value into compressed hypertable
-
ExploitExecute VectorAgg text aggregation query
-
ExecutionTrigger out-of-bounds read in decompressor
-
ImpactCorrupt 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. |
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 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
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 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
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
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.
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 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
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.
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
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
Out-of-bounds read in TimescaleDB's Dictionary compression reverse row iterator (versions through 2.29.1) allows an auth
Denial of service in TimescaleDB through 2.29.1 allows authenticated database users holding DML privileges on a compress
EUVD-2026-54183
GHSA-55x3-g2hr-288r
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB