GO-2026-5781
Not scored
Uncatchable stack-overflow denial of service in rsc.io/pdf
- Severity
- Not scored
- Published
- Last changed
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| rsc.io/pdf (Go) | all versions | Go Vulnerability Database |
References
Sources
| Source | Record | Licence |
|---|---|---|
| Go Vulnerability Database | GO-2026-5781 changed 2026-07-27 | CC-BY-4.0 |