Skip to content

Fix possible fix(deps): golang.org/x/text v0.38.0 → 0.39.0 (CVE-2026-56852) in go.mod - #487

Closed
begininvoke wants to merge 1 commit into
scip-code:mainfrom
begininvoke:redgem/security-fix-c69b70e6
Closed

Fix possible fix(deps): golang.org/x/text v0.38.0 → 0.39.0 (CVE-2026-56852) in go.mod#487
begininvoke wants to merge 1 commit into
scip-code:mainfrom
begininvoke:redgem/security-fix-c69b70e6

Conversation

@begininvoke

Copy link
Copy Markdown

This changes go.mod to address something a scan flagged. It is around line 1.

The golang.org/x/text package contains a vulnerability in its norm.Iter implementation that triggers an infinite loop when processing input containing invalid UTF-8 bytes. This results in a high-severity Denial of Service (DoS), causing application thread hangs and excessive CPU consumption. Immediate dependency upgrade to the patched version is required.

Update golang.org/x/text to v0.39.0 to address CVE-2026-56852.

For reference: rule CVE-2026-56852. Rated high.

I do not know the codebase, so please check the change fits how the rest of it works. Happy to adjust it or close this if the reasoning is off.


Found with automated scanning (RedGem) and reviewed before opening. If it is not useful, closing it is completely fine.

@jupblb jupblb closed this Sep 3, 2026
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.

2 participants