UnratedFix available
Incorrect enforcement of email constraints in crypto/x509
Type: advisorySources: OSV
When verifying a certificate chain which contains a certificate containing multiple email address constraints which share common local portions but different domain portions, these constraints will not be properly applied, and only the last constraint will be considered.
- Products
- stdlib
- Affected versions
- Not specified
- Fixed versions
- 1.26.1
- CVEs
- CVE-2026-27137
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 28 Oct 2026, 03:50 UTC · Revision 1
Source evidence
Incorrect enforcement of email constraints in crypto/x509
core-osv · Original sourcePublished 6 Mar 2026, 21:03 UTC
When verifying a certificate chain which contains a certificate containing multiple email address constraints which share common local portions but different domain portions, these constraints will not be properly applied, and only the last constraint will be considered.
osv:GO-2026-4599
stdlib
Fixed versions: 1.26.1
Complete source record
{
"id": "f895da6bb0b42346fc1e4d1c1b0bcae84acc253b8ee36e63b50abe036d61677b",
"url": "https://osv.dev/vulnerability/GO-2026-4599",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Incorrect enforcement of email constraints in crypto/x509",
"summary": "When verifying a certificate chain which contains a certificate containing multiple email address constraints which share common local portions but different domain portions, these constraints will not be properly applied, and only the last constraint will be considered.",
"evidence": "osv:GO-2026-4599",
"products": [
{
"name": {
"value": "stdlib",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.26.1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "GO-2026-4599",
"aliases": [
"BIT-golang-2026-27137",
"CVE-2026-27137",
"GO-2026-4599"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.26.0-0"
},
{
"fixed": "1.26.1"
}
]
}
],
"package": {
"name": "stdlib",
"purl": "pkg:golang/stdlib",
"ecosystem": "Go"
},
"database_specific": {
"source": "https://vuln.go.dev/ID/GO-2026-4599.json"
},
"ecosystem_specific": {
"imports": [
{
"path": "crypto/x509",
"symbols": [
"Certificate.Verify",
"checkChainConstraints",
"checkConstraints",
"emailConstraints.query",
"newEmailConstraints",
"parseMailboxes"
]
}
]
}
}
],
"modified": "2026-10-07T10:41:46.086312161Z",
"provider": "osv",
"references": [
"https://go.dev/cl/752182",
"https://go.dev/issue/77952",
"https://groups.google.com/g/golang-announce/c/EdhZqrQ98hk"
],
"provider_metadata": {
"url": "https://pkg.go.dev/vuln/GO-2026-4599",
"review_status": "REVIEWED"
}
},
"related_cves": [
{
"value": "CVE-2026-27137",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 94942,
"published_at": "2026-03-06T21:03:42+00:00"
}