Improper Output Neutralization for Logs in Go programming language - CVE-2026-42507
Published: July 31, 2026
Vulnerability details
The vulnerability allows a remote attacker to inject misleading content into error messages or logs.
The vulnerability exists due to improper output neutralization in the net/textproto package when returning errors that include user-supplied input. A remote attacker can supply crafted input to inject misleading content into error messages or logs.
Affected software
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64
Development Tools Module
openSUSE Leap
Anolis OS
go1.25-race
go1.25
go1.25-doc
go1.25-openssl-race
go1.25-openssl-debuginfo
go1.25-openssl-doc
go1.25-openssl
golang (Red Hat package)
go1.26
go1.26-doc
go1.26-race
golang-tests
golang-src
golang-misc
golang-docs
golang-shared
golang-bin
golang
go1.26-openssl
go1.26-openssl-race
go1.26-openssl-doc
How to mitigate CVE-2026-42507
go1.25-race - update to 1.25.11-150000.1.41.1
go1.25 - update to 1.25.11-150000.1.41.1
go1.25-doc - update to 1.25.11-150000.1.41.1
go1.25-openssl-race - addressed in versions 1.25.12-150000.1.27.1, 1.25.12-150600.13.21.1
go1.25-openssl-debuginfo - addressed in versions 1.25.12-150000.1.27.1, 1.25.12-150600.13.21.1
go1.25-openssl-doc - addressed in versions 1.25.12-150000.1.27.1, 1.25.12-150600.13.21.1
go1.25-openssl - addressed in versions 1.25.12-150000.1.27.1, 1.25.12-150600.13.21.1
golang (Red Hat package) - update to 1.26.4-1.el10_2
go1.26 - update to 1.26.4-150000.1.15.1
go1.26-doc - update to 1.26.4-150000.1.15.1
go1.26-race - update to 1.26.4-150000.1.15.1
golang-tests - update to 1.26.5-1
golang-src - update to 1.26.5-1
golang-misc - update to 1.26.5-1
golang-docs - update to 1.26.5-1
golang-shared - update to 1.26.5-1
golang-bin - update to 1.26.5-1
golang - update to 1.26.5-1
go1.26-openssl - addressed in versions 1.26.5-150000.1.12.1, 1.26.5-150600.13.9.1
go1.26-openssl-race - addressed in versions 1.26.5-150000.1.12.1, 1.26.5-150600.13.9.1
go1.26-openssl-doc - addressed in versions 1.26.5-150000.1.12.1, 1.26.5-150600.13.9.1