{"id":"GO-2026-5781","summary":"Uncatchable stack-overflow denial of service in rsc.io/pdf","details":"pdf.Open and PDF object resolution in rsc.io/pdf recurse without bound on nested arrays and dictionaries. A sufficiently deeply nested document exhausts the goroutine stack limit and triggers a fatal, uncatchable stack overflow. Any service that parses untrusted PDFs with rsc.io/pdf can therefore be taken down by a single small input.","modified":"2026-07-27T17:00:22.688826404Z","published":"2026-07-27T16:16:22Z","database_specific":{"url":"https://pkg.go.dev/vuln/GO-2026-5781","review_status":"REVIEWED"},"references":[{"type":"REPORT","url":"https://github.com/golang/vulndb/issues/5781"},{"type":"WEB","url":"https://github.com/rsc/pdf"}],"affected":[{"package":{"name":"rsc.io/pdf","ecosystem":"Go","purl":"pkg:golang/rsc.io/pdf"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"ecosystem_specific":{"imports":[{"symbols":["NewReader","Open"],"path":"rsc.io/pdf"}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2026-5781.json"}}],"schema_version":"1.7.5","credits":[{"name":"José Antonio Zamudio Amaya"}]}