{"id":"GO-2025-4009","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.","aliases":["BIT-golang-2025-61723","CVE-2025-61723"],"modified":"2026-02-13T02:58:48.571208Z","published":"2025-10-29T21:49:55Z","related":["CGA-4w29-qr5q-79pj"],"database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2025-4009"},"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"}],"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":[{"symbols":["Decode","getLine"],"path":"encoding/pem"}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2025-4009.json"}}],"schema_version":"1.7.3","credits":[{"name":"Jakub Ciolek"}]}