An issue was discovered in Artifex Software, Inc. MuJS before 8f62ea10a0af68e56d5c00720523ebcba13c2e6a. The MakeDay function in jsdate.c does not validate the month, leading to an integer overflow 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-5628.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"302338063589320777506656733934098694740",
"168914246480469680882378029224303936735",
"256653493518763499336265779728017327860",
"59515177325930289519458002516218188450",
"121817145195669859466740412724984179930",
"235964387829672882322383825213001374906",
"255037448926206480694799834336331042339",
"245703386097029334799162329722053937019"
],
"threshold": 0.9
},
"id": "CVE-2017-5628-2c0e115a",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/ccxvii/mujs/commit/8f62ea10a0af68e56d5c00720523ebcba13c2e6a",
"target": {
"file": "jsdate.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "147080890961510823702327613709478672053",
"length": 501
},
"id": "CVE-2017-5628-89b8a5e3",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/ccxvii/mujs/commit/8f62ea10a0af68e56d5c00720523ebcba13c2e6a",
"target": {
"file": "jsdate.c",
"function": "MakeDay"
}
}
]
"2026-09-30T08:00:38Z"