CVE-2020-12402
During RSA key generation, bignum implementations used a variation of the Binary Extended Euclidean Algorithm which ent…
Mitigation
- Upgrade Firefox to 78 or later.
Who should check
- Anyone running Mozilla Firefox >= unspecified, < 78
Vulnerability facts
- Affected
- Mozilla Firefox >= unspecified, < 78
- Fixed in
- Mozilla Firefox 78
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 4.4 (v3.1, NVD)CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.34% chance of exploitation in 30 days (percentile 20, 2026-11-26)
- CWE
- CWE-203
- Modified
Description
During RSA key generation, bignum implementations used a variation of the Binary Extended Euclidean Algorithm which entailed significantly input-dependent flow. This allowed an attacker able to perform electromagnetic-based side channel attacks to record traces leading to the recovery of the secret primes. *Note:* An unmodified Firefox browser does not generate RSA keys in normal operation and is not affected, but products built on top of it might. This vulnerability affects Firefox < 78.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Mozilla Firefox | >= unspecified, < 78 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2020-12402. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2020-12402.md Affected: Mozilla Firefox >= unspecified, < 78 Fixed in: Mozilla Firefox 78 Steps: 1. Search this machine and project for Mozilla Firefox: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://www.mozilla.org/security/advisories/mfsa2020-24/
- https://bugzilla.mozilla.org/show_bug.cgi?id=1631597
- http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00016.html
- http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00018.html
- https://usn.ubuntu.com/4417-1/
- http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00027.html
- https://www.debian.org/security/2020/dsa-4726
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UWVDJRARXNWWWTCGMM63EXLQHH2LNOXO/
- http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00049.html
- https://security.gentoo.org/glsa/202007-10
- https://usn.ubuntu.com/4417-2/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RFL6UNFK4MG2WDXLMLFAEIUSM5EUK7CG/
FAQ
Is CVE-2020-12402 being exploited?
There is no confirmed exploitation: CVE-2020-12402 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2020-12402?
Medium: CVSS 4.4 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2020-12402?
Mozilla Firefox >= unspecified, < 78.
Is there a fix for CVE-2020-12402?
Yes. Fixed in Mozilla Firefox 78. Upgrade Firefox to 78 or later.
How do I check if I'm affected by CVE-2020-12402?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.