CVE Explorer
CVE-2026-42507
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"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"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:e4837fcb13d5a143e6ab7c8d126474a7eb5eded0a6f55074aedb5a487a2fde6c · sha256:b75f4aee6fe28d21… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"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"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:e4837fcb13d5a143e6ab7c8d126474a7eb5eded0a6f55074aedb5a487a2fde6c · sha256:b75f4aee6fe28d21… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"description":"CWE-532: Insertion of Sensitive Information into Log File","lang":"en"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e4837fcb13d5a143e6ab7c8d126474a7eb5eded0a6f55074aedb5a487a2fde6c · sha256:b75f4aee6fe28d21… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"url":"https://go.dev/cl/777060"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e4837fcb13d5a143e6ab7c8d126474a7eb5eded0a6f55074aedb5a487a2fde6c · sha256:b75f4aee6fe28d21… · /containers/cna/references/1
{"url":"https://go.dev/issue/79346"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e4837fcb13d5a143e6ab7c8d126474a7eb5eded0a6f55074aedb5a487a2fde6c · sha256:b75f4aee6fe28d21… · /containers/cna/references/0
{"url":"https://groups.google.com/g/golang-announce/c/tKs3rmcBcKw"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e4837fcb13d5a143e6ab7c8d126474a7eb5eded0a6f55074aedb5a487a2fde6c · sha256:b75f4aee6fe28d21… · /containers/cna/references/2
{"url":"https://pkg.go.dev/vuln/GO-2026-5039"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e4837fcb13d5a143e6ab7c8d126474a7eb5eded0a6f55074aedb5a487a2fde6c · sha256:b75f4aee6fe28d21… · /containers/cna/references/3
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.