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.
{
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:artifex:mujs:*:*:*:*:*:*:*:*"
],
"extracted_events": [
{
"fixed": "2017-01-24"
}
],
"source": "CPE_RANGE",
"vendor_product": "artifex:mujs"
}
]
}"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-5627.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"98204507827475878758503411203823921052",
"219837275049235295249417233581478269132",
"221034644089316709210878260085049884179",
"12574604242465483557562251697909691732"
],
"threshold": 0.9
},
"id": "CVE-2017-5627-036d8818",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/ccxvii/mujs/commit/4006739a28367c708dea19aeb19b8a1a9326ce08",
"target": {
"file": "jsrun.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "39265153859424327921086893734680931786",
"length": 1769
},
"id": "CVE-2017-5627-175b8eb6",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/ccxvii/mujs/commit/4006739a28367c708dea19aeb19b8a1a9326ce08",
"target": {
"file": "jsrun.c",
"function": "jsR_setproperty"
}
}
]
"2026-09-30T08:00:37Z"