CVE-2026-42507 json
Arbitrary inputs are included in errors without any escaping in net/textproto
published 2026-06-02 5 mo ago modified 2026-10-03 37 d ago also BIT-golang-2026-42507 , EUVD-2026-34040 , GO-2026-5039
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 31%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami golang 1.25.11, 1.26.4
- go stdlib 1.25.11, 1.26.4
- Go standard library net/textproto 1.25.11, 1.26.4
- golang-1.26 Debian 14 1.26.4-1
debian advisories DEBIAN-CVE-2026-42507
- git-lfs RHEL 9 3.7.1-4.el9_8.3
- delve RHEL 8 1.26.1-1.module+el8.10.0+24516+40554724
- golang RHEL 8 1.26.5-1.module+el8.10.0+24506+6809f2d9
- go-toolset RHEL 8 1.26.5-1.module+el8.10.0+24506+6809f2d9
- golang-bin RHEL 8 1.26.5-1.module+el8.10.0+24506+6809f2d9
- golang-src RHEL 8 1.26.5-1.module+el8.10.0+24506+6809f2d9
- golang-misc RHEL 8 1.26.5-1.module+el8.10.0+24506+6809f2d9
- golang-race RHEL 8 1.26.5-1.module+el8.10.0+24506+6809f2d9
red hat advisories RHSA-2026:66364RHSA-2026:61253RHSA-2026:57649RHSA-2026:49712RHSA-2026:49702RHSA-2026:38995
- go1.25-openssl SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Development Tools 15 SP7 1.25.12-150600.13.21.1
- go1.26-openssl SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Development Tools 15 SP7 1.26.5-150600.13.9.1
- go1.26-openssl SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 1.26.5-150000.1.12.1
- go1.25-openssl SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 1.25.12-150000.1.27.1
- go1.25-openssl SLES for SAP applications 16.0, SLES 16.0 1.25.12-160000.1.1
- go1.26-openssl SLES for SAP applications 16.0, SLES 16.0 1.26.4-160000.1.1
- go1.25 SLES for SAP applications 16.0, SLES 16.0 1.25.11-160000.1.1
- go1.26 SLES for SAP applications 16.0, SLES 16.0 1.26.4-160000.1.1
suse advisories SUSE-SU-2026:3151-1SUSE-SU-2026:3102-1SUSE-SU-2026:3047-1SUSE-SU-2026:3046-1SUSE-SU-2026:22638-1SUSE-SU-2026:22572-1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
- rclone openSUSE Leap 16.0 1.74.4-bp160.1.1
- go1.25-openssl openSUSE Leap 16.0 1.25.12-160000.1.1
- go1.26-openssl openSUSE Leap 16.0 1.26.4-160000.1.1
- go1.25 openSUSE Leap 16.0 1.25.11-160000.1.1
- go1.26 openSUSE Leap 16.0 1.26.4-160000.1.1
- rclone openSUSE Tumbleweed 1.74.3-1.1
- go1.25 openSUSE Tumbleweed 1.25.11-1.1
opensuse advisories openSUSE-SU-2026:21483-1openSUSE-SU-2026:21436-1openSUSE-SU-2026:21319-1openSUSE-SU-2026:21254-1openSUSE-SU-2026:20977-1openSUSE-SU-2026:20976-1
- git-lfs AlmaLinux 9 3.7.1-4.el9_8.3
- delve AlmaLinux 8 1.26.1-1.module_el8.10.0+4223+bd807c2e
- golang AlmaLinux 8 1.26.5-1.module_el8.10.0+4223+bd807c2e
- go-toolset AlmaLinux 8 1.26.5-1.module_el8.10.0+4223+bd807c2e
- golang-bin AlmaLinux 8 1.26.5-1.module_el8.10.0+4223+bd807c2e
- golang-src AlmaLinux 8 1.26.5-1.module_el8.10.0+4223+bd807c2e
- golang-misc AlmaLinux 8 1.26.5-1.module_el8.10.0+4223+bd807c2e
- golang-race AlmaLinux 8 1.26.5-1.module_el8.10.0+4223+bd807c2e
almalinux advisories ALSA-2026:66364ALSA-2026:38995ALSA-2026:29980ALSA-2026:29981
- golang Rocky Linux 10 1.26.4-1.el10_2
- golang Rocky Linux 9 1.26.4-1.el9_8
rocky linux advisories RLSA-2026:29980RLSA-2026:29981
- go Alpine 3.24 1.26.8-r0
alpine advisories ALPINE-CVE-2026-42507
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- golang Azure Linux 3.0 1.25.11-1
- golang Azure Linux 3.0 1.26.4-1
azure linux advisories AZL-89363AZL-89369
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- go.dev/cl/777060 patch
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-42507 updated cvss 5.3
net/textproto: golang: Golang net/textproto: Misleading error messages via input injection
-
Red Hat Assisted Installer for Red Hat OpenShift Container Platform 2 rhai/assisted-installer-rhel9 Red Hat Builds for Red Hat OpenShift openshift-builds/openshift-builds-waiters-rhel9 Red Hat cert-manager Operator for Red Hat OpenShift cert-manager/jetstack-cert-manager-rhel9 Red Hat Compliance Operator compliance/openshift-compliance-operator-bundle Red Hat Confidential Compute Attestation build-of-trustee/trustee-rhel9-operator, openshift-sandboxed-containers/osc-monitor-rhel9 Red Hat Cryostat 4 cryostat/cryostat-storage-rhel9affected: workaround, no fix available “Fix deferred”
+34 more productsfewer
Red Hat Deployment Validation Operator dvo/deployment-validation-rhel8-operator Red Hat External Secrets Operator for Red Hat OpenShift external-secrets-operator/external-secrets-rhel9 Red Hat Fence Agents Remediation Operator workload-availability/fence-agents-remediation-rhel8-operator Red Hat File Integrity Operator compliance/openshift-compliance-operator-bundle Red Hat Gatekeeper 3 gatekeeper/gatekeeper-rhel9-operator Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/eventrouter-rhel9 Red Hat Logical Volume Manager Storage lvms4/topolvm-rhel8, lvms4/topolvm-rhel9, lvms4/lvms-rhel9-operator, redhat-user-workloads/logical-volume-manag-tenant/topolvm Red Hat Machine Deletion Remediation Operator workload-availability/machine-deletion-remediation-rhel8-operator Red Hat Migration Toolkit for Applications 8 mta/mta-cli-rhel9 Red Hat Migration Toolkit for Containers rhmtc/openshift-migration-registry-rhel8 Red Hat Multiarch Tuning Operator multiarch-tuning/multiarch-tuning-rhel9-operator Red Hat Multicluster Engine for Kubernetes multicluster-engine/work-rhel9, multicluster-engine/maestro-rhel9, multicluster-engine/discovery-rhel9, multicluster-engine/placement-rhel9, multicluster-engine/addon-manager-rhel9, multicluster-engine/multicloud-manager-rhel9, +1 more Red Hat Multicluster Global Hub multicluster-globalhub/multicluster-globalhub-agent-rhel8, multicluster-globalhub/multicluster-globalhub-agent-rhel9 Red Hat Network Observability Operator network-observability/network-observability-cli-rhel9 Red Hat Node HealthCheck Operator workload-availability/node-healthcheck-rhel8-operator, node-healthcheck-operator-tech-preview/node-healthcheck-operator-rhel8, node-healthcheck-operator-tech-preview/node-healthcheck-rhel8-operator Red Hat OpenShift Developer Tools and Services helm Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-rhel9-operator Red Hat OpenShift Pipelines openshift-pipelines-client, openshift-pipelines/pipelines-scheduler-rhel9 Red Hat OpenShift Serverless kn-workflow-plugin, openshift-serverless-clients, openshift-serverless-1/logic-rhel9-operator, openshift-serverless-1/kn-plugin-event-sender-rhel9 Red Hat OpenShift Service Mesh 2 openshift-service-mesh/kiali-rhel8 Red Hat OpenShift Service Mesh 3 openshift-service-mesh/kiali-rhel9 Red Hat OpenShift Source-to-Image (S2I) source-to-image/source-to-image-rhel8 Red Hat Power monitoring for Red Hat OpenShift openshift-power-monitoring/kepler-rhel9 Red Hat 3scale API Management Platform 2 3scale-amp2/3scale-rhel7-operator, 3scale-amp2/3scale-rhel9-operator Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/subctl-rhel9, rhacm2/thanos-rhel9, rhacm2/config-policy-controller-rhel9, rhacm2/klusterlet-addon-controller-rhel9, rhacm2/governance-policy-propagator-rhel9, rhacm2/acm-governance-policy-framework-addon-rhel9, +4 more Red Hat Advanced Cluster Security 4 advanced-cluster-security/rhacs-main-rhel8 Red Hat Ansible Automation Platform 2 receptor, python3.11-galaxy-ng, python3.12-galaxy-ng, automation-gateway-proxy, automation-gateway-proxy-openssl30, automation-gateway-proxy-openssl32, +3 more Red Hat build of Apicurio Registry 2 apicurio/apicurio-registry-rhel8-operator, apicurio/apicurio-registry-rhel9-operator Red Hat Ceph Storage 5 rhceph/snmp-notifier-rhel8 Red Hat Ceph Storage 6 rhceph/snmp-notifier-rhel9 Red Hat Ceph Storage 8 rhceph/grafana-rhel9 Red Hat Ceph Storage 9 rhceph/alloy-rhel10 Red Hat Certification Program for Red Hat Enterprise Linux 9 redhat-certification-preflight Red Hat Connectivity Link 1 rhcl-1/rhcl-operator-bundle
33 more affected, 13 more fixed, 4 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 5 mo ago
Exploit prediction
0.37% chance of exploitation in the next 30 days, higher than 31% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | golang | <1.25.11 >=1.26.0-0, <1.26.4 |
1.25.11 1.26.4 |
| go | stdlib | <1.25.11 >=1.26.0-0, <1.26.4 |
1.25.11 1.26.4 |
Affected products
- Go standard library net/textproto
References
-
go.dev
/cl/777060
web, patch
-
go.dev
/issue/79346
web, report
-
groups.google.com
/g/golang-announce/c/tKs3rmcBcKw
web
-
pkg.go.dev
/vuln/GO-2026-5039
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-42507
web
Sources
- CVE List CVE-2026-42507
- NVD CVE-2026-42507
- OSV BIT-golang-2026-42507
- OSV GO-2026-5039
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.