cve.bz

CVE-2026-42504 Quadratic complexity in WordDecoder.DecodeHeader in mime

7.5 highEPSS 0.5%Fix available

High (7.5) in go standard library mime. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.25.11, 1.26.4.

On this page
Decoding a maliciously-crafted MIME header containing many invalid encoded-words can consume excessive CPU.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 46th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-06-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-407 Inefficient Algorithmic Complexity
Published
Modified
Assigned by
Go (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • stdlib (Go): fixed in 1.25.11, 1.26.4
  • Debian, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Alpine, Azure Linux, Alpaquita, BellSoft Hardened Containers: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-42504 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-42504?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-42504?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-42504 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Go standard library mimebefore 1.25.11
Go standard library mimefrom 1.26.0-0 before 1.26.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2026-5038Gostdlib<1.25.11
>=1.26.0-0 <1.26.4
1.25.11, 1.26.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12golang-1.19no fix listedDEBIAN-CVE-2026-42504
Debian13golang-1.24no fix listedDEBIAN-CVE-2026-42504
Debian14golang-1.261.26.4-1DEBIAN-CVE-2026-42504
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTSgolang-1.24, golang-1.25, golang-1.26no fix listedUBUNTU-CVE-2026-42504
Ubuntu25.10golang-1.24, golang-1.25no fix listedUBUNTU-CVE-2026-42504
Ubuntu26.10golang-1.26no fix listedUBUNTU-CVE-2026-42504
Red Hatansible_automation_platform:2.5::el8automation-controller-venv-tower0:4.6.31-1.el8apRHSA-2026:50319
Red Hatansible_automation_platform:2.5::el8automation-eda-controller, automation-eda-controller-base, automation-eda-controller-base-services and 2 more0:1.1.21-1.el8apRHSA-2026:50319
Red Hatansible_automation_platform:2.5::el8automation-gateway-proxy, automation-gateway-proxy-server, automation-gateway-proxy-debugsource and 1 more0:2.5.10-7.el8apRHSA-2026:50319
Red Hatansible_automation_platform:2.5::el8python3.12-aiohttp0:3.14.1-2.el8apRHSA-2026:50319
Red Hatansible_automation_platform:2.5::el8python3.12-daphne0:4.2.2-1.el8apRHSA-2026:50319
Red Hatansible_automation_platform:2.5::el8python3.12-pillow0:12.3.0-1.el8apRHSA-2026:50319
Red Hatansible_automation_platform:2.5::el8python3.12-pyasn10:0.6.4-1.el8apRHSA-2026:50319
Red Hatansible_automation_platform:2.5::el8receptor, receptorctl, receptor-debuginfo and 1 more0:1.6.7-1.el8apRHSA-2026:50319
Red Hatansible_automation_platform:2.5::el9automation-controller-venv-tower0:4.6.31-1.el9apRHSA-2026:50319
Red Hatansible_automation_platform:2.5::el9automation-eda-controller, automation-eda-controller-base, automation-eda-controller-base-services and 2 more0:1.1.21-1.el9apRHSA-2026:50319
Red Hatansible_automation_platform:2.5::el9automation-gateway-proxy, automation-gateway-proxy-server, automation-gateway-proxy-debugsource and 1 more0:2.6.17-2.el9apRHSA-2026:50319
Red Hatansible_automation_platform:2.5::el9python3.12-aiohttp0:3.14.1-2.el9apRHSA-2026:50319
62 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morego1.251.25.11-150000.1.41.1SUSE-SU-2026:2326-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morego1.261.26.4-150000.1.15.1SUSE-SU-2026:2327-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morego1.25-openssl1.25.12-150000.1.27.1SUSE-SU-2026:3046-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morego1.26-openssl1.26.5-150000.1.12.1SUSE-SU-2026:3047-1
SUSELinux Enterprise Module for Development Tools 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6go1.25-openssl1.25.12-150600.13.21.1SUSE-SU-2026:3151-1
SUSELinux Enterprise Module for Development Tools 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6go1.26-openssl1.26.5-150600.13.9.1SUSE-SU-2026:3102-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0go1.251.25.11-160000.1.1SUSE-SU-2026:22155-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0go1.25-openssl1.25.12-160000.1.1SUSE-SU-2026:22638-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0go1.261.26.4-160000.1.1SUSE-SU-2026:22154-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0go1.26-openssl1.26.4-160000.1.1SUSE-SU-2026:22572-1
openSUSELeap 16.0go1.251.25.11-160000.1.1openSUSE-SU-2026:20977-1
openSUSELeap 16.0go1.25-openssl1.25.12-160000.1.1openSUSE-SU-2026:21319-1
openSUSELeap 16.0go1.261.26.4-160000.1.1openSUSE-SU-2026:20976-1
openSUSELeap 16.0go1.26-openssl1.26.4-160000.1.1openSUSE-SU-2026:21254-1
openSUSELeap 16.0govulncheck-vulndb0.0.20260723T184607-160000.1.1openSUSE-SU-2026:21483-1
openSUSELeap 16.0rclone1.74.4-bp160.1.1openSUSE-SU-2026:21436-1
openSUSETumbleweedgo1.251.25.11-1.1openSUSE-SU-2026:10959-1
openSUSETumbleweedgo1.261.26.4-1.1openSUSE-SU-2026:10960-1
openSUSETumbleweedinspektor-gadget0.53.2-1.1openSUSE-SU-2026:11056-1
openSUSETumbleweedkured1.23.0-1.1openSUSE-SU-2026:12271-1
openSUSETumbleweedrclone1.74.3-1.1openSUSE-SU-2026:10975-1
AlmaLinux8delve1.26.1-1.module_el8.10.0+4223+bd807c2eALSA-2026:38995
AlmaLinux8golang, go-toolset, golang-bin and 5 more1.26.5-1.module_el8.10.0+4223+bd807c2eALSA-2026:38995
AlmaLinux8grafana, grafana-selinux9.2.10-33.el8_10ALSA-2026:62407
AlmaLinux8grafana-pcp5.1.1-18.el8_10ALSA-2026:63124
AlmaLinux8osbuild-composer, osbuild-composer-core, osbuild-composer-worker101.5-3.el8_10.alma.1ALSA-2026:67148
AlmaLinux9golang, go-toolset, golang-bin and 5 more1.26.4-1.el9_8ALSA-2026:29981
AlmaLinux9grafana, grafana-selinux10.2.6-23.el9_8.3ALSA-2026:62406
AlmaLinux9opentelemetry-collector0.152.1-2.el9_8ALSA-2026:65117
AlmaLinux9osbuild-composer, osbuild-composer-core, osbuild-composer-worker165.1-4.el9_8.1.alma.1ALSA-2026:65153
AlmaLinux10go-fdo-client1.0.0-4.el10_2.7ALSA-2026:62577
AlmaLinux10golang-src, golang-docs, golang-misc and 1 more1.26.4-1.el10_2.alma.1ALSA-2026:29980
AlmaLinux10grafana, grafana-selinux10.2.6-28.el10_2.5ALSA-2026:63022
4 more for AlmaLinux in the JSON.
Rocky Linux8grafana-pcp0:5.1.1-18.el8_10RLSA-2026:63124
Rocky Linux8osbuild-composer0:101.5-3.el8_10.rocky.0.6RLSA-2026:67148
Rocky Linux9image-builder0:52.1-1.el9_8.2RLSA-2026:65886
Rocky Linux9opentelemetry-collector0:0.152.1-2.el9_8RLSA-2026:65117
Rocky Linux9osbuild-composer0:165.1-4.el9_8.1.rocky.0.1RLSA-2026:65153
Rocky Linux10golang-github-openprinting-ipp-usb0:0.9.27-7.el10_2.3RLSA-2026:62631
Rocky Linux10grafana-pcp0:5.3.0-8.el10_2.1RLSA-2026:63119
Rocky Linux10image-builder0:52.1-1.el10_2.2.rocky.0.1RLSA-2026:65534
Rocky Linux10opentelemetry-collector0:0.152.1-2.el10_2RLSA-2026:65116
Rocky Linux10osbuild-composer0:165.1-3.el10_2.2.rocky.0.1RLSA-2026:65895
Rocky Linux10yggdrasil0:0.4.9.2-1.el10_2.3RLSA-2026:69308
Alpinev3.24go1.26.8-r0ALPINE-CVE-2026-42504
Azure Linux3golangno fix listedAZL-98718
Azure Linux3golang1.25.11-1AZL-89360
Azure Linux3golang1.26.4-1AZL-89366
Alpaquita23, 25go1.25.11-r0BELL-CVE-2026-42504
Alpaquitastreamgo1.26.4-r0BELL-CVE-2026-42504
BellSoft Hardened Containers23, 25go1.25.11-r0BELL-CVE-2026-42504
BellSoft Hardened Containersstreamgo1.26.4-r0BELL-CVE-2026-42504

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is rated as an Important severity flaw. A remote attacker could trigger a Denial of Service by sending a crafted MIME header with numerous invalid encoded-words to an application utilizing the affected Golang MIME package. This could lead to excessive CPU consumption on the system processing the malformed header, impacting service availability.

Red Hat's mitigation

To mitigate this issue, restrict network access to services that process MIME headers from untrusted sources. Implement input validation and sanitization for all incoming data, especially MIME headers, to prevent maliciously crafted content from being processed by applications utilizing the vulnerable Golang MIME package.

ProductPackageStateAdvisory
Cryostat 4 on RHEL 9cryostat/cryostat-storage-rhel9:4.2.0-19Fixed 2026-07-29RHSA-2026:48151
Red Hat Ansible Automation Platform 2.5 for RHEL 8receptor-0:1.6.7-1.el8apFixed 2026-08-04RHSA-2026:50319
Red Hat Ansible Automation Platform 2.5 for RHEL 8automation-gateway-proxy-0:2.5.10-8.el8apFixed 2026-09-23RHSA-2026:71114
Red Hat Ansible Automation Platform 2.5 for RHEL 9receptor-0:1.6.7-1.el9apFixed 2026-08-04RHSA-2026:50319
Red Hat Ansible Automation Platform 2.5 for RHEL 9automation-gateway-proxy-0:2.6.17-3.el9apFixed 2026-09-23RHSA-2026:71114
Red Hat Ansible Automation Platform 2.6 for RHEL 10receptor-0:1.6.7-1.el10apFixed 2026-08-04RHSA-2026:50336
Red Hat Ansible Automation Platform 2.6 for RHEL 9receptor-0:1.6.7-1.el9apFixed 2026-08-04RHSA-2026:50336
Red Hat Ansible Automation Platform 2.6 for RHEL 9automation-gateway-proxy-0:2.6.17-3.el9apFixed 2026-09-23RHSA-2026:71113
Red Hat Enterprise Linux 10golang-0:1.26.4-1.el10_2Fixed 2026-06-25RHSA-2026:29980
Red Hat Enterprise Linux 10rhc-worker-playbook-0:0.2.10-1.el10_2Fixed 2026-07-21RHSA-2026:42946
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-rhel9Affected
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-waiters-rhel9Affected
Confidential Compute Attestationbuild-of-trustee/trustee-rhel9-operatorWill not fix
Confidential Compute Attestationopenshift-sandboxed-containers/osc-monitor-rhel9Will not fix
Deployment Validation Operatordvo/deployment-validation-rhel8-operatorAffected
ExternalDNS Operatoredo/external-dns-rhel9Not affected
ExternalDNS Operatoredo/external-dns-rhel9-operatorNot affected
External Secrets Operator for Red Hat OpenShiftexternal-secrets-operator/external-secrets-rhel9Will not fix
File Integrity Operatorcompliance/openshift-compliance-operator-bundleNot affected
File Integrity Operatorcompliance/openshift-file-integrity-rhel8-operatorAffected
622 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-42504.

References

Check your stackJSON