Skip to content

chore: upgrade x/text for CVE-2026-56852 - #19

Merged
brendan-kellam merged 1 commit into
mainfrom
brendan/sou-1751-x-text-cve
Aug 4, 2026
Merged

chore: upgrade x/text for CVE-2026-56852#19
brendan-kellam merged 1 commit into
mainfrom
brendan/sou-1751-x-text-cve

Conversation

@brendan-kellam

@brendan-kellam brendan-kellam commented Aug 4, 2026

Copy link
Copy Markdown

Summary

  • upgrade golang.org/x/text from v0.37.0 to the patched v0.39.0
  • refresh the related Go module graph (x/sync, x/mod, and x/tools)
  • resolve SOU-1751 / CVE-2026-56852, where norm.Iter can enter an infinite loop on invalid UTF-8 input

Verification

  • go mod verify
  • go list -m golang.org/x/text selects v0.39.0
  • go test ./...
  • git diff --check

After merge, Sourcebot should advance its vendor/zoekt submodule to pick up the patched dependency.


Note

Low Risk
Indirect dependency patch with no code changes; typical low-risk security maintenance, assuming tests pass.

Overview
Bumps golang.org/x/text from v0.37.0 to v0.39.0 to address CVE-2026-56852, where norm.Iter could hang on invalid UTF-8.

The module graph is refreshed in lockstep: golang.org/x/sync v0.20.0 → v0.21.0 (direct), plus x/mod and x/tools checksum updates in go.sum. No application source changes—only go.mod / go.sum.

Reviewed by Cursor Bugbot for commit f5067e1. Bugbot is set up for automated code reviews on this repo. Configure here.

Upgrade golang.org/x/text from v0.37.0 to v0.39.0 to fix the infinite loop in norm.Iter when handling invalid UTF-8 input. This also updates the required x/sync version and module checksums.\n\nResolves SOU-1751.
@brendan-kellam
brendan-kellam merged commit 05e6c40 into main Aug 4, 2026
19 checks passed
@brendan-kellam
brendan-kellam deleted the brendan/sou-1751-x-text-cve branch August 4, 2026 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant