{"schemaVersion":3,"id":"CVE-2018-5151","aliases":["UBUNTU-CVE-2018-5151"],"status":"published","duplicateOf":null,"title":null,"description":"Memory safety bugs were reported in Firefox 59. Some of these bugs showed evidence of memory corruption and we presume that with enough effort that some of these could be exploited to run arbitrary code. This vulnerability affects Firefox < 60.","dates":{"published":"2018-06-11T21:00:00.000Z","modified":"2024-08-05T05:26:46.992Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":10,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","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":10,"severity":"high","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","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.02749,"percentile":0.85981,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0.0279999999999999,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.02721},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02353,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02749,"percentile":0.85981}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02353,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02721,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02749,"percentile":0.85981}]},"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":[],"exploitCount":0,"weaknesses":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/119.html"}],"affected":[{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"14.04","noFixRecorded":false,"fixedIn":null},{"text":"16.04","noFixRecorded":false,"fixedIn":null},{"text":"17.10","noFixRecorded":false,"fixedIn":null},{"text":"18.04","noFixRecorded":false,"fixedIn":null}],"versionsText":"14.04 | 16.04 | 17.10 | 18.04","eol":{"isEol":true,"eolDate":"2019-04-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"14.04","label":"14.04 'Trusty Tahr' (LTS)","eolFrom":"2019-04-02T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"14.04.6"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"ubuntu","product":"firefox","name":"firefox","label":"firefox","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/firefox","purlType":"deb","versions":[{"text":"< 60.0+build2-0ubuntu0.14.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 60.0+build2-0ubuntu0.16.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 60.0+build2-0ubuntu1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 60.0+build2-0ubuntu0.14.04.1 | < 60.0+build2-0ubuntu0.16.04.1 | < 60.0+build2-0ubuntu1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs38","name":"mozjs38","label":"mozjs38","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs38","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs52","name":"mozjs52","label":"mozjs52","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs52","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"mozilla","product":"firefox","name":"Firefox","label":"firefox","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 60","noFixRecorded":false,"fixedIn":null},{"text":"< 60.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 60 | < 60.0","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"firefox","label":"Firefox","category":"app"}},"hubHref":"/vendor/mozilla/firefox"}],"affectedCount":5,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://www.mozilla.org/security/advisories/mfsa2018-11/","label":"www.mozilla.org/security/advisories/mfsa2018-11/","hostname":"www.mozilla.org","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"http://www.securitytracker.com/id/1040896","label":"www.securitytracker.com/id/1040896","hostname":"www.securitytracker.com","tags":["VDB Entry","X Refsource SECTRACK","Third Party Advisory"]},{"url":"https://usn.ubuntu.com/3645-1/","label":"usn.ubuntu.com/3645-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"http://www.securityfocus.com/bid/104139","label":"www.securityfocus.com/bid/104139","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"https://bugzilla.mozilla.org/buglist.cgi?bug_id=1445234%2C1449530%2C1437455%2C1447989%2C1438827%2C1436983%2C1435036%2C1440465%2C1439723%2C1448771%2C1453653%2C1454359%2C1432323%2C1454126%2C1436759%2C1439655%2C1448612%2C1449358%2C1367727%2C1452417","label":"bugzilla.mozilla.org/buglist.cgi","hostname":"bugzilla.mozilla.org","tags":["X Refsource CONFIRM","Issue Tracking","Permissions Required","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-5151","label":"ubuntu.com/security/CVE-2018-5151","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2018-11/#CVE-2018-5151","label":"www.mozilla.org/en-US/security/advisories/mfsa2018-11/","hostname":"www.mozilla.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3645-1","label":"ubuntu.com/security/notices/USN-3645-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-5151","label":"www.cve.org/CVERecord?id=CVE-2018-5151","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:10600-1","OPENSUSE-SU-2024:14572-1","SUSE-SU-2019:2872-1","USN-3645-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:10600-1","OPENSUSE-SU-2024:14572-1","SUSE-SU-2019:2872-1","USN-3645-1"]},"timeline":[{"kind":"published","date":"2018-06-11T21:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T05:26:46.992Z","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-19T13:10:34.357Z","stale":false,"partial":false}}