golang: Fix of CVE-2026-39820
- CVE-2026-39820: fix quadratic complexity in consumeComment in net/mail by replacing repeated string concatenation with a strings.Builder, reducing the function from O(n^2) to O(n) in nested comment depth
- Products
- go-toolset, golang, golang-bin, golang-docs, golang-misc, golang-race, golang-src, golang-tests
- Affected versions
- Not specified
- Fixed versions
- 1.25.7-1.el9_6.tuxcare.els9
- CVEs
- CVE-2026-39820
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 10:49 UTC · Revision 1
Source evidence
- CVE-2026-39820: fix quadratic complexity in consumeComment in net/mail by replacing repeated string concatenation with a strings.Builder, reducing the function from O(n^2) to O(n) in nested comment depth
osv:CLSA-2026-1781178389
go-toolset
Fixed versions: 1.25.7-1.el9_6.tuxcare.els9
golang
Fixed versions: 1.25.7-1.el9_6.tuxcare.els9
golang-bin
Fixed versions: 1.25.7-1.el9_6.tuxcare.els9
golang-docs
Fixed versions: 1.25.7-1.el9_6.tuxcare.els9
golang-misc
Fixed versions: 1.25.7-1.el9_6.tuxcare.els9
golang-race
Fixed versions: 1.25.7-1.el9_6.tuxcare.els9
golang-src
Fixed versions: 1.25.7-1.el9_6.tuxcare.els9
golang-tests
Fixed versions: 1.25.7-1.el9_6.tuxcare.els9
Complete source record
{
"id": "cd914df33e97bf4b5a13c9e439cd0cca37e93cf5fdba230991e9d3d5210790d3",
"url": "https://osv.dev/vulnerability/CLSA-2026-1781178389",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "golang: Fix of CVE-2026-39820",
"summary": "- CVE-2026-39820: fix quadratic complexity in consumeComment in net/mail by replacing repeated string concatenation with a strings.Builder, reducing the function from O(n^2) to O(n) in nested comment depth",
"evidence": "osv:CLSA-2026-1781178389",
"products": [
{
"name": {
"value": "go-toolset",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.25.7-1.el9_6.tuxcare.els9",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "golang",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.25.7-1.el9_6.tuxcare.els9",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "golang-bin",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.25.7-1.el9_6.tuxcare.els9",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "golang-docs",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.25.7-1.el9_6.tuxcare.els9",
"evidence": "/affected/3/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "golang-misc",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.25.7-1.el9_6.tuxcare.els9",
"evidence": "/affected/4/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "golang-race",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.25.7-1.el9_6.tuxcare.els9",
"evidence": "/affected/5/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "golang-src",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.25.7-1.el9_6.tuxcare.els9",
"evidence": "/affected/6/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "golang-tests",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.25.7-1.el9_6.tuxcare.els9",
"evidence": "/affected/7/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CLSA-2026-1781178389",
"aliases": [
"CLSA-2026-1781178389"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.25.7-1.el9_6.tuxcare.els9"
}
]
}
],
"package": {
"name": "go-toolset",
"purl": "pkg:rpm/tuxcare/go-toolset?distro=almalinux-9.6",
"ecosystem": "TuxCare:AlmaLinux:9.6"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1781178389.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.25.7-1.el9_6.tuxcare.els9"
}
]
}
],
"package": {
"name": "golang",
"purl": "pkg:rpm/tuxcare/golang?distro=almalinux-9.6",
"ecosystem": "TuxCare:AlmaLinux:9.6"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1781178389.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.25.7-1.el9_6.tuxcare.els9"
}
]
}
],
"package": {
"name": "golang-bin",
"purl": "pkg:rpm/tuxcare/golang-bin?distro=almalinux-9.6",
"ecosystem": "TuxCare:AlmaLinux:9.6"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1781178389.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.25.7-1.el9_6.tuxcare.els9"
}
]
}
],
"package": {
"name": "golang-docs",
"purl": "pkg:rpm/tuxcare/golang-docs?distro=almalinux-9.6",
"ecosystem": "TuxCare:AlmaLinux:9.6"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1781178389.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.25.7-1.el9_6.tuxcare.els9"
}
]
}
],
"package": {
"name": "golang-misc",
"purl": "pkg:rpm/tuxcare/golang-misc?distro=almalinux-9.6",
"ecosystem": "TuxCare:AlmaLinux:9.6"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1781178389.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.25.7-1.el9_6.tuxcare.els9"
}
]
}
],
"package": {
"name": "golang-race",
"purl": "pkg:rpm/tuxcare/golang-race?distro=almalinux-9.6",
"ecosystem": "TuxCare:AlmaLinux:9.6"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1781178389.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.25.7-1.el9_6.tuxcare.els9"
}
]
}
],
"package": {
"name": "golang-src",
"purl": "pkg:rpm/tuxcare/golang-src?distro=almalinux-9.6",
"ecosystem": "TuxCare:AlmaLinux:9.6"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1781178389.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.25.7-1.el9_6.tuxcare.els9"
}
]
}
],
"package": {
"name": "golang-tests",
"purl": "pkg:rpm/tuxcare/golang-tests?distro=almalinux-9.6",
"ecosystem": "TuxCare:AlmaLinux:9.6"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1781178389.json"
}
}
],
"modified": "2026-10-26T09:31:08.947746272Z",
"provider": "osv",
"upstream": [
"CVE-2026-39820"
],
"references": [
"https://errata.tuxcare.com/els_os/tuxcare9.6esu/CLSA-2026-1781178389.html",
"https://nvd.nist.gov/vuln/detail/CVE-2026-39820"
]
},
"related_cves": [
{
"value": "CVE-2026-39820",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 447464,
"published_at": "2026-06-11T11:46:49+00:00"
}