{"id":"CVE-2025-22865","state":"PUBLISHED","title":"ParsePKCS1PrivateKey panic with partial keys in crypto/x509","description":"Using ParsePKCS1PrivateKey to parse a RSA key that is missing the CRT values would panic when verifying that the key is well formed.","publishedAt":"2025-01-28T01:03:25.121Z","updatedAt":"2025-01-30T19:14:21.959Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"CISA-ADP"},"assigner":"Go","products":["Go standard library crypto/x509"],"affected":[{"vendor":"Go standard library","product":"crypto/x509","packageName":"crypto/x509","defaultStatus":"unaffected","versions":[{"version":"1.24.0-0","status":"affected","lessThan":"1.24.0-rc.2","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","programRoutines":[{"name":"ParsePKCS1PrivateKey"}]}],"references":["https://go.dev/cl/643098","https://go.dev/issue/71216","https://groups.google.com/g/golang-dev/c/CAWXhan3Jww/m/bk9LAa-lCgAJ","https://pkg.go.dev/vuln/GO-2025-3421"],"weaknesses":[],"ingestedAt":"2026-10-29T20:08:39.238Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/22xxx/CVE-2025-22865.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-22865","state":"PUBLISHED","datePublished":"2025-01-28T01:03:25.121Z","dateUpdated":"2025-01-30T19:14:21.959Z","assignerShortName":"Go","assignerOrgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","dateReserved":"2025-01-08T19:11:42.833Z"},"containers":{"cna":{"title":"ParsePKCS1PrivateKey panic with partial keys in crypto/x509","descriptions":[{"lang":"en","value":"Using ParsePKCS1PrivateKey to parse a RSA key that is missing the CRT values would panic when verifying that the key is well formed."}],"affected":[{"vendor":"Go standard library","product":"crypto/x509","packageName":"crypto/x509","defaultStatus":"unaffected","versions":[{"version":"1.24.0-0","status":"affected","lessThan":"1.24.0-rc.2","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","programRoutines":[{"name":"ParsePKCS1PrivateKey"}]}],"references":[{"url":"https://go.dev/cl/643098"},{"url":"https://go.dev/issue/71216"},{"url":"https://groups.google.com/g/golang-dev/c/CAWXhan3Jww/m/bk9LAa-lCgAJ"},{"url":"https://pkg.go.dev/vuln/GO-2025-3421"}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-228: Improper Handling of Syntactically Invalid Structure"}]}],"providerMetadata":{"shortName":"Go","orgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","dateUpdated":"2025-01-30T19:14:21.959Z"},"credits":[{"lang":"en","value":"Philippe Antoine (Catena cyber)"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-01-28T14:58:11.060442Z","id":"CVE-2025-22865","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-01-28T15:16:25.641Z"}}]}}}