{"id":"UBUNTU-CVE-2023-4058","details":"Memory safety bugs present in Firefox 115. Some of these bugs showed evidence of memory corruption and we presume that with enough effort some of these could have been exploited to run arbitrary code. This vulnerability affects Firefox \u003c 116.","modified":"2026-01-30T02:35:50.788192Z","published":"2023-08-02T00:00:00Z","related":["USN-6267-1"],"upstream":["CVE-2023-4058"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-4058"},{"type":"REPORT","url":"https://www.mozilla.org/en-US/security/advisories/mfsa2023-29/#CVE-2023-4058"},{"type":"REPORT","url":"https://bugzilla.mozilla.org/buglist.cgi?bug_id=1819160%2C1828024"},{"type":"REPORT","url":"https://www.mozilla.org/security/advisories/mfsa2023-29/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6267-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-4058"}],"affected":[{"package":{"name":"mozjs52","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/mozjs52@52.9.1-0ubuntu0.18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["52.3.1-0ubuntu3","52.3.1-7fakesync1","52.8.1-0ubuntu0.18.04.1","52.9.1-0ubuntu0.18.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmozjs-52-0","binary_version":"52.9.1-0ubuntu0.18.04.1"},{"binary_name":"libmozjs-52-dev","binary_version":"52.9.1-0ubuntu0.18.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-4058.json"}},{"package":{"name":"mozjs38","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/mozjs38@38.8.0~repack1-0ubuntu4?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["38.8.0~repack1-0ubuntu1","38.8.0~repack1-0ubuntu3","38.8.0~repack1-0ubuntu4"],"ecosystem_specific":{"binaries":[{"binary_name":"libmozjs-38-0","binary_version":"38.8.0~repack1-0ubuntu4"},{"binary_name":"libmozjs-38-dev","binary_version":"38.8.0~repack1-0ubuntu4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-4058.json"}},{"package":{"name":"mozjs68","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/mozjs68@68.6.0-1ubuntu1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["68.5.0-1~fakesync","68.5.0-2~fakesync","68.6.0-1","68.6.0-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmozjs-68-0","binary_version":"68.6.0-1ubuntu1"},{"binary_name":"libmozjs-68-dev","binary_version":"68.6.0-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-4058.json"}},{"package":{"name":"mozjs52","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/mozjs52@52.9.1-1ubuntu3?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["52.9.1-1build1","52.9.1-1ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_name":"libmozjs-52-0","binary_version":"52.9.1-1ubuntu3"},{"binary_name":"libmozjs-52-dev","binary_version":"52.9.1-1ubuntu3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-4058.json"}},{"package":{"name":"mozjs102","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/mozjs102@102.15.1-0ubuntu0.22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["102.11.0-0ubuntu0.22.04.1","102.12.0-0ubuntu0.22.04.1","102.13.0-0ubuntu0.22.04.1","102.15.1-0ubuntu0.22.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmozjs-102-0","binary_version":"102.15.1-0ubuntu0.22.04.1"},{"binary_name":"libmozjs-102-dev","binary_version":"102.15.1-0ubuntu0.22.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-4058.json"}},{"package":{"name":"mozjs78","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/mozjs78@78.15.0-4ubuntu1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["78.13.0-1","78.15.0-2","78.15.0-4ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmozjs-78-0","binary_version":"78.15.0-4ubuntu1"},{"binary_name":"libmozjs-78-dev","binary_version":"78.15.0-4ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-4058.json"}},{"package":{"name":"mozjs91","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/mozjs91@91.10.0-0ubuntu1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["91.5.1-0ubuntu1","91.6.0-1","91.6.0-2","91.7.0-2","91.10.0-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmozjs-91-0","binary_version":"91.10.0-0ubuntu1"},{"binary_name":"libmozjs-91-dev","binary_version":"91.10.0-0ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-4058.json"}},{"package":{"name":"mozjs102","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/mozjs102@102.15.1-3ubuntu2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["102.15.1-1","102.15.1-3ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"libmozjs-102-0t64","binary_version":"102.15.1-3ubuntu2"},{"binary_name":"libmozjs-102-dev","binary_version":"102.15.1-3ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-4058.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}