Sceawere
Vulnerability Detail
CVE-2026-70635UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV
TimescaleDB Out-of-Bounds Read Vulnerability
Vulnerability Metadata
- Severity
- High
- Score / CVSS
- 7.1
- Creation Date
- 1d ago
- Vendor
- timescale
- Product
- timescaledb
- Attack Type
- Improper Validation of Array Index
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
- Attack Complexity
- LOW
Narrative and Response
Description
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 Summary
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Technical Details
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Mitigations
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
References
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Additional Metadata
{
"score": "7.1",
"pubDate": "2026-08-06T22:18:28.003Z",
"pubdate": "2026-08-06T22:18:28.003Z",
"executiveSummary": "TimescaleDB through version 2.29.1 contains an out-of-bounds read vulnerability residing in its bulk text dictionary decompression mechanism. The flaw allows authenticated attackers with direct DML access to a non-frozen physical compressed hypertable relation to supply a crafted Simple8b selector-11 value. This value is improperly stored within a signed int16 Arrow dictionary-index type, successfully bypassing the implemented index validation checks. Consequently, attackers can trigger an out-of-bounds read operation situated prior to the base of the live offsets array via the VectorAgg single-text hashing strategy. The successful exploitation of this security defect leads directly to query-result integrity failures, backend SIGSEGV signals, or full PostgreSQL database crash recovery sequences, depending heavily on the specific build configuration of the hosting environment. The risk implication centers on operational disruption, denial of service through backend crashes, and potential data corruption or incorrect aggregation outputs affecting analytical queries.",
"technicalDetails": "The vulnerability stems from inadequate bounds checking and type handling within the bulk text dictionary decompression logic of TimescaleDB. Specifically, the system processes a crafted Simple8b selector-11 value that is subsequently assigned to a signed int16 Arrow dictionary-index data type. Because the index validation checks fail to adequately constrain this signed integer value, the corrupted index bypasses safety verification. During subsequent query execution, the VectorAgg single-text hashing strategy utilizes this unchecked index value, resulting in an out-of-bounds read that reaches memory locations situated before the base of the live offsets array. The attack flow requires an authenticated user who possesses direct DML access to interact with a non-frozen physical compressed hypertable relation. By executing a specially crafted query or data manipulation operation that introduces the malicious Simple8b selector-11 value, the attacker forces the decompression routine to evaluate the invalid signed int16 index. The vulnerable component fails to reject the malformed index, allowing the out-of-bounds memory read to execute during aggregation phases. The resulting impact varies based on memory layout and PostgreSQL build configurations, ranging from the silent return of corrupted aggregation results to immediate backend termination via a segmentation fault (SIGSEGV), which subsequently forces PostgreSQL crash recovery procedures."
}