Vulnerability in Go Standard Library Net/textproto

CVE-2026-42507

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.

EPSS: 0.000 (8.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.

Affected products

References

Frequently asked questions

What is CVE-2026-42507?
CVE-2026-42507 is a medium-severity vulnerability in Go Standard Library Net/textproto, classified under CWE-532: INSERTION OF SENSITIVE INFORMATION INTO LOG FILE. CVSS score: 5.3/10. Published 2026-06-02.
How severe is CVE-2026-42507?
Medium severity. CVSS v3 base score is 5.3 out of 10.