CVE-2026-42507

medium

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.

References

https://pkg.go.dev/vuln/GO-2026-5039

https://groups.google.com/g/golang-announce/c/tKs3rmcBcKw

https://go.dev/issue/79346

https://go.dev/cl/777060

Details

Source: Mitre, NVD

Published: 2026-06-02

Updated: 2026-06-02

Risk Information

CVSS v2

Base Score: 6.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Severity: Medium

EPSS

EPSS: 0.00018