The js_strtod function in jsdtoa.c in Artifex MuJS through 1.0.2 has an integer overflow because of incorrect exponent validation.
https://www.exploit-db.com/exploits/43903/
https://bugs.ghostscript.com/show_bug.cgi?id=698920
http://www.securityfocus.com/bid/102840
http://git.ghostscript.com/?p=mujs.git%3Ba=commit%3Bh=25821e6d74fab5fcc200fe5e818362e03e114428