PDF::API2 versions before 2.049 for Perl allow unbounded recursion via circular cross-reference chains in readxrtr
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CPANPDF-API2 |
< 2.049→ 2.049 |
2.049 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-135092 libpdf-api2-perl Fix available
- Ubuntu UBUNTU-CVE-2026-135092 libpdf-api2-perl No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory metacpan.org
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web github.com
- web openwall.com
- web cpan.org