{"id":"CVE-2016-7504","aliases":["EUVD-2016-8357","GHSA-fjq3-r85p-jv63","OESA-2022-1976","UBUNTU-CVE-2016-7504"],"status":"published","title":"A use-after-free vulnerability was observed in Rp_toString function of Artifex Software, Inc....","description":"A use-after-free vulnerability was observed in Rp_toString function of Artifex Software, Inc. MuJS before 5c337af4b3df80cf967e4f9f6a21522de84b392a. A successful exploitation of this issue can lead to code execution or denial of service condition.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.02843,"percentile":0.86763,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-416"],"published":"2016-10-29T01:00:00Z","modified":"2026-10-24T10:30:23Z","affected":[{"source":"osv","ecosystem":"openEuler:22.03-LTS","package":"mujs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.0-2.oe2203"}]}],"bundled":10},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7-1","1.7a-1","1.7a-1ubuntu0.1~esm1"]}],"products":[{"vendor":"artifex","product":"mujs"}],"references":[{"url":"http://bugs.ghostscript.com/show_bug.cgi?id=697142","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Vendor Advisory","evidence","report"]},{"url":"http://www.securityfocus.com/bid/94241","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-7504","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-fjq3-r85p-jv63"},{"url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1976","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30975","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30974","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-9108","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5627","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-7506","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-9017","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5628","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10141","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-9136","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2016-7504","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-7504","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2016-7504","description":"A use-after-free vulnerability was observed in Rp_toString function of Artifex Software, Inc. MuJS before 5c337af4b3df80cf967e4f9f6a21522de84b392a. A successful exploitation of this issue can lead to code execution or denial of service condition.","status":"published","published":"2016-10-29T01:00:00Z","modified":"2024-08-06T01:57:47.645Z","updated_at":"2026-11-02T14:33:36.483151Z"}],"euvd":[{"id":"EUVD-2016-8357","description":"A use-after-free vulnerability was observed in Rp_toString function of Artifex Software, Inc. MuJS before 5c337af4b3df80cf967e4f9f6a21522de84b392a. A successful exploitation of this issue can lead to code execution or denial of service condition.","status":"published","published":"2016-10-29T01:00:00Z","modified":"2024-08-06T01:57:47Z","updated_at":"2026-11-03T02:22:32.939633Z"}],"ghsa":[{"id":"GHSA-fjq3-r85p-jv63","title":"A use-after-free vulnerability was observed in Rp_toString function of Artifex Software, Inc....","description":"A use-after-free vulnerability was observed in Rp_toString function of Artifex Software, Inc. MuJS before 5c337af4b3df80cf967e4f9f6a21522de84b392a. A successful exploitation of this issue can lead to code execution or denial of service condition.","status":"published","published":"2022-05-17T03:35:08Z","modified":"2023-01-27T05:08:42Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T14:43:20.035173Z"}],"nvd":[{"id":"CVE-2016-7504","description":"A use-after-free vulnerability was observed in Rp_toString function of Artifex Software, Inc. MuJS before 5c337af4b3df80cf967e4f9f6a21522de84b392a. A successful exploitation of this issue can lead to code execution or denial of service condition.","status":"published","published":"2016-10-29T01:59:36.137Z","modified":"2026-06-17T00:53:09.163Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T14:03:32.086916Z"}],"osv":[{"id":"CVE-2016-7504","description":"A use-after-free vulnerability was observed in Rp_toString function of Artifex Software, Inc. MuJS before 5c337af4b3df80cf967e4f9f6a21522de84b392a. A successful exploitation of this issue can lead to code execution or denial of service condition.","status":"published","published":"2016-10-29T01:59:36.137Z","modified":"2026-10-24T10:30:23.725689619Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:03.171316Z"},{"id":"OESA-2022-1976","title":"mujs security update","description":"MuJS is a lightweight Javascript interpreter designed for embedding in other software to extend them with scripting capabilities.\r\n\r\nSecurity Fix(es):\r\n\r\nIn Artifex MuJS through 1.2.0, jsP_dumpsyntax in jsdump.c has a NULL pointer dereference, as demonstrated by mujs-pp.(CVE-2022-30975)\r\n\r\ncompile in regexp.c in Artifex MuJS through 1.2.0 results in stack consumption because of unlimited recursion, a different issue than CVE-2019-11413.(CVE-2022-30974)\r\n\r\nA use-after-free vulnerability was observed in Rp_toString function of Artifex Software, Inc. MuJS before 5c337af4b3df80cf967e4f9f6a21522de84b392a. A successful exploitation of this issue can lead to code execution or denial of service condition.(CVE-2016-7504)\r\n\r\nInteger overflow in the js_regcomp function in regexp.c in Artifex Software, Inc. MuJS before commit b6de34ac6d8bb7dd5461c57940acfbd3ee7fd93e allows attackers to cause a denial of service (application crash) via a crafted regular expression.(CVE-2016-9108)\r\n\r\nAn 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.(CVE-2017-5627)\r\n\r\nAn out-of-bounds read vulnerability was observed in Sp_replace_regexp function of Artifex Software, Inc. MuJS before 5000749f5afe3b956fc916e407309de840997f4a. A successful exploitation of this issue can lead to code execution or denial of service condition.(CVE-2016-7506)\r\n\r\nArtifex Software, Inc. MuJS before a5c747f1d40e8d6659a37a8d25f13fb5acf8e767 allows context-dependent attackers to obtain sensitive information by using the \u0026quot;opname in crafted JavaScript file\u0026quot; approach, related to an \u0026quot;Out-of-Bounds read\u0026quot; issue affecting the jsC_dumpfunction function in the jsdump.c component.(CVE-2016-9017)\r\n\r\nAn 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.(CVE-2017-5628)\r\n\r\nAn integer overflow vulnerability was observed in the regemit function in regexp.c in Artifex Software, Inc. MuJS before fa3d30fd18c348bb4b1f3858fb860f4fcd4b2045. The attack requires a regular expression with nested repetition. A successful exploitation of this issue can lead to code execution or a denial of service (buffer overflow) condition.(CVE-2016-10141)\r\n\r\nArtifex Software, Inc. MuJS before a0ceaf5050faf419401fe1b83acfa950ec8a8a89 allows context-dependent attackers to obtain sensitive information by using the \u0026quot;crafted JavaScript\u0026quot; approach, related to a \u0026quot;Buffer Over-read\u0026quot; issue.(CVE-2016-9136)","status":"published","published":"2022-09-30T11:05:17Z","modified":"2026-08-18T01:17:19.036417974Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:52:39.528805Z"},{"id":"UBUNTU-CVE-2016-7504","description":"A use-after-free vulnerability was observed in Rp_toString function of Artifex Software, Inc. MuJS before 5c337af4b3df80cf967e4f9f6a21522de84b392a. A successful exploitation of this issue can lead to code execution or denial of service condition.","status":"published","published":"2016-10-29T01:59:00Z","modified":"2026-04-22T10:57:38.617943Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:12.994319Z"}]}}
