{"id":"UBUNTU-CVE-2026-12318","details":"Incorrect boundary conditions in the Libraries component in NSS. This vulnerability was fixed in Firefox 152 and Thunderbird 152.","modified":"2026-06-29T23:15:18.858491500Z","published":"2026-06-16T13:16:00Z","related":["USN-8481-1"],"upstream":["CVE-2026-12318"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-12318"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-12318"},{"type":"REPORT","url":"https://www.mozilla.org/en-US/security/advisories/mfsa2026-57/#CVE-2026-12318"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8481-1"}],"affected":[{"package":{"name":"nss","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/nss?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:3.15.1-1ubuntu1","2:3.15.2-1","2:3.15.3-1","2:3.15.3.1-1","2:3.15.3.1-1.1","2:3.15.3.1-1.1ubuntu1","2:3.15.4-1ubuntu3","2:3.15.4-1ubuntu4","2:3.15.4-1ubuntu5","2:3.15.4-1ubuntu6","2:3.15.4-1ubuntu7","2:3.15.4-1ubuntu7.1","2:3.17-0ubuntu0.14.04.1","2:3.17.1-0ubuntu0.14.04.1","2:3.17.1-0ubuntu0.14.04.2","2:3.17.4-0ubuntu0.14.04.1","2:3.19.2-0ubuntu0.14.04.1","2:3.19.2.1-0ubuntu0.14.04.1","2:3.19.2.1-0ubuntu0.14.04.2","2:3.21-0ubuntu0.14.04.1","2:3.21-0ubuntu0.14.04.2","2:3.23-0ubuntu0.14.04.1","2:3.26.2-0ubuntu0.14.04.3","2:3.28.4-0ubuntu0.14.04.1","2:3.28.4-0ubuntu0.14.04.2","2:3.28.4-0ubuntu0.14.04.3","2:3.28.4-0ubuntu0.14.04.4","2:3.28.4-0ubuntu0.14.04.5","2:3.28.4-0ubuntu0.14.04.5+esm1","2:3.28.4-0ubuntu0.14.04.5+esm2","2:3.28.4-0ubuntu0.14.04.5+esm3","2:3.28.4-0ubuntu0.14.04.5+esm4","2:3.28.4-0ubuntu0.14.04.5+esm5","2:3.28.4-0ubuntu0.14.04.5+esm6","2:3.28.4-0ubuntu0.14.04.5+esm7","2:3.28.4-0ubuntu0.14.04.5+esm8","2:3.28.4-0ubuntu0.14.04.5+esm9","2:3.28.4-0ubuntu0.14.04.5+esm10","2:3.28.4-0ubuntu0.14.04.5+esm11","2:3.28.4-0ubuntu0.14.04.5+esm12","2:3.28.4-0ubuntu0.14.04.5+esm13"],"ecosystem_specific":{"binaries":[{"binary_name":"libnss3","binary_version":"2:3.28.4-0ubuntu0.14.04.5+esm13"},{"binary_name":"libnss3-1d","binary_version":"2:3.28.4-0ubuntu0.14.04.5+esm13"},{"binary_name":"libnss3-nssdb","binary_version":"2:3.28.4-0ubuntu0.14.04.5+esm13"},{"binary_name":"libnss3-tools","binary_version":"2:3.28.4-0ubuntu0.14.04.5+esm13"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12318.json"}},{"package":{"name":"nss","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/nss?arch=source&distro=esm-infra%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:3.19.2-1ubuntu1","2:3.19.2.1-0ubuntu1","2:3.21-1ubuntu2","2:3.21-1ubuntu3","2:3.21-1ubuntu4","2:3.23-0ubuntu0.16.04.1","2:3.26.2-0ubuntu0.16.04.2","2:3.28.4-0ubuntu0.16.04.1","2:3.28.4-0ubuntu0.16.04.2","2:3.28.4-0ubuntu0.16.04.3","2:3.28.4-0ubuntu0.16.04.4","2:3.28.4-0ubuntu0.16.04.5","2:3.28.4-0ubuntu0.16.04.6","2:3.28.4-0ubuntu0.16.04.8","2:3.28.4-0ubuntu0.16.04.9","2:3.28.4-0ubuntu0.16.04.10","2:3.28.4-0ubuntu0.16.04.11","2:3.28.4-0ubuntu0.16.04.12","2:3.28.4-0ubuntu0.16.04.13","2:3.28.4-0ubuntu0.16.04.14","2:3.28.4-0ubuntu0.16.04.14+esm1","2:3.28.4-0ubuntu0.16.04.14+esm2","2:3.28.4-0ubuntu0.16.04.14+esm3","2:3.28.4-0ubuntu0.16.04.14+esm4","2:3.28.4-0ubuntu0.16.04.14+esm5"],"ecosystem_specific":{"binaries":[{"binary_name":"libnss3","binary_version":"2:3.28.4-0ubuntu0.16.04.14+esm5"},{"binary_version":"2:3.28.4-0ubuntu0.16.04.14+esm5","binary_name":"libnss3-1d"},{"binary_name":"libnss3-nssdb","binary_version":"2:3.28.4-0ubuntu0.16.04.14+esm5"},{"binary_name":"libnss3-tools","binary_version":"2:3.28.4-0ubuntu0.16.04.14+esm5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12318.json"}},{"package":{"name":"mozjs52","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/mozjs52?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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12318.json"}},{"package":{"name":"nss","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/nss?arch=source&distro=esm-infra%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:3.32-1ubuntu3","2:3.34-1ubuntu1","2:3.35-2ubuntu2","2:3.35-2ubuntu2.1","2:3.35-2ubuntu2.2","2:3.35-2ubuntu2.3","2:3.35-2ubuntu2.5","2:3.35-2ubuntu2.6","2:3.35-2ubuntu2.7","2:3.35-2ubuntu2.8","2:3.35-2ubuntu2.9","2:3.35-2ubuntu2.11","2:3.35-2ubuntu2.12","2:3.35-2ubuntu2.13","2:3.35-2ubuntu2.14","2:3.35-2ubuntu2.15","2:3.35-2ubuntu2.16","2:3.35-2ubuntu2.16+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libnss3","binary_version":"2:3.35-2ubuntu2.16+esm1"},{"binary_name":"libnss3-tools","binary_version":"2:3.35-2ubuntu2.16+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12318.json"}},{"package":{"name":"mozjs38","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/mozjs38?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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12318.json"}},{"package":{"name":"mozjs68","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/mozjs68?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_version":"68.6.0-1ubuntu1","binary_name":"libmozjs-68-0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12318.json"}},{"package":{"name":"nss","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/nss?arch=source&distro=esm-infra%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:3.45-1ubuntu2","2:3.47-1ubuntu1","2:3.47-1ubuntu2","2:3.48-1ubuntu1","2:3.49.1-1ubuntu1","2:3.49.1-1ubuntu1.1","2:3.49.1-1ubuntu1.2","2:3.49.1-1ubuntu1.4","2:3.49.1-1ubuntu1.5","2:3.49.1-1ubuntu1.6","2:3.49.1-1ubuntu1.7","2:3.49.1-1ubuntu1.8","2:3.49.1-1ubuntu1.9","2:3.98-0ubuntu0.20.04.1","2:3.98-0ubuntu0.20.04.2","2:3.98-0ubuntu0.20.04.2+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"2:3.98-0ubuntu0.20.04.2+esm1","binary_name":"libnss3"},{"binary_version":"2:3.98-0ubuntu0.20.04.2+esm1","binary_name":"libnss3-tools"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12318.json"}},{"package":{"name":"mozjs52","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/mozjs52?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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12318.json"}},{"package":{"name":"mozjs102","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/mozjs102?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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12318.json"}},{"package":{"name":"mozjs78","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/mozjs78?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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12318.json"}},{"package":{"name":"mozjs91","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/mozjs91?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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12318.json"}},{"package":{"name":"nss","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/nss?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:3.98-0ubuntu0.22.04.4"}]}],"versions":["2:3.68-1ubuntu1","2:3.68-1ubuntu2","2:3.68.2-0ubuntu1","2:3.68.2-0ubuntu1.1","2:3.68.2-0ubuntu1.2","2:3.98-0ubuntu0.22.04.1","2:3.98-0ubuntu0.22.04.2","2:3.98-0ubuntu0.22.04.3"],"ecosystem_specific":{"binaries":[{"binary_name":"libnss3","binary_version":"2:3.98-0ubuntu0.22.04.4"},{"binary_version":"2:3.98-0ubuntu0.22.04.4","binary_name":"libnss3-tools"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12318.json"}},{"package":{"name":"thunderbird","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/thunderbird?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:91.1.2+build1-0ubuntu1","1:91.3.0+build2-0ubuntu1","1:91.3.1+build1-0ubuntu1","1:91.3.2+build1-0ubuntu1","1:91.4.0+build1.1-0ubuntu1","1:91.4.0+build2-0ubuntu1","1:91.5.0+build1-0ubuntu1","1:91.5.1+build1-0ubuntu1","1:91.6.1+build1-0ubuntu1","1:91.7.0+build1-0ubuntu1","1:91.7.0+build2-0ubuntu1","1:91.8.0+build2-0ubuntu1","1:91.9.1+build1-0ubuntu0.22.04.1","1:91.11.0+build2-0ubuntu0.22.04.1","1:102.2.2+build1-0ubuntu0.22.04.1","1:102.4.2+build2-0ubuntu0.22.04.1","1:102.7.1+build2-0ubuntu0.22.04.1","1:102.8.0+build2-0ubuntu0.22.04.1","1:102.9.0+build1-0ubuntu0.22.04.1","1:102.10.0+build2-0ubuntu0.22.04.1","1:102.11.0+build1-0ubuntu0.22.04.1","1:102.13.0+build1-0ubuntu0.22.04.1","1:102.15.0+build1-0ubuntu0.22.04.1","1:102.15.1+build1-0ubuntu0.22.04.1","1:115.3.1+build1-0ubuntu0.22.04.2","1:115.4.1+build1-0ubuntu0.22.04.1","1:115.5.0+build1-0ubuntu0.22.04.1","1:115.6.0+build2-0ubuntu0.22.04.1","1:115.8.1+build1-0ubuntu0.22.04.1","1:115.9.0+build1-0ubuntu0.22.04.1","1:115.10.1+build1-0ubuntu0.22.04.1","1:115.11.0+build2-0ubuntu0.22.04.1","1:115.12.0+build3-0ubuntu0.22.04.1","1:115.13.0+build5-0ubuntu0.22.04.1","1:115.15.0+build1-0ubuntu0.22.04.1","1:115.16.0+build2-0ubuntu0.22.04.1","1:115.18.0+build1-0ubuntu0.22.04.1","1:128.12.0+build1-0ubuntu0.22.04.1","1:140.7.1+build1-0ubuntu0.22.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:140.7.1+build1-0ubuntu0.22.04.1","binary_name":"thunderbird"},{"binary_name":"thunderbird-gnome-support","binary_version":"1:140.7.1+build1-0ubuntu0.22.04.1"},{"binary_name":"thunderbird-mozsymbols","binary_version":"1:140.7.1+build1-0ubuntu0.22.04.1"},{"binary_name":"xul-ext-calendar-timezones","binary_version":"1:140.7.1+build1-0ubuntu0.22.04.1"},{"binary_version":"1:140.7.1+build1-0ubuntu0.22.04.1","binary_name":"xul-ext-gdata-provider"},{"binary_name":"xul-ext-lightning","binary_version":"1:140.7.1+build1-0ubuntu0.22.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12318.json"}},{"package":{"name":"mozjs102","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/mozjs102?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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12318.json"}},{"package":{"name":"mozjs115","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/mozjs115?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["115.3.0-0ubuntu1","115.4.0-2","115.5.0-1","115.6.0-1","115.7.0-4","115.8.0-1","115.9.0-1","115.9.0-1build1","115.10.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"115.10.0-1","binary_name":"libmozjs-115-0t64"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12318.json"}},{"package":{"name":"nss","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/nss?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:3.98-1ubuntu0.2"}]}],"versions":["2:3.92-1","2:3.94-1","2:3.95-1","2:3.96.1-1","2:3.98-1","2:3.98-1build1","2:3.98-1ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2:3.98-1ubuntu0.2","binary_name":"libnss3"},{"binary_name":"libnss3-tools","binary_version":"2:3.98-1ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12318.json"}},{"package":{"name":"nss","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/nss?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:3.114-1ubuntu0.2"}]}],"versions":["2:3.108-1ubuntu1","2:3.110-1","2:3.111-1","2:3.112-1","2:3.114-1","2:3.114-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libnss3","binary_version":"2:3.114-1ubuntu0.2"},{"binary_name":"libnss3-tools","binary_version":"2:3.114-1ubuntu0.2"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12318.json"}},{"package":{"name":"nss","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/nss?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:3.120-1ubuntu2.1"}]}],"versions":["2:3.114-1","2:3.117-1","2:3.119-1","2:3.120-1","2:3.120-1ubuntu1","2:3.120-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"libnss3","binary_version":"2:3.120-1ubuntu2.1"},{"binary_name":"libnss3-tools","binary_version":"2:3.120-1ubuntu2.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12318.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"},{"type":"Ubuntu","score":"medium"}]}