CVE-2017-5627

Source
https://cve.org/CVERecord?id=CVE-2017-5627
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-5627.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-5627
Downstream
Related
Published
2017-01-30T04:59:00Z
Modified
2026-10-08T07:07:46Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:a:artifex:mujs:*:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "fixed":  "2017-01-24"
                }
            ],
            "source":  "CPE_RANGE",
            "vendor_product":  "artifex:mujs"
        }
    ]
}
References

Affected packages

Git / github.com/ccxvii/mujs

Affected ranges

Type
GIT
Repo
https://github.com/ccxvii/mujs
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-5627.json"
vanir_signatures
[
    {
        "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"
        }
    }
]
vanir_signatures_modified
"2026-10-08T07:07:46Z"