CVE-2016-1938: The s_mp_div function in lib/freebl/mpi/mpi.c in Mozilla Network Security Services (NSS) before 3.21, as used
CVE-2016-1938 is a medium-severity flaw (CVSS 6.5) affecting leap, opensuse, nss. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The s_mp_div function in lib/freebl/mpi/mpi.c in Mozilla Network Security Services (NSS) before 3.21, as used in Mozilla Firefox before 44.0, improperly divides numbers, which might make it easier for remote attackers to defeat cryptographic protection mechanisms by leveraging use of the (1) mp_div or (2) mp_exptmod function.
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 3.2% (top 12%) |
| CISA exploited list | No |
| Weakness | CWE-310 |
| Published | 2016-01-31 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2016-1938?
leap: mitigate or apply the listed mitigation; opensuse: mitigate or apply the listed mitigation; nss: upgrade to newer than 3.20.1. Exact commands for each OS are on this page.
Is CVE-2016-1938 being exploited?
CVE-2016-1938 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2016-1938 affect?
CVE-2016-1938 affects leap, opensuse, nss. Severity is medium (CVSS 6.5). The s_mp_div function in lib/freebl/mpi/mpi.c in Mozilla Network Security Services (NSS) before 3.21, as used in Mozilla Firefox before 44.0, improperly divides numbers, which might make it easier for remote attackers to defeat cryptographi
How urgent is CVE-2016-1938?
Priority 50/100. Remotely exploitable, no login, no user action
Software pages
Mozilla Firefox vulnerabilities
Related CVEs
- CVE-2018-19542 MEDIUM 6.5 DOWNGRADE MITIGATE An issue was discovered in JasPer 2.0.14
- CVE-2018-19539 MEDIUM 6.5 DOWNGRADE MITIGATE An issue was discovered in JasPer 2.0.14
- CVE-2016-10165 HIGH 7.1 UPGRADE MITIGATE The Type_MLU_Read function in cmstypes.c in Little CMS (aka lcms2) allows remote attackers to obtain sensitive
- CVE-2015-8126 HIGH 7.5 UPGRADE MITIGATE Multiple buffer overflows in the (1) png_set_PLTE and (2) png_get_PLTE functions in libpng before 1.0.64, 1.1.
- CVE-2015-7575 MEDIUM 5.9 UPGRADE MITIGATE Mozilla Network Security Services (NSS) before 3.20.2, as used in Mozilla Firefox before 43.0.2 and Firefox ES