Repository navigation
Description
Finding
Renovate PR #425 — "chore(deps): update module github.com/klauspost/compress to v1.18.7 [security]" (#425, single commit 040185b2a3cdb8c14787cf6c5413bce889437813) — cannot merge as-is. Its go.sum changes only add the v1.18.7 hashes and leave the old version's hashes behind, so go mod tidy rewrites every touched module and the repo's tidy gates fail. The High-severity fix it carries is therefore blocked, and current main still ships the vulnerable versions.
Not covered by #311: that issue (filed 2026-10-18) is a generic triage of older stale Renovate PRs and predates #425 (created 2026-10-20); it does not name this PR, this CVE, or the tidy defect.
Evidence
- PR chore(deps): update module github.com/klauspost/compress to v1.18.7 [security] #425 touches 6 files, all
go.mod/go.sum:pkgs/graph,pkgs/identity,pkgs/map.pkgs/graph/go.mod:3:go 1.21.3→go 1.24; compressv1.17.2→v1.18.7pkgs/map/go.mod:3:go 1.21.3→go 1.24; compressv1.17.2→v1.18.7pkgs/identity/go.mod:3:go 1.22→go 1.24; compressv1.17.7→v1.18.7- Each
go.sumgains the two v1.18.7 lines but keeps the oldv1.17.2/v1.17.7h1:and/go.modlines.
- CI on the PR head is red on exactly that defect (check runs via
gh pr view 425):- "Go module tidy" FAILURE — run 39459998258:
go mod tidy changed go.mod or go.sum; commit the tidy changes. M pkgs/graph/go.sum - "go build" (map) FAILURE — run 39459998232: tidy's diff deletes
github.com/klauspost/compress v1.17.2 h1:…andv1.17.2/go.mod h1:…frompkgs/map/go.sum - "go build (sqlite)" and "go build (libsql)" (identity) FAILURE — run 39459998387: same tidy diff deleting the
v1.17.7lines frompkgs/identity/go.sum - The passing checks (treefmt, Nix flake evaluation, auto-assign) do not exercise
go mod tidy.
- "Go module tidy" FAILURE — run 39459998258:
- Verified on current
main(4b098501, via the contents API): all three modules still require the old compress — graphv1.17.2(go 1.21.3), mapv1.17.2(go 1.21.3), identityv1.17.7(go 1.22). - The update fixes CVE-2026-63209 / GHSA-259r-337f-4rfw (CVSS 7.5 High): signed-integer overflow in
s2.NewDict()in klauspost/compress ≤ v1.18.6 bypasses repeat validation and reaches an out-of-boundsunsafe.Pointeraccess inDict.Encode()(DoS / SIGSEGV). Full advisory text is in PR chore(deps): update module github.com/klauspost/compress to v1.18.7 [security] #425's body.
Why it matters
A ready-made fix for a High-severity advisory sits unmergeable because of two stale lines per go.sum, so the vulnerable dependency stays on main indefinitely — exactly the stale-security-PR pattern #311 warns about, except this one is new and has a known, mechanical cause. The PR also silently raises the go directive in three modules (1.21.3 / 1.22 → 1.24) as a side effect of the new compress release; that toolchain jump should be a deliberate, checked decision, not an unnoticed Renovate side effect.
Acceptance criteria
-
go mod tidyrun inpkgs/graph,pkgs/identity, andpkgs/mapon the chore(deps): update module github.com/klauspost/compress to v1.18.7 [security] #425 branch (or a superseding manual bump): stalev1.17.2/v1.17.7hashes removed from all threego.sumfiles. - PR checks green on the updated head: Go module tidy, graph/map builds, and identity builds (sqlite + libsql).
- The
go 1.24directive bump in the three modules is explicitly confirmed as intended (toolchain/CI support checked), or the bump is reworked so it is not required. - PR chore(deps): update module github.com/klauspost/compress to v1.18.7 [security] #425 is merged (or closed as superseded by an equivalent merged bump), and no
go.modonmainstill requires klauspost/compress < v1.18.7.
Activity
fix(deps): run go mod tidy for klauspost/compress v1.18.7 bump
dezren39 commentedon Oct 20, 2026
Fixed by completing PR #425, now MERGED (merge commit d3bba2d).
What was done: pushed commit a8719df ("fix(deps): run go mod tidy for klauspost/compress v1.18.7 bump") onto PR #425's branch.
go mod tidyin pkgs/graph, pkgs/identity, pkgs/map removed exactly the two stale lines per go.sum (the old v1.17.2 / v1.17.7 h1: and /go.mod hashes); go.mod files unchanged.Acceptance criteria:
klauspost/compress v1.17*lines in pkgs/graph, pkgs/map, pkgs/identity; all three go.mod require v1.18.7.go 1.24(checked against the module proxy), so no module can consume the CVE fix without it; CI installs the per-module version via go-version-file, and pkgs/mcpx already builds with a newer Go (1.27.2).Local verification before pushing: tidy idempotent in all three modules; pkgs/map builds; pkgs/identity builds with -tags sqlite and -tags libsql. pkgs/graph's compile failure (sshmarshal/x/crypto symbol collision) reproduces identically on unmodified main and is the pre-existing #166, unrelated to this bump.