Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xref loop causes qpdf to hang #149

Closed
hannob opened this issue Aug 24, 2017 · 2 comments
Closed

xref loop causes qpdf to hang #149

hannob opened this issue Aug 24, 2017 · 2 comments

Comments

@hannob
Copy link

hannob commented Aug 24, 2017

The attached file will cause an infinite loop in qpdf due to looping xref's.
loop.zip

This is actually an example from a six year old bug in evince, discovered by andreas bogk, see:
https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/825554
https://github.com/andreas23/pdfparser/tree/master/tests

@jberkenbilt
Copy link
Contributor

Thanks. I can reproduce it. Sigh. This one shouldn't be too hard to fix as a special case. I wonder how many other things like this are lurking in qpdf.

@ghost
Copy link

ghost commented Feb 14, 2018

This has been assigned CVE-2017-18186

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants