Go standard library · Go · published 2026-06-02
CVE-2026-42507Arbitrary inputs are included in errors without any escaping in net/textproto
Routine No exploitation evidence; EPSS 0.4%.
CVE-2026-42507 is not known to be exploited in the wild. EPSS estimates a 0.4% chance of exploitation in the next 30 days, higher than 31% of all CVEs. This Go vulnerability: CVSS 5.3 (v3.1), attacks can be automated. Fixed upstream in Go 1.26.4, 1.25.11. Routine: patch when convenient.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
Fixed upstream in Go 1.26.4, 1.25.11.
Patch events
Language runtimeGo
Go security releases: 1.26.4, 1.25.11
Upgrade to
1.26.41.25.11Why: Vendor security release for server software (most severe: CVE-2026-42504).
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | No | CISA KEV |
| Ransomware use | — | CISA KEV |
| EPSS (30-day exploitation probability) | 0.4% (32th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 5.3 (v3.1)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N | CNA / CISA ADP |
| SSVC exploitation | none | CISA Vulnrichment |
| SSVC automatable | Yes | CISA Vulnrichment |
| SSVC technical impact | partial | CISA Vulnrichment |
Affected versions (from the CVE record)#
- Go standard library net/textproto
0to before1.25.11(affected)1.26.0-0to before1.26.4(affected)
Description (from the CVE record)#
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.
Quoted from the CVE Program record.