Vulnerability · Published May 7, 2026 · Assigned by Go

CVE-2026-39820Quadratic string concatentation in consumeComment in net/mail

High 7.5

In plain English

A high-severity security flaw in net/mail from Go standard library. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.8%top 43.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8delve1.25.2-1.module_el8.10.0+4074+24330916ALSA-2026:22112
AlmaLinux:8go-toolset1.25.10-1.module_el8.10.0+4187+c45165c4ALSA-2026:22112
AlmaLinux:9go-toolset1.26.3-1.el9_8ALSA-2026:22121
AlmaLinux:8golang1.25.10-1.module_el8.10.0+4187+c45165c4ALSA-2026:22112
AlmaLinux:9golang1.26.3-1.el9_8ALSA-2026:22121
AlmaLinux:8golang-bin1.25.10-1.module_el8.10.0+4187+c45165c4ALSA-2026:22112
AlmaLinux:9golang-bin1.26.3-1.el9_8ALSA-2026:22121
AlmaLinux:8golang-docs1.25.10-1.module_el8.10.0+4187+c45165c4ALSA-2026:22112
AlmaLinux:9golang-docs1.26.3-1.el9_8ALSA-2026:22121
AlmaLinux:8golang-misc1.25.10-1.module_el8.10.0+4187+c45165c4ALSA-2026:22112
AlmaLinux:9golang-misc1.26.3-1.el9_8ALSA-2026:22121
AlmaLinux:8golang-race1.25.10-1.module_el8.10.0+4187+c45165c4ALSA-2026:22112
AlmaLinux:9golang-race1.26.3-1.el9_8ALSA-2026:22121
AlmaLinux:8golang-src1.25.10-1.module_el8.10.0+4187+c45165c4ALSA-2026:22112
AlmaLinux:9golang-src1.26.3-1.el9_8ALSA-2026:22121
AlmaLinux:8golang-tests1.25.10-1.module_el8.10.0+4187+c45165c4ALSA-2026:22112
AlmaLinux:9golang-tests1.26.3-1.el9_8ALSA-2026:22121
AlmaLinux:10grafana10.2.6-28.el10_2.5ALSA-2026:63022
AlmaLinux:8grafana9.2.10-33.el8_10ALSA-2026:62407
AlmaLinux:9grafana10.2.6-23.el9_8.3ALSA-2026:62406
AlmaLinux:10grafana-selinux10.2.6-28.el10_2.5ALSA-2026:63022
AlmaLinux:8grafana-selinux9.2.10-33.el8_10ALSA-2026:62407
AlmaLinux:9grafana-selinux10.2.6-23.el9_8.3ALSA-2026:62406
AlmaLinux:10opentelemetry-collector0.152.1-2.el10_2ALSA-2026:65116
AlmaLinux:9opentelemetry-collector0.152.1-2.el9_8ALSA-2026:65117
AlmaLinux:8osbuild-composer101.5-2.el8_10.alma.1ALSA-2026:66016
AlmaLinux:9osbuild-composer165.1-4.el9_8.1.alma.1ALSA-2026:65153
AlmaLinux:8osbuild-composer-core101.5-2.el8_10.alma.1ALSA-2026:66016
AlmaLinux:9osbuild-composer-core165.1-4.el9_8.1.alma.1ALSA-2026:65153
AlmaLinux:8osbuild-composer-worker101.5-2.el8_10.alma.1ALSA-2026:66016
AlmaLinux:9osbuild-composer-worker165.1-4.el9_8.1.alma.1ALSA-2026:65153
Alpine:v3.23go1.25.10-r0ALPINE-CVE-2026-39820
Alpine:v3.24go1.26.3-r0ALPINE-CVE-2026-39820
Alpine:v3.24rclone1.74.1-r0ALPINE-CVE-2026-39820
Debian:12golang-1.19no fix listedDEBIAN-CVE-2026-39820
Debian:13golang-1.24no fix listedDEBIAN-CVE-2026-39820
Debian:14golang-1.261.26.3-1DEBIAN-CVE-2026-39820
Gostdlib1.25.10, 1.26.3GO-2026-4986
Rocky Linux:8delve0:1.25.2-1.module+el8.10.0+40035+ee0a7047RLSA-2026:22112
Rocky Linux:10golang0:1.26.3-4.el10_2RLSA-2026:22120
Rocky Linux:8golang0:1.25.10-1.module+el8.10.0+40200+0fd0f175RLSA-2026:22112
Rocky Linux:9golang0:1.26.3-1.el9_8RLSA-2026:22121
Rocky Linux:10grafana0:10.2.6-28.el10_2.5RLSA-2026:63022
Rocky Linux:8grafana0:9.2.10-33.el8_10RLSA-2026:62407
Rocky Linux:9grafana0:10.2.6-23.el9_8.3RLSA-2026:62406
Rocky Linux:10image-builder0:52.1-1.el10_2.2.rocky.0.1RLSA-2026:65534
Rocky Linux:9image-builder0:52.1-1.el9_8.2RLSA-2026:65886
Rocky Linux:10opentelemetry-collector0:0.152.1-2.el10_2RLSA-2026:65116
Rocky Linux:9opentelemetry-collector0:0.152.1-2.el9_8RLSA-2026:65117
Rocky Linux:10osbuild-composer0:165.1-3.el10_2.2.rocky.0.1RLSA-2026:65895
Rocky Linux:8osbuild-composer0:101.5-2.el8_10.rocky.0.6RLSA-2026:66016
Rocky Linux:9osbuild-composer0:165.1-4.el9_8.1.rocky.0.1RLSA-2026:65153
Ubuntu:22.04:LTSgolang-1.17no fix listedUBUNTU-CVE-2026-39820
Ubuntu:22.04:LTSgolang-1.18no fix listedUBUNTU-CVE-2026-39820
Ubuntu:22.04:LTSgolang-1.20no fix listedUBUNTU-CVE-2026-39820
Ubuntu:22.04:LTSgolang-1.21no fix listedUBUNTU-CVE-2026-39820
Ubuntu:24.04:LTSgolang-1.21no fix listedUBUNTU-CVE-2026-39820
Ubuntu:22.04:LTSgolang-1.22no fix listedUBUNTU-CVE-2026-39820
Ubuntu:24.04:LTSgolang-1.22no fix listedUBUNTU-CVE-2026-39820
Ubuntu:22.04:LTSgolang-1.23no fix listedUBUNTU-CVE-2026-39820
Ubuntu:24.04:LTSgolang-1.23no fix listedUBUNTU-CVE-2026-39820
Ubuntu:25.10golang-1.23no fix listedUBUNTU-CVE-2026-39820
Ubuntu:26.04:LTSgolang-1.23no fix listedUBUNTU-CVE-2026-39820
Ubuntu:22.04:LTSgolang-1.24no fix listedUBUNTU-CVE-2026-39820
Ubuntu:24.04:LTSgolang-1.24no fix listedUBUNTU-CVE-2026-39820
Ubuntu:25.10golang-1.24no fix listedUBUNTU-CVE-2026-39820
Ubuntu:26.04:LTSgolang-1.24no fix listedUBUNTU-CVE-2026-39820
Ubuntu:22.04:LTSgolang-1.25no fix listedUBUNTU-CVE-2026-39820
Ubuntu:24.04:LTSgolang-1.25no fix listedUBUNTU-CVE-2026-39820
Ubuntu:25.10golang-1.25no fix listedUBUNTU-CVE-2026-39820
Ubuntu:26.04:LTSgolang-1.25no fix listedUBUNTU-CVE-2026-39820

Affected products (as reported)

VendorProductVersions
Go standard library net/mail 0 – before 1.25.101.26.0-0 – before 1.26.3

Weakness: CWE-606 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References