Vulnerability 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.
CVSS Score
MEDIUM
References
- https://go.dev/cl/777060
- https://go.dev/issue/79346
- https://groups.google.com/g/golang-announce/c/tKs3rmcBcKw
- https://pkg.go.dev/vuln/GO-2026-5039
FAQ
What is CVE-2026-42507?
CVE-2026-42507 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 logg...
How severe is CVE-2026-42507?
CVE-2026-42507 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-42507?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.