Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upstack overflow / crash on malformed input in QPDFWriter::enqueueObject(QPDFObjectHandle) #143
Comments
added a commit
to jberkenbilt/qpdf
that referenced
this issue
Aug 12, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jberkenbilt
Aug 12, 2017
Contributor
You're doing me a great service by finding all these cases. I hope you keep it up. I should be releasing 7.0.0 pretty soon. It would be great to fix as many of these as possible. I've coded a fix for this, but I need to do some extra code inspection to make sure my fix is good. It definitely doesn't break any existing tests, and the test suite is very thorough, and it also catches this problem, but I'm not sure it fully addresses the underlying issue, so I'll do more checking before I push to master.
|
You're doing me a great service by finding all these cases. I hope you keep it up. I should be releasing 7.0.0 pretty soon. It would be great to fix as many of these as possible. I've coded a fix for this, but I need to do some extra code inspection to make sure my fix is good. It definitely doesn't break any existing tests, and the test suite is very thorough, and it also catches this problem, but I'm not sure it fully addresses the underlying issue, so I'll do more checking before I push to master. |
jberkenbilt
closed this
in
8249a26
Aug 12, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
ghost
commented
Feb 14, 2018
|
This has been assigned CVE-2017-18183 |
hannob commentedAug 12, 2017
The attached file will crash qpdf. It seems it's running into an endless recursion and thus a stack overflow.
Found with afl.
qpdf-stackoverflow.zip