Every CVE Search/ Get API key

GO-2026-5781

Uncatchable stack-overflow denial of service in rsc.io/pdf

No score

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

Affected packages
PackageAffectedFixed
rsc.io/pdf
Go
All versions None known

History

History
RecordedChangedSources
first indexedOSV

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.

References

MoveEnter Open