CVE-2026-42507
net/textproto: golang: Golang net/textproto: Misleading error messages via input injection
Overview
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.
Source: OX vulnerability database
Severity
5.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Affected packages · 2
Operating systems · 1,651 fixes
Azure Linux 1 release · 1 package
fixed 1
golang
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | golang | 0:1.26.4-1.azl3 |
Oracle Linux 1 release · 1 package
fixed 1
go-toolset
| Release | Package | Fixed in |
|---|---|---|
| 9 | go-toolset +7 | 1.26.4-1.0.1.el9_8 |
Photon OS 1 release · 1 package
fixed 1
go
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | go | 1.26.5-1.ph5 |
Red Hat 6 releases · 6 packages
affected 5
fixed 7
butane
yggdrasil-worker-forwarder
buildah
delve
go-toolset
git-lfs
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | butane +26 | affected | — |
| 7 (satellite:el8) | yggdrasil-worker-forwarder | affected | — |
| 8 | butane +46 | affected | — |
| 8 (container-tools:rhel8) | buildah +16 | affected | — |
| 8 (go-toolset:rhel8) | delve | 0:1.26.1-1.module+el8.10.0+24516+40554724 | RHSA-2026:38995 |
| 8 (go-toolset:rhel8) | go-toolset +7 | 0:1.26.5-1.module+el8.10.0+24506+6809f2d9 | RHSA-2026:38995 |
6 more rows
SUSE Linux Enterprise 5 releases · 4 packages
fixed 20
go1-25
go1-25-openssl
go1-26
go1-26-openssl
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | go1-25 +2 | 1.25.11-150000.1.41.1 | SUSE-SU-2026:2326-1 |
| 15.4 | go1-25-openssl +2 | 1.25.12-150000.1.27.1 | SUSE-SU-2026:3046-1 |
| 15.4 | go1-26 +2 | 1.26.4-150000.1.15.1 | SUSE-SU-2026:2327-1 |
| 15.4 | go1-26-openssl +2 | 1.26.5-150000.1.12.1 | SUSE-SU-2026:3047-1 |
| 15.5 | go1-25 +2 | 1.25.11-150000.1.41.1 | SUSE-SU-2026:2326-1 |
| 15.5 | go1-25-openssl +2 | 1.25.12-150000.1.27.1 | SUSE-SU-2026:3046-1 |
14 more rows
alma 3 releases · 4 packages
fixed 5
golang-docs
delve
go-toolset
git-lfs
| Release | Package | Fixed in |
|---|---|---|
| 10 | golang-docs +3 | 1.26.4-1.el10_2.alma.1 |
| 8 (go-toolset:rhel8) | delve | 1.26.1-1.module_el8.10.0+4223+bd807c2e |
| 8 (go-toolset:rhel8) | go-toolset +7 | 1.26.5-1.module_el8.10.0+4223+bd807c2e |
| 9 | go-toolset +7 | 1.26.4-1.el9_8 |
| 9 | git-lfs | 3.7.1-4.el9_8.3 |
alpine 2 releases · 1 package
fixed 2
go
| Release | Package | Fixed in |
|---|---|---|
| 3.24 | go | 1.26.8-r0 |
| edge | go | 1.26.4-r0 |
amazon linux 1 release · 13 packages
fixed 13
golist
soci-snapshotter
golang-github-burntsushi-toml-test
ecs-init
golang
runc
+7
| Release | Package | Fixed in |
|---|---|---|
| 2023 | golist +2 | 0.10.4-12.amzn2023.0.10 |
| 2023 | soci-snapshotter | 0.14.1-1.amzn2023.0.1 |
| 2023 | golang-github-burntsushi-toml-test +3 | 0.2.0-8.amzn2023.0.4 |
| 2023 | ecs-init | 1.105.0-1.amzn2023 |
| 2023 | golang +6 | 1.25.11-1.amzn2023.0.1 |
| 2023 | runc +2 | 1.3.6-1.amzn2023.0.1 |
7 more rows
chainguard 1 release · 883 packages
not affected 1
fixed 882
actionlint
scanner-test-golang-vulnerability-fixed
local-path-provisioner
promxy-fips
promxy
rancher-pushprox
+877
| Release | Package | Fixed in |
|---|---|---|
| actionlint +117 | not affected | |
| scanner-test-golang-vulnerability-fixed | 0.0.1-r2 | |
| local-path-provisioner | 0.0.36-r2 | |
| promxy-fips | 0.0.93-r18 | |
| promxy | 0.0.93-r19 | |
| rancher-pushprox +1 | 0.1.11-r1 |
877 more rows
debian 4 releases · 4 packages
affected 4
fixed 1
golang-1-15
golang-1-19
golang-1-24
golang-1-26
| Release | Package | Fixed in |
|---|---|---|
| 11 | golang-1-15 | affected |
| 12 | golang-1-19 | affected |
| 13 | golang-1-24 | affected |
| 14 | golang-1-24 | affected |
| 14 | golang-1-26 | 1.26.4-1 |
echo 1 release · 1 package
affected 1
golang-1-19
| Release | Package | Fixed in |
|---|---|---|
| golang-1-19 +1 | affected |
minimos 1 release · 423 packages
fixed 423
pombump
tw
cargobump
aws-eks-pod-identity-agent
gofumpt
grype
+417
| Release | Package | Fixed in |
|---|---|---|
| pombump | 0.0.16-r9 | |
| tw | 0.0.49-r1 | |
| cargobump | 0.1.1-r5 | |
| aws-eks-pod-identity-agent +1 | 0.1.37-r2 | |
| gofumpt | 0.10.0-r2 | |
| grype +1 | 0.113.0-r0 |
417 more rows
openSUSE 1 release · 3 packages
fixed 3
go1-25
go1-26
rclone
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | go1-25 +3 | 1.25.11-1.1 | openSUSE-SU-2026:10959-1 |
| Tumbleweed | go1-26 +3 | 1.26.4-1.1 | openSUSE-SU-2026:10960-1 |
| Tumbleweed | rclone +2 | 1.74.3-1.1 | openSUSE-SU-2026:10975-1 |
openSUSE Leap 1 release · 5 packages
fixed 5
go1-25
go1-25-openssl
go1-26
go1-26-openssl
rclone
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | go1-25 +3 | 1.25.11-160000.1.1 | openSUSE-SU-2026:20977-1 |
| 16.0 | go1-25-openssl +2 | 1.25.12-160000.1.1 | openSUSE-SU-2026:21319-1 |
| 16.0 | go1-26 +3 | 1.26.4-160000.1.1 | openSUSE-SU-2026:20976-1 |
| 16.0 | go1-26-openssl +2 | 1.26.4-160000.1.1 | openSUSE-SU-2026:21254-1 |
| 16.0 | rclone +2 | 1.74.4-bp160.1.1 | openSUSE-SU-2026:21436-1 |
rocky 2 releases · 1 package
fixed 2
go-toolset
| Release | Package | Fixed in |
|---|---|---|
| 10 | go-toolset +7 | 1.26.4-1.el10_2 |
| 9 | go-toolset +7 | 1.26.4-1.el9_8 |
wolfi 1 release · 274 packages
not affected 1
fixed 273
actionlint
local-path-provisioner
promxy
docker-machine-driver-linode
step-issuer
rancher-webhook-0-10
+268
| Release | Package | Fixed in |
|---|---|---|
| actionlint +32 | not affected | |
| local-path-provisioner | 0.0.36-r2 | |
| promxy | 0.0.93-r19 | |
| docker-machine-driver-linode | 0.1.16-r6 | |
| step-issuer | 0.10.2-r16 | |
| rancher-webhook-0-10 | 0.10.5-r2 |
268 more rows
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:29980
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:66364
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-42507
- bugzilla.redhat.com https://bugzilla.redhat.com/2515815
- bugzilla.redhat.com https://bugzilla.redhat.com/2515820
- bugzilla.redhat.com https://bugzilla.redhat.com/2515839
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2484205
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42507
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-66364.html
Show all 19 references
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:29980
- go.dev https://go.dev/cl/777060
- go.dev https://go.dev/issue/79346
- groups.google.com https://groups.google.com/g/golang-announce/c/tKs3rmcBcKw
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-42507.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-29981.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-42507
- pkg.go.dev https://pkg.go.dev/vuln/GO-2026-5039
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-42507
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.