{"schema_version":"1.7.3","id":"GO-2025-4009","published":"2025-10-29T21:49:55Z","modified":"2026-05-15T10:59:24.005728250Z","aliases":["BIT-golang-2025-61723","CVE-2025-61723"],"related":["CGA-4w29-qr5q-79pj","RHSA-2026:7291","RHSA-2026:7385"],"summary":"Quadratic complexity when parsing some invalid inputs in encoding/pem","details":"The processing time for parsing some invalid inputs scales non-linearly with respect to the size of the input.\n\nThis affects programs which parse untrusted PEM inputs.","affected":[{"package":{"name":"stdlib","ecosystem":"Go","purl":"pkg:golang/stdlib"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.24.8"},{"introduced":"1.25.0"},{"fixed":"1.25.2"}]}],"ecosystem_specific":{"imports":[{"path":"encoding/pem","symbols":["Decode","getLine"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2025-4009.json"}}],"references":[{"type":"REPORT","url":"https://go.dev/issue/75676"},{"type":"FIX","url":"https://go.dev/cl/709858"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI"}],"database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2025-4009"},"credits":[{"name":"Jakub Ciolek"}]}