Skip to content

fix(cve): CVE-2026-42499, CVE-2026-39820 - update Go 1.25.9 to 1.25.10 [release-v0.42.2]#2921

Merged
tekton-robot merged 1 commit into
release-v0.42.2from
fix/SRVKP-12511-SRVKP-12514-cve-2026-42499-cve-2026-39820-stdlib-release-v0.42.2-attempt-1
Jul 2, 2026
Merged

fix(cve): CVE-2026-42499, CVE-2026-39820 - update Go 1.25.9 to 1.25.10 [release-v0.42.2]#2921
tekton-robot merged 1 commit into
release-v0.42.2from
fix/SRVKP-12511-SRVKP-12514-cve-2026-42499-cve-2026-39820-stdlib-release-v0.42.2-attempt-1

Conversation

@divyansh42

Copy link
Copy Markdown
Member

CVE Details

Field CVE-2026-42499 CVE-2026-39820
CVE ID CVE-2026-42499 CVE-2026-39820
Go ID GO-2026-4977 GO-2026-4986
Severity TBD (DoS) TBD (DoS)
Component net/mail (stdlib) net/mail (stdlib)
Affected Go < 1.25.10 Go < 1.25.10
Fixed Go 1.25.10 Go 1.25.10

Description

  • CVE-2026-42499: Quadratic string concatenation in consumePhrase in net/mail. Pathological inputs could cause DoS when parsing email addresses according to RFC 5322.
  • CVE-2026-39820: Quadratic string concatenation in consumeComment in net/mail. Well-crafted inputs reaching ParseAddress, ParseAddressList, and ParseDate could trigger excessive CPU exhaustion and memory allocations.

Fix Summary

Updated go directive in go.mod from 1.25.9 to 1.25.10. This is a Go stdlib patch release that includes the security fixes for both CVEs. No vendor directory changes were required (stdlib fix only).

Test Results

Status: ✅ PASSED

Command: GOTOOLCHAIN=go1.25.10 go test -mod=vendor -count=1 ./...
Result: All packages PASSED

All unit tests passed with the updated Go version.

Breaking Changes

None. This is a patch-level stdlib update (1.25.9 → 1.25.10) with no API changes.

Jira References

SRVKP-12511
SRVKP-12514

Verification Steps

  • go version in the build environment matches 1.25.10 or higher
  • govulncheck -scan package ./... no longer reports GO-2026-4977 or GO-2026-4986
  • All unit tests pass: go test -mod=vendor ./...

Risk Assessment

Low — Patch-level Go version bump. Fixes two DoS vulnerabilities in net/mail. The tkn CLI does not directly call net/mail functions but benefits from the updated stdlib in case of transitive use. All tests pass.

- Update Go stdlib from 1.25.9 to 1.25.10
- Addresses CVE-2026-42499: Quadratic string concatenation in consumePhrase in net/mail
- Addresses CVE-2026-39820: Quadratic string concatenation in consumeComment in net/mail
- Both vulnerabilities allow DoS via pathological email address inputs

Resolves: SRVKP-12511, SRVKP-12514

Co-Assisted-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@tekton-robot tekton-robot added do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jun 23, 2026

@vdemeester vdemeester left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/release-note-none

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 2, 2026
@tekton-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vdemeester

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 2, 2026
@divyansh42

Copy link
Copy Markdown
Member Author

/release-note-none

@tekton-robot tekton-robot added release-note-none Denotes a PR that doesnt merit a release note. and removed do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Jul 2, 2026
@tekton-robot
tekton-robot merged commit 21f59f9 into release-v0.42.2 Jul 2, 2026
19 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesnt merit a release note. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants