Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-42507

net/textproto: golang: Golang net/textproto: Misleading error messages via input injection

Overview

Published
2 Jun 2026
Modified
22 Jul 2026
Medium CVE
2 Registry packages
1,801 OS packages
16 Linux distributions
Yes Fix available

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

Packages affected by CVE-2026-42507
EcosystemPackageVulnerableFixed in
Bitnami golang <1.25.11>=1.26.0-0, <1.26.4 1.25.111.26.4
Go stdlib <1.25.11>=1.26.0-0, <1.26.4 1.25.111.26.4

Open a package to see all its vulnerabilities.

Operating systems · 1,651 fixes

Azure Linux 1 release · 1 package

fixed 1
golang
Azure Linux fixes for CVE-2026-42507
ReleasePackageFixed in
3.0 golang 0:1.26.4-1.azl3

Oracle Linux 1 release · 1 package

fixed 1
go-toolset
Oracle Linux fixes for CVE-2026-42507
ReleasePackageFixed in
9 go-toolset +7 1.26.4-1.0.1.el9_8

Photon OS 1 release · 1 package

fixed 1
go
Photon OS fixes for CVE-2026-42507
ReleasePackageFixed 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
Red Hat fixes for CVE-2026-42507
ReleasePackageFixed inAdvisory
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
SUSE Linux Enterprise fixes for CVE-2026-42507
ReleasePackageFixed inAdvisory
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
alma fixes for CVE-2026-42507
ReleasePackageFixed 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
alpine fixes for CVE-2026-42507
ReleasePackageFixed 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
amazon linux fixes for CVE-2026-42507
ReleasePackageFixed 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
chainguard fixes for CVE-2026-42507
ReleasePackageFixed 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
debian fixes for CVE-2026-42507
ReleasePackageFixed 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
echo fixes for CVE-2026-42507
ReleasePackageFixed in
golang-1-19 +1 affected

minimos 1 release · 423 packages

fixed 423
pombump tw cargobump aws-eks-pod-identity-agent gofumpt grype +417
minimos fixes for CVE-2026-42507
ReleasePackageFixed 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
openSUSE fixes for CVE-2026-42507
ReleasePackageFixed inAdvisory
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
openSUSE Leap fixes for CVE-2026-42507
ReleasePackageFixed inAdvisory
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
rocky fixes for CVE-2026-42507
ReleasePackageFixed 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
wolfi fixes for CVE-2026-42507
ReleasePackageFixed 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

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.