GO-2026-5781 Uncatchable stack-overflow denial of service in rsc.io/pdf
Unknown
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
1 package: 0 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| rsc.io/pdf(Go) | All versions | No fix listed | No fix yet |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rsc.io/pdf(Go) | All versions | No fix listed |
References
- github.com issue-tracking
- github.com