{"schemaVersion":3,"id":"CVE-2016-7504","aliases":["UBUNTU-CVE-2016-7504"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2016-10-29T01:00:00.000Z","modified":"2024-08-06T01:57:47.645Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true}]},"epss":{"probability":0.02843,"percentile":0.86496,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.02843},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02487,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02843,"percentile":0.86496}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02487,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02843,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02843,"percentile":0.86496}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_8FCE654FDAE82D64","name":"Exploit Reference (bugs.ghostscript.com)","source":"reference","url":"http://bugs.ghostscript.com/show_bug.cgi?id=697142","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"artifex","product":"mujs","name":"mujs","label":"mujs","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 5000749f5afe3b956fc916e407309de840997f4a","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 5000749f5afe3b956fc916e407309de840997f4a","eol":null,"hubHref":"/vendor/artifex/mujs"},{"vendor":"ubuntu","product":"mupdf","name":"mupdf","label":"mupdf","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mupdf","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://bugs.ghostscript.com/show_bug.cgi?id=697142","label":"bugs.ghostscript.com/show_bug.cgi?id=697142","hostname":"bugs.ghostscript.com","tags":["X Refsource CONFIRM","Exploit","Vendor Advisory","REPORT"]},{"url":"http://www.securityfocus.com/bid/94241","label":"www.securityfocus.com/bid/94241","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2016-7504","label":"ubuntu.com/security/CVE-2016-7504","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-7504","label":"www.cve.org/CVERecord?id=CVE-2016-7504","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2016-10-29T01:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T01:57:47.645Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T15:52:19.543Z","stale":false,"partial":false}}