cve.bz

CVE-2026-39820 golang go: Unchecked Input for Loop Condition

7.5 highEPSS 0.8%Fix available

High (7.5) in golang go. EPSS 0.8% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.25.10, 1.26.3.

On this page
Well-crafted inputs reaching ParseAddress, ParseAddressList, and ParseDate were able to trigger excessive CPU exhaustion and memory allocations.

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.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 57th percentile. Scored 2026-11-21. 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-05-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-770 Allocation of Resources Without Limits or Throttling
CWE-606 Unchecked Input for Loop Condition
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-39820 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-39820?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-39820?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-39820 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 net/mailbefore 1.25.10
Go standard library net/mailfrom 1.26.0-0 before 1.26.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2026-4986Gostdlib<1.25.10
>=1.26.0-0 <1.26.3
1.25.10, 1.26.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12golang-1.19no fix listedDEBIAN-CVE-2026-39820
Debian13golang-1.24no fix listedDEBIAN-CVE-2026-39820
Debian14golang-1.261.26.3-1DEBIAN-CVE-2026-39820
Ubuntu14.04:LTSgolang-1.10no fix listedUBUNTU-CVE-2026-39820
Ubuntu16.04:LTSgolang-1.6, golang-1.10no fix listedUBUNTU-CVE-2026-39820
Ubuntu18.04:LTSgolang-1.8, golang-1.9, golang-1.10no fix listedUBUNTU-CVE-2026-39820
Ubuntu20.04:LTSgolang-1.13, golang-1.14, golang-1.18 and 3 moreno fix listedUBUNTU-CVE-2026-39820
Ubuntu22.04:LTSgolang-1.17, golang-1.18, golang-1.20 and 5 moreno fix listedUBUNTU-CVE-2026-39820
Ubuntu24.04:LTSgolang-1.21, golang-1.22, golang-1.23 and 2 moreno fix listedUBUNTU-CVE-2026-39820
Ubuntu25.10, 26.04:LTSgolang-1.23, golang-1.24, golang-1.25no fix listedUBUNTU-CVE-2026-39820
UbuntuPro:16.04:LTSgolang-1.13, golang-1.18no fix listedUBUNTU-CVE-2026-39820
UbuntuPro:18.04:LTSgolang-1.13, golang-1.16, golang-1.18no fix listedUBUNTU-CVE-2026-39820
UbuntuPro:20.04:LTSgolang-1.16no fix listedUBUNTU-CVE-2026-39820
UbuntuPro:22.04:LTSgolang-1.13no fix listedUBUNTU-CVE-2026-39820
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
103 more for Red Hat in the JSON and on Red Hat's page.
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.26-openssl1.26.4-160000.1.1SUSE-SU-2026:22572-1
openSUSELeap 16.0go1.25-openssl1.25.12-160000.1.1openSUSE-SU-2026:21319-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
openSUSETumbleweedgo1.251.25.10-1.1openSUSE-SU-2026:10723-1
openSUSETumbleweedgo1.261.26.3-1.1openSUSE-SU-2026:10741-1
openSUSETumbleweedpercona-toolkit3.7.1.4-1.1openSUSE-SU-2026:12166-1
AlmaLinux8delve1.25.2-1.module_el8.10.0+4074+24330916ALSA-2026:22112
AlmaLinux8golang, go-toolset, golang-bin and 5 more1.25.10-1.module_el8.10.0+4187+c45165c4ALSA-2026:22112
AlmaLinux8grafana, grafana-selinux9.2.10-33.el8_10ALSA-2026:62407
AlmaLinux8osbuild-composer, osbuild-composer-core, osbuild-composer-worker101.5-2.el8_10.alma.1ALSA-2026:66016
AlmaLinux9golang, go-toolset, golang-bin and 5 more1.26.3-1.el9_8ALSA-2026:22121
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
AlmaLinux10grafana, grafana-selinux10.2.6-28.el10_2.5ALSA-2026:63022
AlmaLinux10opentelemetry-collector0.152.1-2.el10_2ALSA-2026:65116
Rocky Linux8delve0:1.25.2-1.module+el8.10.0+40035+ee0a7047RLSA-2026:22112
Rocky Linux8golang0:1.25.10-1.module+el8.10.0+40200+0fd0f175RLSA-2026:22112
Rocky Linux8grafana0:9.2.10-33.el8_10RLSA-2026:62407
Rocky Linux8osbuild-composer0:101.5-2.el8_10.rocky.0.6RLSA-2026:66016
Rocky Linux9golang0:1.26.3-1.el9_8RLSA-2026:22121
Rocky Linux9grafana0:10.2.6-23.el9_8.3RLSA-2026:62406
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 Linux10golang0:1.26.3-4.el10_2RLSA-2026:22120
Rocky Linux10grafana0:10.2.6-28.el10_2.5RLSA-2026:63022
Rocky Linux10image-builder0:52.1-1.el10_2.2.rocky.0.1RLSA-2026:65534
2 more for Rocky Linux in the JSON.
Alpinev3.23go1.25.10-r0ALPINE-CVE-2026-39820
Alpinev3.24go1.26.3-r0ALPINE-CVE-2026-39820
Alpinev3.24rclone1.74.1-r0ALPINE-CVE-2026-39820
Azure Linux3golangno fix listedAZL-98772
Alpaquita23, 25go1.25.10-r0BELL-CVE-2026-39820
Alpaquitastreamgo1.26.3-r0BELL-CVE-2026-39820
BellSoft Hardened Containers23, 25go1.25.10-r0BELL-CVE-2026-39820
BellSoft Hardened Containersstreamgo1.26.3-r0BELL-CVE-2026-39820

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 an Important denial of service vulnerability in the Go `net/mail` package. Applications processing untrusted email inputs via `ParseAddress`, `ParseAddressList`, or `ParseDate` functions are susceptible to excessive resource consumption, which can lead to service unavailability.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.5 for RHEL 8automation-gateway-proxy-0:2.5.10-7.el8apFixed 2026-08-04RHSA-2026:50319
Red Hat Ansible Automation Platform 2.5 for RHEL 9automation-gateway-proxy-0:2.6.17-2.el9apFixed 2026-08-04RHSA-2026:50319
Red Hat Ansible Automation Platform 2.6 for RHEL 9automation-gateway-proxy-0:2.6.17-2.el9apFixed 2026-08-04RHSA-2026:50336
Red Hat Enterprise Linux 10golang-0:1.26.3-4.el10_2Fixed 2026-06-01RHSA-2026:22120
Red Hat Enterprise Linux 10grafana-0:10.2.6-28.el10_2.5Fixed 2026-09-03RHSA-2026:63022
Red Hat Enterprise Linux 10opentelemetry-collector-0:0.152.1-2.el10_2Fixed 2026-09-08RHSA-2026:65116
Red Hat Enterprise Linux 10image-builder-0:52.1-1.el10_2.2Fixed 2026-09-08RHSA-2026:65534
Red Hat Enterprise Linux 10osbuild-composer-0:165.1-3.el10_2.2Fixed 2026-09-09RHSA-2026:65895
Red Hat Enterprise Linux 10.0 Extended Update Supportgolang-0:1.26.5-1.el10_0Fixed 2026-08-03RHSA-2026:49702
Red Hat Enterprise Linux 10.0 Extended Update Supportignition-0:2.21.0-3.el10_0.4Fixed 2026-09-08RHSA-2026:65335
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-rhel9Affected
Confidential Compute Attestationbuild-of-trustee/trustee-rhel9-operatorWill not fix
Confidential Compute Attestationconfidential-compute-attestation-tech-preview/trustee-rhel9-operatorWill not fix
Confidential Compute Attestationopenshift-sandboxed-containers/osc-monitor-rhel9Will not fix
Cryostat 4cryostat/cryostat-storage-rhel9Not affected
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler/custom-metrics-autoscaler-rhel9Not affected
ExternalDNS Operatoredo/external-dns-rhel9Affected
ExternalDNS Operatoredo/external-dns-rhel9-operatorAffected
External Secrets Operator for Red Hat OpenShiftexternal-secrets-operator/external-secrets-rhel9Will not fix
Fence Agents Remediation Operatorredhat-user-workloads/far-operator-0-8Affected
285 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-39820.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON