{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-42507","id":"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.","descriptionLong":"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.","published":"2026-06-02T22:01:37.307Z","updated":"2026-07-22T19:10:00.120Z","reserved":"2026-04-28T00:21:12.792Z","status":"Awaiting Analysis","rejected":false,"assigner":"Go","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"CISA-ADP"}],"rating":"medium","products":["Go standard library net/textproto"],"affectedProducts":[{"vendor":"Go standard library","product":"net/textproto","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"1.25.11","status":"affected","versionType":"semver"},{"version":"1.26.0-0","lessThan":"1.26.4","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-532"],"aliases":[],"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":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.0037,"epssPercentile":0.31631,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-42507","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42507","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-42507","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-42507","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["go"],"critical":[],"attention":null}