Resource exhaustion in Go programming language - CVE-2026-42504

 

Resource exhaustion in Go programming language - CVE-2026-42504

Published: July 31, 2026


Vulnerability identifier: #VU140619
CSH Severity: Medium
CVSS v4 BT: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]
CVE-ID: CVE-2026-42504
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to uncontrolled resource consumption in WordDecoder.DecodeHeader in the mime package when parsing a maliciously crafted MIME header containing many invalid encoded-words. A remote attacker can send a specially crafted MIME header to cause a denial of service.


Affected software

Go programming language
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
Development Tools Module
openSUSE Leap
go1.25-race
go1.25
go1.25-doc
go1.25-openssl-race
go1.25-openssl-debuginfo
go1.25-openssl-doc
go1.25-openssl
go1.26
go1.26-doc
go1.26-race
go1.26-openssl-doc
go1.26-openssl-race
go1.26-openssl
Red Hat Advanced Cluster Security for Kubernetes

How to mitigate CVE-2026-42504

Install security update from vendor's website.

Go programming language - addressed in versions 1.25.11, 1.26.4
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
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
go1.26-openssl-doc - 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 - addressed in versions 1.26.5-150000.1.12.1, 1.26.5-150600.13.9.1
Red Hat Advanced Cluster Security for Kubernetes - update to 4.11.2

External References

Related Security Bulletins