Buffer overflow in Mozilla Firefox and Firefox for Android - CVE-2026-12318

 

Buffer overflow in Mozilla Firefox and Firefox for Android - CVE-2026-12318

Published: June 16, 2026


Vulnerability identifier: #VU134640
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-12318
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to incorrect boundary conditions in the Libraries component in NSS when parsing input. A remote attacker can supply crafted input to cause a denial of service.


Affected software

Mozilla Firefox
Firefox for Android
openEuler
Ubuntu
Mozilla Thunderbird
nss-util-devel
nss
nss-debuginfo
nss-debugsource
nss-devel
nss-help
nss-softokn
nss-softokn-devel
nss-util
nss (Ubuntu package)

How to mitigate CVE-2026-12318

Install security update from vendor's website.

Mozilla Firefox - update to 152.0
Firefox for Android - update to 152.0
Mozilla Thunderbird - update to 152.0
nss-util-devel - addressed in versions 3.54.0-15, 3.72.0-13, 3.94.0-11
nss - addressed in versions 3.54.0-15, 3.72.0-13, 3.94.0-11
nss-debuginfo - addressed in versions 3.54.0-15, 3.72.0-13, 3.94.0-11
nss-debugsource - addressed in versions 3.54.0-15, 3.72.0-13, 3.94.0-11
nss-devel - addressed in versions 3.54.0-15, 3.72.0-13, 3.94.0-11
nss-help - addressed in versions 3.54.0-15, 3.72.0-13, 3.94.0-11
nss-softokn - addressed in versions 3.54.0-15, 3.72.0-13, 3.94.0-11
nss-softokn-devel - addressed in versions 3.54.0-15, 3.72.0-13, 3.94.0-11
nss-util - addressed in versions 3.54.0-15, 3.72.0-13, 3.94.0-11
nss (Ubuntu package) - addressed in versions 2:3.98-0ubuntu0.22.04.4, 2:3.98-1ubuntu0.2, 2:3.114-1ubuntu0.2, 2:3.120-1ubuntu2.1

External References

Related Security Bulletins