Skip to content
OpenAdvisories
Unscored CVE-2026-135092 EUVD-2026-135866

PDF::API2 versions before 2.049 for Perl allow unbounded recursion via circular cross-reference chains in readxrtr

Published Nov 25, 2026 · Updated Nov 26, 2026 · Assigned by CPANSec

Description

PDF::API2 versions before 2.049 for Perl allow unbounded recursion via circular cross-reference chains in readxrtr.

When a PDF is opened, readxrtr reads each cross-reference table and calls itself on the offset in the trailer's /Prev entry. Nothing records which offsets it has already read, so a /Prev entry pointing back to an earlier table, or to its own, makes it recurse without end.

An attacker who supplies a crafted PDF can cause a denial of service in any application that opens it.

Affected products

VendorProductAffectedFixed
— PDF-API2 < 2.049 2.049

References