GO-2026-4947

Source
https://pkg.go.dev/vuln/GO-2026-4947
Import Source
https://vuln.go.dev/ID/GO-2026-4947.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-4947
Aliases
Related
Published
2026-04-07T22:53:49Z
Modified
2026-04-13T08:27:18.817379662Z
Summary
Unexpected work during chain building in crypto/x509
Details

During chain building, the amount of work that is done is not correctly limited when a large number of intermediate certificates are passed in VerifyOptions.Intermediates, which can lead to a denial of service. This affects both direct users of crypto/x509 and users of crypto/tls.

Database specific
{
    "url": "https://pkg.go.dev/vuln/GO-2026-4947",
    "review_status": "REVIEWED"
}
References
Credits
    • Jakub Ciolek - https://ciolek.dev

Affected packages

Go / stdlib

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.25.9
Introduced
1.26.0-0
Fixed
1.26.2

Ecosystem specific

{
    "imports": [
        {
            "path": "crypto/x509",
            "symbols": [
                "Certificate.Verify",
                "Certificate.buildChains"
            ]
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-4947.json"