{"schemaVersion":3,"id":"CVE-2023-5170","aliases":["UBUNTU-CVE-2023-5170","CGA-28mw-whwj-62gm","CGA-5w6f-5v2c-5rcx"],"status":"published","duplicateOf":null,"title":null,"description":"In canvas rendering, a compromised content process could have caused a surface to change unexpectedly, leading to a memory leak of a privileged process. This memory leak could be used to effect a sandbox escape if the correct data was leaked. This vulnerability affects Firefox < 118.","dates":{"published":"2023-09-27T14:13:28.264Z","modified":"2025-02-13T17:19:47.978Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.4,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.4,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","exploitability":7.2,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.4,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00718,"percentile":0.53048,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.11900000000000001,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00599},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00718,"percentile":0.53048}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00599,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00718,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00718,"percentile":0.53048}]},"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-401","name":"Missing Release of Memory after Effective Lifetime","description":"The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/401.html"}],"affected":[{"vendor":"chainguard","product":"firefox-esr","name":"firefox-esr","label":"firefox-esr","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/firefox-esr","purlType":"apk","versions":[{"text":"< 118.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 118.0-r0","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"firefox","name":"firefox","label":"firefox","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/firefox","purlType":"deb","versions":[{"text":"< 118.0.1+build1-0ubuntu0.20.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 118.0.1+build1-0ubuntu0.20.04.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs102","name":"mozjs102","label":"mozjs102","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs102","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","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":"ubuntu","product":"mozjs68","name":"mozjs68","label":"mozjs68","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs68","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs78","name":"mozjs78","label":"mozjs78","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs78","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs91","name":"mozjs91","label":"mozjs91","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs91","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, < 118","noFixRecorded":false,"fixedIn":null},{"text":"< 118.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 118 | < 118.0","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"firefox","label":"Firefox","category":"app"}},"hubHref":"/vendor/mozilla/firefox"}],"affectedCount":9,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1846686","label":"bugzilla.mozilla.org/show_bug.cgi?id=1846686","hostname":"bugzilla.mozilla.org","tags":["REPORT","Issue Tracking","Permissions Required"]},{"url":"https://www.mozilla.org/security/advisories/mfsa2023-41/","label":"www.mozilla.org/security/advisories/mfsa2023-41/","hostname":"www.mozilla.org","tags":["REPORT","Vendor Advisory"]},{"url":"https://security.gentoo.org/glsa/202401-10","label":"security.gentoo.org/glsa/202401-10","hostname":"security.gentoo.org","tags":[]},{"url":"https://ubuntu.com/security/CVE-2023-5170","label":"ubuntu.com/security/CVE-2023-5170","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2023-41/#CVE-2023-5170","label":"www.mozilla.org/en-US/security/advisories/mfsa2023-41/","hostname":"www.mozilla.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6404-1","label":"ubuntu.com/security/notices/USN-6404-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-5170","label":"www.cve.org/CVERecord?id=CVE-2023-5170","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:13272-1","OPENSUSE-SU-2024:14572-1","USN-6404-1"],"duplicates":[],"related":["CGA-QH39-C7QM-CRH6","OPENSUSE-SU-2024:13272-1","OPENSUSE-SU-2024:14572-1","USN-6404-1"]},"timeline":[{"kind":"published","date":"2023-09-27T14:13:28.264Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-13T17:19:47.978Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T22:05:04.184Z","stale":false,"partial":false}}