{"answers":{"affected":"1 open source package ship an affected version, including rsc.io/pdf.","exploited":"There is no known exploitation of GO-2026-5781 in the wild and no public exploit code.","fix":"No fix has been published for GO-2026-5781 yet. Limit exposure of the affected software until one is available.","what":"GO-2026-5781 is a denial of service vulnerability in rsc.io/pdf, published on 27 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GO-2026-5781 and fix it if it is affected.\n\nWhat it is: GO-2026-5781 is a denial of service vulnerability in rsc.io/pdf, published on 27 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GO-2026-5781 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- rsc.io/pdf (Go): affected all versions; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GO-2026-5781/ (Markdown: https://insights.sbomify.com/GO-2026-5781/index.md)","id":"GO-2026-5781","markdown":"https://insights.sbomify.com/GO-2026-5781/index.md","name":"GO-2026-5781","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"no_fix_stated","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Go PDF library","requires_auth":"none","summary":"Attackers can crash services parsing untrusted PDFs using rsc.io/pdf by sending deeply nested documents that cause uncatchable stack overflows.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"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.","ecosystems":["Go"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":false,"headline":"Uncatchable stack-overflow denial of service in rsc.io/pdf","id":"GO-2026-5781","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":1,"n_references":null,"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"rsc.io/pdf","purl":"pkg:golang/rsc.io/pdf","source":"GO-2026-5781"}],"products":null,"published":"2026-07-27","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Attackers can crash services parsing untrusted PDFs using rsc.io/pdf by sending deeply nested documents that cause uncatchable stack overflows.","url":"https://insights.sbomify.com/GO-2026-5781/"}