{"id":"GO-2026-5781","aliases":["GO-2026-5781"],"related":[],"kind":"vulnerability","state":"published","title":"Uncatchable stack-overflow denial of service in rsc.io/pdf","summary":"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.","summaryFormat":"markdown","summarySource":"go","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"go"}],"published":"2026-07-27T16:16:22.000Z","modified":"2026-07-27T17:00:22.688Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"rsc.io/pdf","purl":"pkg:golang/rsc.io/pdf","source":"go"}],"references":[{"url":"https://github.com/golang/vulndb/issues/5781","tags":["report"],"sources":["go"]},{"url":"https://github.com/rsc/pdf","tags":["web"],"sources":["go"]}],"credits":["José Antonio Zamudio Amaya"],"sources":[{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5781","url":"https://pkg.go.dev/vuln/GO-2026-5781","licence":"CC-BY-4.0","modified":"2026-07-27T17:00:22.688Z"}],"updatedAt":"2026-11-25T22:56:25.044Z"}