{"api_version":"1","generated_at":"2026-06-04T08:16:17+00:00","cve":"CVE-2026-42507","urls":{"html":"https://cve.report/CVE-2026-42507","api":"https://cve.report/api/cve/CVE-2026-42507.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-42507","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-42507"},"summary":{"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":"PUBLISHED","assigner":"Go","published_at":"2026-06-02 23:16:38","updated_at":"2026-06-03 20:16:20"},"problem_types":["CWE-532: Insertion of Sensitive Information into Log File"],"metrics":[{"version":"3.1","source":"ADP","type":"DECLARED","score":"5.3","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"}},{"version":"3.1","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","score":"5.3","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","baseScore":5.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE"}}],"references":[{"url":"https://go.dev/issue/79346","name":"https://go.dev/issue/79346","refsource":"security@golang.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://go.dev/cl/777060","name":"https://go.dev/cl/777060","refsource":"security@golang.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://groups.google.com/g/golang-announce/c/tKs3rmcBcKw","name":"https://groups.google.com/g/golang-announce/c/tKs3rmcBcKw","refsource":"security@golang.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://pkg.go.dev/vuln/GO-2026-5039","name":"https://pkg.go.dev/vuln/GO-2026-5039","refsource":"security@golang.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-42507","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42507","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Go standard library","product":"net/textproto","version":"affected 1.25.11 semver","platforms":[]},{"source":"CNA","vendor":"Go standard library","product":"net/textproto","version":"affected 1.26.0-0 1.26.4 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"42507","cve":"CVE-2026-42507","epss":"0.000180000","percentile":"0.047770000","score_date":"2026-06-03","updated_at":"2026-06-04 00:06:34"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"}},{"other":{"content":{"id":"CVE-2026-42507","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-06-03T19:04:08.223332Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-06-03T19:04:45.361Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"collectionURL":"https://pkg.go.dev","defaultStatus":"unaffected","packageName":"net/textproto","product":"net/textproto","programRoutines":[{"name":"parseCodeLine"},{"name":"Reader.ReadCodeLine"},{"name":"readMIMEHeader"},{"name":"Error.Error"},{"name":"Reader.ReadMIMEHeader"},{"name":"Reader.ReadResponse"}],"vendor":"Go standard library","versions":[{"lessThan":"1.25.11","status":"affected","version":"0","versionType":"semver"},{"lessThan":"1.26.4","status":"affected","version":"1.26.0-0","versionType":"semver"}]}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"CWE-532: Insertion of Sensitive Information into Log File","lang":"en"}]}],"providerMetadata":{"dateUpdated":"2026-06-02T22:01:37.307Z","orgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","shortName":"Go"},"references":[{"url":"https://go.dev/issue/79346"},{"url":"https://go.dev/cl/777060"},{"url":"https://groups.google.com/g/golang-announce/c/tKs3rmcBcKw"},{"url":"https://pkg.go.dev/vuln/GO-2026-5039"}],"title":"Arbitrary inputs are included in errors without any escaping in net/textproto"}},"cveMetadata":{"assignerOrgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","assignerShortName":"Go","cveId":"CVE-2026-42507","datePublished":"2026-06-02T22:01:37.307Z","dateReserved":"2026-04-28T00:21:12.792Z","dateUpdated":"2026-06-03T19:04:45.361Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-06-02 23:16:38","lastModifiedDate":"2026-06-03 20:16:20","problem_types":["CWE-532: Insertion of Sensitive Information into Log File"],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","baseScore":5.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":1.4}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"42507","Ordinal":"1","Title":"Arbitrary inputs are included in errors without any escaping in ","CVE":"CVE-2026-42507","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"42507","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Arbitrary inputs are included in errors without any escaping in "}]}}}