{"id":"CVE-2025-22874","aliases":["CVE-2025-22874","GO-2025-3749","BIT-GOLANG-2025-22874"],"related":["RHSA-2025:10676","RHSA-2025:10677","RHSA-2026:47712","RHSA-2026:47719","RHSA-2026:87245","RHSA-2026:87246","RHSA-2026:90994"],"kind":"vulnerability","state":"published","title":"Usage of ExtKeyUsageAny disables policy validation in crypto/x509","summary":"Calling Verify with a VerifyOptions.KeyUsages that contains ExtKeyUsageAny unintentionally disabledpolicy validation. This only affected certificate chains which contain policy graphs, which are rather uncommon.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Calling Verify with a VerifyOptions.KeyUsages that contains ExtKeyUsageAny unintentionally disabledpolicy validation. This only affected certificate chains which contain policy graphs, which are rather uncommon.","source":"cvelist"},{"lang":"es","text":"Al llamar a Verify con un VerifyOptions.KeyUsages que contiene ExtKeyUsageAny, se deshabilitó involuntariamente la validación de políticas. Esto solo afectó a las cadenas de certificados que contienen gráficos de políticas, lo cual es poco común.","source":"nvd"}],"published":"2025-06-11T16:23:50.000Z","modified":"2026-11-23T21:12:28.653Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-295"],"affected":[{"ranges":[{"type":"semver","introduced":"1.24.0-0","fixed":"1.24.4","status":"affected"}],"vendor":"Go standard library","product":"crypto/x509","package":"crypto/x509","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.24.0-0","status":"affected","fixed":"1.24.4"}],"ecosystem":"Go","package":"stdlib","purl":"pkg:golang/stdlib","source":"go"},{"ranges":[{"type":"semver","introduced":"1.24.0-0","status":"affected","fixed":"1.24.4"}],"ecosystem":"Bitnami","package":"golang","purl":"pkg:bitnami/golang","source":"bitnami"}],"references":[{"url":"https://go.dev/cl/670375","tags":["fix","web"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://go.dev/issue/73612","tags":["report","web"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://groups.google.com/g/golang-announce/c/ufZ8WpEsA3A","tags":["web"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3749","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22874","tags":["web"],"sources":["bitnami"]}],"credits":["Krzysztof Skrzętnicki (@Tener) of Teleport"],"assigner":"Go","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-06-11T17:45:40.672Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-22874","url":"https://www.cve.org/CVERecord?id=CVE-2025-22874","licence":"CVE Terms of Use","modified":"2025-06-16T20:26:53.242Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3749","url":"https://pkg.go.dev/vuln/GO-2025-3749","licence":"CC-BY-4.0","modified":"2026-11-23T21:12:28.653Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-22874","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22874","licence":"Public domain","modified":"2026-06-17T08:50:42.733Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GOLANG-2025-22874","url":"https://osv.dev/vulnerability/BIT-GOLANG-2025-22874","licence":"Apache-2.0","modified":"2025-07-09T16:46:18.959Z"}],"updatedAt":"2026-11-25T22:58:59.151Z","epss":{"score":0.00458,"percentile":0.31705,"date":"2026-11-30T12:00:22.000Z"}}