{"id":"GO-2025-3421","summary":"ParsePKCS1PrivateKey panic with partial keys in crypto/x509","details":"Using ParsePKCS1PrivateKey to parse a RSA key that is missing the CRT values would panic when verifying that the key is well formed.","aliases":["BIT-golang-2025-22865","CVE-2025-22865"],"modified":"2026-03-17T04:51:47.319381Z","published":"2025-01-28T00:47:30Z","database_specific":{"url":"https://pkg.go.dev/vuln/GO-2025-3421","review_status":"REVIEWED"},"references":[{"type":"FIX","url":"https://go.dev/cl/643098"},{"type":"REPORT","url":"https://go.dev/issue/71216"},{"type":"WEB","url":"https://groups.google.com/g/golang-dev/c/CAWXhan3Jww/m/bk9LAa-lCgAJ"}],"affected":[{"package":{"name":"stdlib","ecosystem":"Go","purl":"pkg:golang/stdlib"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.24.0-0"},{"fixed":"1.24.0-rc.2"}]}],"ecosystem_specific":{"imports":[{"symbols":["ParsePKCS1PrivateKey"],"path":"crypto/x509"}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2025-3421.json"}}],"schema_version":"1.7.5","credits":[{"name":"Philippe Antoine (Catena cyber)"}]}