A pattern matching test for the error detection in JBIG2 coded PDFs (mentioned in this article by David Krfesel)
It's written in Java and more a proof of concept than a useable tool - so feel free to use it, but don't expect too much.
Be aware: this software is work in progress and a subject of change, so use it at your own risk!