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

Comments

Projects
None yet
2 participants
@hannob

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

This comment has been minimized.

Show comment
Hide comment
@jberkenbilt

jberkenbilt Aug 24, 2017

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.

Contributor

jberkenbilt commented Aug 24, 2017

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

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Feb 14, 2018

This has been assigned CVE-2017-18186

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