CVE-2024-24783

published 5 Mar 2024 · updated 16 Nov 2026

Verify panics on certificates with an unknown public key algorithm in crypto/x509

5.9MediumCVSS 5.9EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 1.21.8 and 1.22.1.

Verifying a certificate chain which contains a certificate with an unknown public key algorithm will cause Certificate.Verify to panic. This affects all crypto/tls clients, and servers that set Config.ClientAuth to VerifyClientCertIfGiven or RequireAndVerifyClientCert. The default behavior is for TLS servers to not verify client certificates.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Go standard library<1.21.8, >=1.22.0-0 <1.22.11.21.8, 1.22.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-24783 severity on Zeptric[![CVE-2024-24783](https://zeptric.io/badge/cve/CVE-2024-24783.svg)](https://zeptric.io/cve/CVE-2024-24783)