All CVEs / Go standard library
CVE-2026-42507Go standard library net/textproto
Medium 5.3 No auth needed
Follow: this CVE · Go standard library · Go standard library net/textproto We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Jun 2, 2026
- Updated
- Jul 22, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for net/textproto.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | stdlib |
< 1.25.11 |
1.25.11 |
go get stdlib@v1.25.11 |
| Go | stdlib |
≥ 1.26.0-0 < 1.26.4 |
1.26.4 |
go get stdlib@v1.26.4 |
Per OSV / GitHub Advisories (GO-2026-5039). Check the version in your lockfile before upgrading.
Affected products
- Go standard library · net/textproto
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Red Hat Security Advisory: git-lfs security update · Red Hat · RHSA-2026:66364 · Nov 23, 2026 High
- Red Hat Security Advisory: golang security update · Red Hat · RHSA-2026:61253 · Nov 23, 2026 High
- Red Hat Security Advisory: golang security update · Red Hat · RHSA-2026:57649 · Nov 23, 2026 High
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- Security update for rclone · SUSE · openSUSE-SU-2026:21436-1 · Jul 22, 2026 Critical
- Security update for go1.25-openssl · SUSE · SUSE-SU-2026:3151-1 · Jul 21, 2026 High
Also: Red Hat (+7), SUSE (+16)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.