CVE-2026-70634
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
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| timescale | timescaledb | 0 <= 2.29.1 | affected |
| timescale | timescaledb | 517c13e7cc6afadb4a7deaa7a5a5a29065e5b5a3 | unaffected |
Weaknesses
- CWE-129: CWE-129 Improper validation of array index
- CWE-125: CWE-125 Out-of-bounds read
References
- https://github.com/timescale/timescaledb/pull/10360
- https://github.com/timescale/timescaledb/commit/517c13e7cc6afadb4a7deaa7a5a5a29065e5b5a3
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.