{"id":"GO-2026-5039","revision":"af249ca27d034edd81bb672ba0461673","records":[{"revision":"af249ca27d034edd81bb672ba0461673","observedAt":"2026-11-14T13:57:00.683+00:00","statement":{"source":"osv","id":"GO-2026-5039","aliases":["BIT-golang-2026-42507","CVE-2026-42507"],"title":"Arbitrary inputs are included in errors without any escaping in net/textproto","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.","state":0,"publishedAt":"2026-06-02T21:39:47+00:00","modifiedAt":"2026-11-14T13:12:14.0668295+00:00","affected":[{"ecosystem":"Go","name":"stdlib","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.25.11"},{"kind":"introduced","version":"1.26.0-0"},{"kind":"fixed","version":"1.26.4"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://go.dev/issue/79346","https://go.dev/cl/777060","https://groups.google.com/g/golang-announce/c/tKs3rmcBcKw"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-5039","license":"OSV · upstream source license applies","key":"osv:GO-2026-5039","identifiers":["GO-2026-5039","BIT-golang-2026-42507","CVE-2026-42507"]},"retained":false,"historicalAffected":[]}],"coverage":[]}