Fix crashes with malformed compressed data - #10360
Merged
Merged
Conversation
|
@melihmutlu, @svenklemm: please review this pull request.
|
dbeck
force-pushed
the
dbeck/cve_fixes
branch
2 times, most recently
from
July 29, 2026 18:40
4529c6f to
94cb6cd
Compare
akuzm
reviewed
Jul 29, 2026
akuzm
reviewed
Jul 29, 2026
akuzm
reviewed
Jul 29, 2026
akuzm
reviewed
Jul 29, 2026
dbeck
force-pushed
the
dbeck/cve_fixes
branch
3 times, most recently
from
July 29, 2026 19:20
b058b38 to
e536225
Compare
svenklemm
reviewed
Jul 29, 2026
dbeck
force-pushed
the
dbeck/cve_fixes
branch
9 times, most recently
from
July 30, 2026 16:13
f6bdb88 to
d759ebf
Compare
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
dbeck
force-pushed
the
dbeck/cve_fixes
branch
3 times, most recently
from
July 30, 2026 16:58
26e9840 to
99992d1
Compare
dbeck
force-pushed
the
dbeck/cve_fixes
branch
10 times, most recently
from
August 2, 2026 10:36
e6cbac2 to
7d64574
Compare
dbeck
force-pushed
the
dbeck/cve_fixes
branch
6 times, most recently
from
August 3, 2026 01:02
d9e9551 to
06711b5
Compare
akuzm
reviewed
Aug 3, 2026
akuzm
approved these changes
Aug 3, 2026
The Gorilla and Dictionary compressors crashed on malformed data with the reverse decompression iterator and the bulk decompressor. This issue was reported by Mehmet Ince @mdisec https://mehmetince.net/, and the test case binaries are his contribution that I integrated into the fuzzer test suite. This change adds validation for these cases and adds reverse iterator coverage to the fuzzer tests, so the randomised test will catch future issues. It already caught issues in other compressors like deltadelta, which I also fixed in this review.
svenklemm
approved these changes
Aug 3, 2026
dbeck
enabled auto-merge (rebase)
August 3, 2026 14:34
Merged
surister
pushed a commit
that referenced
this pull request
Aug 4, 2026
# TimescaleDB Changelog **Please note: When updating your database, you should connect using `psql` with the `-X` flag to prevent any `.psqlrc` commands from accidentally triggering the load of a previous TimescaleDB version.** ## 2.29.1 (2026-08-04) This release contains performance improvements and bug fixes since the 2.29.0 release and fixes for security vulnerabilities (#10360, #10379, #10386). You can check the [security advisory](https://github.com/timescale/timescaledb/security/advisories/GHSA-hcfx-29v5-2rcw) for more information on the vulnerability and the platforms that are affected. We recommend that you upgrade at the next available opportunity. **Bugfixes** * [#10327](#10327) Assertion failure in `add_dimension()` when the hypertable argument is `NULL` * [#10339](#10339) Fix crash when deleting from a compressed continuous aggregate source * [#10340](#10340) Validate `max_batches` in `compact_chunk()` * [#10352](#10352) Reset inherited column and constraint flags on chunks during `attach_chunk()` * [#10360](#10360) Fix decompressor crashes with malformed compressed data * [#10369](#10369) Fix typo in error message about `MERGE` support on compressed hypertables * [#10379](#10379) Read hypertable max time value with an ordered scan * [#10386](#10386) Add missing permission checks to internal chunk functions **Thanks** * @JoongHyuk-Shin for reporting and fixing `NULL` handling in `add_dimension()` * @igor2x for reporting a typo in a `MERGE` support error message * @mdisec for reporting issues with compressed data validation during decompression
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Gorilla and Dictionary compressors crashed on malformed data with the reverse decompression iterator and the bulk decompressor.
This issue was reported by Mehmet Ince @mdisec https://mehmetince.net/, and the test case binaries are his contribution that I integrated into the fuzzer test suite.
This change adds validation for these cases and adds reverse iterator coverage to the fuzzer tests, so the randomised test will catch future issues. It already caught issues in other compressors like deltadelta, which I also fixed in this review.