PDF::API2 versions before 2.049 for Perl allow unbounded recursion via circular cross-reference chains in readxrtr. When a PDF is opened, readxrtr rea...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:16.04:LTSlibpdf-api2-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlibpdf-api2-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlibpdf-api2-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlibpdf-api2-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlibpdf-api2-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10libpdf-api2-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSlibpdf-api2-perl |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
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: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report lists.security.metacpan.org