Repository navigation
chore(deps): update module github.com/klauspost/compress to v1.20.2 [security] - #126
Open
deckhouse-BOaTswain wants to merge 1 commit into
Open
deckhouse-BOaTswain wants to merge 1 commit into
deckhouse-BOaTswain wants to merge 1 commit into
Conversation
deckhouse-BOaTswain
deleted the
renovate/go-github.com-klauspost-compress-vulnerability
branch
August 12, 2026 18:00
deckhouse-BOaTswain
force-pushed
the
renovate/go-github.com-klauspost-compress-vulnerability
branch
2 times, most recently
from
August 12, 2026 22:48
66c425a to
cd7f7bc
Compare
deckhouse-BOaTswain
force-pushed
the
renovate/go-github.com-klauspost-compress-vulnerability
branch
3 times, most recently
from
September 19, 2026 03:44
7c470b3 to
9cc942e
Compare
deckhouse-BOaTswain
force-pushed
the
renovate/go-github.com-klauspost-compress-vulnerability
branch
from
September 21, 2026 16:30
9cc942e to
b69cbff
Compare
deckhouse-BOaTswain
force-pushed
the
renovate/go-github.com-klauspost-compress-vulnerability
branch
from
September 30, 2026 13:08
b69cbff to
c78aef6
Compare
deckhouse-BOaTswain
force-pushed
the
renovate/go-github.com-klauspost-compress-vulnerability
branch
from
October 3, 2026 15:28
c78aef6 to
35ed289
Compare
deckhouse-BOaTswain
force-pushed
the
renovate/go-github.com-klauspost-compress-vulnerability
branch
from
October 16, 2026 14:09
35ed289 to
d7c0ee7
Compare
deckhouse-BOaTswain
force-pushed
the
renovate/go-github.com-klauspost-compress-vulnerability
branch
from
October 19, 2026 01:12
d7c0ee7 to
78b562c
Compare
deckhouse-BOaTswain
force-pushed
the
renovate/go-github.com-klauspost-compress-vulnerability
branch
from
November 6, 2026 00:37
78b562c to
55bdf44
Compare
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.
This PR contains the following updates:
v1.18.5->v1.20.2GitHub Vulnerability Alerts
CVE-2026-63209
Signed Integer Overflow in s2.NewDict
Summary
A signed integer overflow vulnerability in
s2.NewDict()allows an attacker to bypass repeat index validation by supplying a dictionary with a uvarint-encoded repeat value exceedingMaxInt64. WhenDict.Encode()is subsequently called, the overflowed negative repeat value causes an out-of-bounds memory access viaunsafe.Pointerarithmetic, crashing the process with SIGSEGV.Package
github.com/klauspost/compress/s2NewDictfunction)Severity
High (7.5) — CVSS v3.1:
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HVulnerability
Type
Description
The
NewDict()function reads a uvarint from dictionary data and converts it toint:When
rexceedsMaxInt64(9223372036854775807),int(r)overflows to a negative value. Since a negative number is never greater than a positive length, the validation check is bypassed.When
Dict.Encode()is called, the negativerepeatvalue causes an integer overflow inencodeBlockDictGo():load32callsle.Load32which usesunsafe.Pointerarithmetic without bounds checking:This causes a segmentation fault (SIGSEGV) when the negative index is dereferenced.
PoC
Impact
Attack Vector
Any application that:
s2.NewDict()Dict.Encode()on any data ≥32 bytesSuggested Fix
Validate the uvarint value before converting to int:
Or use
uintfor the repeat field and validate againstuint(len(dict)).References
s2/dict.golines 59-61 (vulnerability),s2/encode_all.goline 947 (crash site)Credits
Christopher Linke / https://github.com/celinke97/
Compress/s2: Integer Overflow or Wraparound and Out-of-bounds Write in compress
CVE-2026-63209 / GHSA-259r-337f-4rfw / GO-2026-5841
More information
Details
Signed Integer Overflow in s2.NewDict
Summary
A signed integer overflow vulnerability in
s2.NewDict()allows an attacker to bypass repeat index validation by supplying a dictionary with a uvarint-encoded repeat value exceedingMaxInt64. WhenDict.Encode()is subsequently called, the overflowed negative repeat value causes an out-of-bounds memory access viaunsafe.Pointerarithmetic, crashing the process with SIGSEGV.Package
github.com/klauspost/compress/s2NewDictfunction)Severity
High (7.5) — CVSS v3.1:
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HVulnerability
Type
Description
The
NewDict()function reads a uvarint from dictionary data and converts it toint:When
rexceedsMaxInt64(9223372036854775807),int(r)overflows to a negative value. Since a negative number is never greater than a positive length, the validation check is bypassed.When
Dict.Encode()is called, the negativerepeatvalue causes an integer overflow inencodeBlockDictGo():load32callsle.Load32which usesunsafe.Pointerarithmetic without bounds checking:This causes a segmentation fault (SIGSEGV) when the negative index is dereferenced.
PoC
Impact
Attack Vector
Any application that:
s2.NewDict()Dict.Encode()on any data ≥32 bytesSuggested Fix
Validate the uvarint value before converting to int:
Or use
uintfor the repeat field and validate againstuint(len(dict)).References
s2/dict.golines 59-61 (vulnerability),s2/encode_all.goline 947 (crash site)Credits
Christopher Linke / https://github.com/celinke97/
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
OOB read in github.com/klauspost/compress/s2
CVE-2026-63209 / GHSA-259r-337f-4rfw / GO-2026-5841
More information
Details
Providing a specially crafted dictionary to s2.NewDict and using it to encode data can make the encoder read out of bounds.
Severity
Unknown
References
This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).
Panic on two-block frames in github.com/klauspost/compress
CVE-2026-116591 / GHSA-fpmh-frq8-7rj8 / GO-2026-6865
More information
Details
Panic on two-block frames in github.com/klauspost/compress
Severity
Unknown
References
This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).
Release Notes
klauspost/compress (github.com/klauspost/compress)
v1.20.2Compare Source
Full Changelog: klauspost/compress@v1.20.1...v1.20.2
v1.20.1Compare Source
What's Changed
New Contributors
Full Changelog: klauspost/compress@v1.20.0...v1.20.1
v1.20.0Compare Source
What's Changed
New Contributors
Full Changelog: klauspost/compress@v1.19.2...v1.20.0
v1.19.2Compare Source
What's Changed
New Contributors
Full Changelog: klauspost/compress@v1.19.1...v1.19.2
v1.19.1Compare Source
What's Changed
Peekinstead ofReadBytefor thebufio.Readerdecode path by @joechenrh in #1169New Contributors
Full Changelog: klauspost/compress@v1.19.0...v1.19.1
v1.19.0Compare Source
What's Changed
decodedLenby @eustas in #1148New Contributors
Full Changelog: klauspost/compress@v1.18.6...v1.19.0
v1.18.7Compare Source
Security release without other changes.
Full Changelog: klauspost/compress@v1.18.6...v1.18.7
v1.18.6Compare Source
What's Changed
New Contributors
Full Changelog: klauspost/compress@v1.18.5...v1.18.6
Configuration
📅 Schedule: Branch creation - "" in timezone UTC, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.