{"schema_version":"1.7.5","id":"BIT-golang-2026-42507","published":"2026-06-05T05:45:24.966Z","modified":"2026-06-05T07:56:26.571479455Z","aliases":["CVE-2026-42507","GO-2026-5039"],"summary":"Arbitrary inputs are included in errors without any escaping in net/textproto","details":"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.","affected":[{"package":{"name":"golang","ecosystem":"Bitnami","purl":"pkg:bitnami/golang"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.25.11"},{"introduced":"1.26.0-0"},{"fixed":"1.26.4"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/golang/BIT-golang-2026-42507.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}],"references":[{"type":"WEB","url":"https://go.dev/cl/777060"},{"type":"WEB","url":"https://go.dev/issue/79346"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/tKs3rmcBcKw"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42507"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2026-5039"}],"database_specific":{"cpes":["cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*"],"severity":"Medium"}}