When returning errors, functions in the net/textproto package would include its input as part of the error. This might allow an attacker to inject misleading content to errors that are printed or logged.
History

Wed, 03 Jun 2026 23:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
CWE-532

Wed, 03 Jun 2026 21:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-107

Wed, 03 Jun 2026 19:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 03 Jun 2026 12:45:00 +0000

Type Values Removed Values Added
First Time appeared Golang
Golang net
Vendors & Products Golang
Golang net

Wed, 03 Jun 2026 04:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-107

Wed, 03 Jun 2026 02:30:00 +0000

Type Values Removed Values Added
Description When returning errors, functions in the net/textproto package would include its input as part of the error. This might allow an attacker to inject misleading content to errors that are printed or logged.
Title Arbitrary inputs are included in errors without any escaping in net/textproto
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Go

Published: 2026-06-02T22:01:37.307Z

Updated: 2026-06-03T19:04:45.361Z

Reserved: 2026-04-28T00:21:12.792Z

Link: CVE-2026-42507

cve-icon Vulnrichment

Updated: 2026-06-03T19:04:38.365Z

cve-icon NVD

Status : Received

Published: 2026-06-02T23:16:38.027

Modified: 2026-06-03T20:16:20.650

Link: CVE-2026-42507

cve-icon Redhat

No data.