# CVE-2018-5759: jsparse.c in Artifex MuJS through 1.0.2 does not properly maintain the AST depth for binary expressions, which allows remote attackers to c…

- Severity: Medium 5.5 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 5.06%, higher than 92% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2018-01-24T21:00:00.000Z
- Modified: 2026-06-17T02:00:44.177Z
- Weaknesses: CWE-674
- Assigned by: mitre

## Description

jsparse.c in Artifex MuJS through 1.0.2 does not properly maintain the AST depth for binary expressions, which allows remote attackers to cause a denial of service (excessive recursion) via a crafted file.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- artifex mujs: up to 1.0.2

## Every score

- NVD: CVSS:3.0 5.5 Medium `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://www.exploit-db.com/exploits/43904/> (exploit, patch, third-party-advisory, vdb-entry)
- <http://www.securityfocus.com/bid/102833> (third-party-advisory, vdb-entry)
- <https://bugs.ghostscript.com/show_bug.cgi?id=698868> (permissions-required)
- <http://git.ghostscript.com/?p=mujs.git%3Ba=commit%3Bh=4d45a96e57fbabf00a7378b337d0ddcace6f38c1>

## Sources

- CVE List: [CVE-2018-5759](https://www.cve.org/CVERecord?id=CVE-2018-5759), CVE Terms of Use, modified 2024-08-05
- NVD: [CVE-2018-5759](https://nvd.nist.gov/vuln/detail/CVE-2018-5759), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2018-5759 · Whole record: https://cve.day/CVE-2018-5759.json · Rebuilt by cve.day 2026-11-25T22:57:36.511Z
