Quadratic string concatentation in consumeComment in net/mail

Summary

CVECVE-2026-39820
StatePUBLISHED
AssignerGo
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-05-07 20:16:43 UTC
Updated2026-07-10 12:16:44 UTC
DescriptionWell-crafted inputs reaching ParseAddress, ParseAddressList, and ParseDate were able to trigger excessive CPU exhaustion and memory allocations.

Risk And Classification

Primary CVSS: v3.1 7.5 HIGH from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS: 0.000420000 probability, percentile 0.126170000 (date 2026-05-12)

Problem Types: CWE-770 | CWE-606 | CWE-407: Inefficient Algorithmic Complexity | CWE-606 Unchecked Input for Loop Condition


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
3.1ADPDECLARED7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
3.1ADPCVSS7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
3.10b0ca135-0b70-47e7-9f44-1890c2a1c46cSecondary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Golang Go All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Go Standard Library Net/mail affected 1.25.10 semver Not specified
CNA Go Standard Library Net/mail affected 1.26.0-0 1.26.3 semver Not specified
ADP Red Hat Logging Subsystem For Red Hat OpenShift 6.4 Not specified Not specified
ADP Red Hat Red Hat Advanced Cluster Security For Kubernetes 4.10 Not specified Not specified
ADP Red Hat Red Hat Advanced Cluster Security For Kubernetes 4.9 Not specified Not specified
ADP Red Hat Red Hat Developer Hub 1.10 Not specified Not specified
ADP Red Hat Red Hat Developer Hub 1.9 Not specified Not specified
ADP Red Hat Red Hat OpenShift Service Mesh 3.1 Not specified Not specified
ADP Red Hat Red Hat OpenShift Service Mesh 3.2 Not specified Not specified
ADP Red Hat Red Hat OpenShift Service Mesh 3.3 Not specified Not specified
ADP Red Hat Red Hat OpenShift Service Mesh 3 Not specified Not specified
ADP Red Hat Red Hat Trusted Artifact Signer 1.4 Not specified Not specified
ADP Red Hat Assisted Installer For Red Hat OpenShift Container Platform 2 Not specified Not specified
ADP Red Hat Cert-manager Operator For Red Hat OpenShift Not specified Not specified
ADP Red Hat Confidential Compute Attestation Not specified Not specified
ADP Red Hat Cryostat 4 Not specified Not specified
ADP Red Hat Custom Metric Autoscaler Operator For Red Hat Openshift Not specified Not specified
ADP Red Hat External Secrets Operator For Red Hat OpenShift Not specified Not specified
ADP Red Hat File Integrity Operator Not specified Not specified
ADP Red Hat Logical Volume Manager Storage Not specified Not specified
ADP Red Hat Migration Toolkit For Applications 8 Not specified Not specified
ADP Red Hat Migration Toolkit For Containers Not specified Not specified
ADP Red Hat Multiarch Tuning Operator Not specified Not specified
ADP Red Hat Network Observability Operator Not specified Not specified
ADP Red Hat OpenShift API For Data Protection Not specified Not specified
ADP Red Hat OpenShift Developer Tools And Services Not specified Not specified
ADP Red Hat OpenShift Lightspeed Not specified Not specified
ADP Red Hat OpenShift Pipelines Not specified Not specified
ADP Red Hat OpenShift Serverless Not specified Not specified
ADP Red Hat OpenShift Service Mesh 2 Not specified Not specified
ADP Red Hat OpenShift Service Mesh 3 Not specified Not specified
ADP Red Hat Power Monitoring For Red Hat OpenShift Not specified Not specified
ADP Red Hat Red Hat Ceph Storage 5 Not specified Not specified
ADP Red Hat Red Hat Ceph Storage 6 Not specified Not specified
ADP Red Hat Red Hat Ceph Storage 9 Not specified Not specified
ADP Red Hat Red Hat Certification Program For Red Hat Enterprise Linux 9 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 10 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 8 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 9 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux AI RHEL AI 3 Not specified Not specified
ADP Red Hat Red Hat Hardened Images Not specified Not specified
ADP Red Hat Red Hat OpenShift AI RHOAI Not specified Not specified
ADP Red Hat Red Hat OpenShift Cluster Manager CLI Not specified Not specified
ADP Red Hat Red Hat OpenShift Container Platform 4 Not specified Not specified
ADP Red Hat Red Hat Openshift Data Foundation 4 Not specified Not specified
ADP Red Hat Red Hat OpenShift Dev Spaces Not specified Not specified
ADP Red Hat Red Hat OpenShift Dev Workspaces Operator Not specified Not specified
ADP Red Hat Red Hat OpenShift Distributed Tracing 3 Not specified Not specified
ADP Red Hat Red Hat OpenShift For Windows Containers Not specified Not specified
ADP Red Hat Red Hat OpenShift GitOps Not specified Not specified
ADP Red Hat Red Hat OpenShift Virtualization 4 Not specified Not specified
ADP Red Hat Red Hat OpenStack Platform 18.0 Not specified Not specified
ADP Red Hat Red Hat Quay 3 Not specified Not specified
ADP Red Hat Red Hat Service Interconnect 1 Not specified Not specified
ADP Red Hat Red Hat Service Interconnect 2 Not specified Not specified
ADP Red Hat Red Hat Trusted Artifact Signer Not specified Not specified
ADP Red Hat Security Profiles Operator Not specified Not specified
ADP Red Hat Zero Trust Workload Identity Manager Not specified Not specified
ADP Red Hat Zero Trust Workload Identity Manager - Tech Preview Not specified Not specified
ADP Red Hat Red Hat OpenStack Platform 16.2 Not specified Not specified
ADP Red Hat Red Hat OpenStack Platform 17.1 Not specified Not specified
ADP Red Hat Gatekeeper 3 Not specified Not specified
ADP Red Hat Multicluster Engine For Kubernetes Not specified Not specified
ADP Red Hat Multicluster Global Hub Not specified Not specified
ADP Red Hat Red Hat Advanced Cluster Management For Kubernetes 2 Not specified Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2 Not specified Not specified
ADP Red Hat Red Hat Edge Manager 1 Not specified Not specified
ADP Red Hat Red Hat Lightspeed For Runtimes Operator Not specified Not specified
ADP Red Hat Red Hat Satellite 6 Not specified Not specified

References

ReferenceSourceLinkTags
access.redhat.com/errata/RHSA-2026:36797 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
pkg.go.dev/vuln/GO-2026-4986 [email protected] pkg.go.dev Vendor Advisory
go.dev/issue/78566 [email protected] go.dev Issue Tracking
access.redhat.com/errata/RHSA-2026:36754 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
bugzilla.redhat.com/show_bug.cgi 0b0ca135-0b70-47e7-9f44-1890c2a1c46c bugzilla.redhat.com
access.redhat.com/errata/RHSA-2026:34364 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:33123 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/security/cve/CVE-2026-39820 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:36319 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
go.dev/cl/759940 [email protected] go.dev Patch
security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39820.json 0b0ca135-0b70-47e7-9f44-1890c2a1c46c security.access.redhat.com
access.redhat.com/errata/RHSA-2026:33120 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
groups.google.com/g/golang-announce/c/qcCIEXso47M [email protected] groups.google.com Issue Tracking, Mailing List
access.redhat.com/errata/RHSA-2026:36625 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:33142 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:33150 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:33574 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: thatnealpatel (en)

Additional Advisory Data

SourceTimeEvent
ADP2026-05-07T20:01:27.800ZReported to Red Hat.
ADP2026-05-07T19:41:19.854ZMade public.

Solutions

ADP: RHSA-2026:34364: Logging Subsystem for Red Hat OpenShift 6.4

ADP: RHSA-2026:36625: Red Hat Advanced Cluster Security for Kubernetes 4.10

ADP: RHSA-2026:36319: Red Hat Advanced Cluster Security for Kubernetes 4.9

ADP: RHSA-2026:36754: Red Hat Developer Hub 1.10

ADP: RHSA-2026:33574: Red Hat Developer Hub 1.9

ADP: RHSA-2026:33123: Red Hat OpenShift Service Mesh 3.1

ADP: RHSA-2026:33142: Red Hat OpenShift Service Mesh 3.2

ADP: RHSA-2026:33150: Red Hat OpenShift Service Mesh 3.3

ADP: RHSA-2026:33120: Red Hat OpenShift Service Mesh 3

ADP: RHSA-2026:36797: Red Hat Trusted Artifact Signer 1.4

Workarounds

ADP: 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.

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report