THREAT OPS › Threat News › [GHSA] GHSA-6fj4-rcr3-r7rr (high) — lopdf has a stack overflow via deeply nested PDF objects
[GHSA] GHSA-6fj4-rcr3-r7rr (high) — lopdf has a stack overflow via deeply nested PDF objects
GHSA-6fj4-rcr3-r7rr Severity: high CVE: None
lopdf has a stack overflow via deeply nested PDF objects
`lopdf::Document::load_mem` (and the other `load*` entry points) parses nested PDF arrays and dictionaries with unbounded recursion. A small crafted PDF whose Catalog contains a deeply nested array (`/X [[[ … ]]]`, on the order of 10,000 levels) exhausts the call stack and aborts the process wit
Original source: https://github.com/advisories/GHSA-6fj4-rcr3-r7rr