Skip to content

Backport to 2.29.x: #10360: Fix crashes with malformed compressed data - #10391

Merged
timescale-automation merged 1 commit into
2.29.xfrom
backport/2.29.x/10360
Aug 3, 2026
Merged

Backport to 2.29.x: #10360: Fix crashes with malformed compressed data#10391
timescale-automation merged 1 commit into
2.29.xfrom
backport/2.29.x/10360

Conversation

@timescale-automation

Copy link
Copy Markdown
Member

This is an automated backport of #10360: Fix crashes with malformed compressed data.
This PR will be merged automatically after all the relevant CI checks pass. If this fix should not be backported, or will be backported manually, just close this PR. You can use the backport branch to add your changes, it won't be modified automatically anymore.

For more details, please see the documentation

Original description

Fix crashes with malformed compressed data

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.

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.

(cherry picked from commit 517c13e)
@timescale-automation
timescale-automation merged commit 26f2569 into 2.29.x Aug 3, 2026
78 of 79 checks passed
@timescale-automation
timescale-automation deleted the backport/2.29.x/10360 branch August 3, 2026 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

is-auto-backport PR created by backport automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants