{"id":"CVE-2026-42507","published":"2026-06-02T22:01:37Z","modified":"2026-06-03T19:04:45Z","title":"Arbitrary inputs are included in errors without any escaping in net/textproto","vendor":"Go standard library","product":"net/textproto","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.0037,"percentile":0.31769,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/issue/79346","tags":[]},{"url":"https://go.dev/cl/777060","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/tKs3rmcBcKw","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2026-5039","tags":[]}],"priority":{"score":10.1,"factors":[{"name":"EPSS percentile","points":6.35},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"net/textproto","versions":["< 1.25.11",">= 1.26.0-0, < 1.26.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-03T19:04:08.223332Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.25.11",">=1.26.0-0, <1.26.4"],"patched":["1.25.11","1.26.4"],"from":["GO-2026-5039"],"provenance":"source"}],"summary":{"text":"The net/textproto package in the Go standard library includes caller-supplied input unescaped in the errors its functions return. An attacker who can supply such input over the network, with no authentication or user interaction, can inject misleading content into error messages that are then printed or logged.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:05:56Z"},"euvd":{"id":"EUVD-2026-34040","exploited":false,"provenance":"source"}}