GO-2026-5781
Uncatchable stack-overflow denial of service in rsc.io/pdf
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.
What each source reports
OSV No score
Uncatchable stack-overflow denial of service in rsc.io/pdf
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.
- Record
GO-2026-5781- Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
rsc.io/pdfGo |
All versions | None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
GO-2026-5781 is a vulnerability with no CVSS score yet in rsc.io/pdf, published July 27, 2026. No source lists public exploit code. No source names a fixed version.