{"id":"CVE-2025-58187","published":"2025-10-29T22:10:12Z","modified":"2025-11-20T22:23:47Z","title":"Quadratic complexity when checking name constraints in crypto/x509","vendor":"Go standard library","product":"crypto/x509","tier":"tail","description":{"text":"Due to the design of the name constraint checking algorithm, the processing time of some inputs scale non-linearly with respect to the size of the certificate. This affects programs which validate arbitrary certificate chains.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00406,"percentile":0.35746,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/issue/75681","tags":[]},{"url":"https://go.dev/cl/709854","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2025-4007","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2025/10/08/1","tags":[]}],"priority":{"score":12.4,"factors":[{"name":"EPSS percentile","points":7.15},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"crypto/x509","versions":["< 1.24.9",">= 1.25.0, < 1.25.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-11-03T19:51:43.036632Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.24.9",">=1.25.0, <1.25.3"],"patched":["1.24.9","1.25.3"],"from":["GO-2025-4007"],"provenance":"source"}],"summary":{"text":"The flaw is in the name constraint checking algorithm of the crypto/x509 package in the Go standard library, where some inputs cause processing time to grow non-linearly with certificate size. An attacker who can supply certificate chains to a program that validates arbitrary chains can trigger this slowdown over the network, without authentication or user interaction, leading to a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:20Z"},"euvd":{"id":"EUVD-2025-36738","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-61723","published":"2025-10-29","fixed":"1.25.2","kev":false},{"cve":"CVE-2025-61724","published":"2025-10-29","fixed":"1.25.2","kev":false},{"cve":"CVE-2025-61725","published":"2025-10-29","fixed":"1.25.2","kev":false},{"cve":"CVE-2025-58187","published":"2025-10-29","fixed":"1.25.3","kev":false},{"cve":"CVE-2025-61727","published":"2025-12-03","fixed":"1.25.5","kev":false,"link":{"from":"CVE-2025-58187","to":"CVE-2025-61727","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.24.9","toFixed":"1.24.11","daysApart":35}]}},{"cve":"CVE-2025-61729","published":"2025-12-02","fixed":"1.25.5","kev":false,"link":{"from":"CVE-2025-58187","to":"CVE-2025-61729","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.24.9","toFixed":"1.24.11","daysApart":34}]}},{"cve":"CVE-2025-61726","published":"2026-01-28","fixed":"1.25.6","kev":false}],"package":"Go:stdlib"}}