What’s Vulnerable › Vulnerabilities
CVE-2017-5627
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2017-01-30 · updated 2026-06-17
- Weakness: CWE-190
Description
An issue was discovered in Artifex Software, Inc. MuJS before 4006739a28367c708dea19aeb19b8a1a9326ce08. The jsR_setproperty function in jsrun.c lacks a check for a negative array length. This leads to an integer overflow in the js_pushstring function in jsrun.c when parsing a specially crafted JS file.
Affected products
- MuJS: before 2017-01-24 — fixed in 2017-01-24
How to fix
Upgrade to a fixed version: MuJS 2017-01-24. Check the vendor advisory for mitigations.
References
- http://git.ghostscript.com/?p=mujs.git%3Bh=4006739a28367c708dea19aeb19b8a1a9326ce08
- http://www.securityfocus.com/bid/95856
- https://bugs.ghostscript.com/show_bug.cgi?id=697497
- http://git.ghostscript.com/?p=mujs.git%3Bh=4006739a28367c708dea19aeb19b8a1a9326ce08
- http://www.securityfocus.com/bid/95856
- https://bugs.ghostscript.com/show_bug.cgi?id=697497
Get alerted when CVE-2017-5627 or the next vulnerability affects your stack