CVE-2016-1938
MEDIUM 6.5CVSS 3.0The 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.
- Published
- 31 Jan 2016
- Last modified
- 17 Jun 2026
- Assigned by
- security@mozilla.org
- NVD status
- Modified
- Weakness
- CWE-310
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.4 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | opensuse | leapcpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:* |
= 42.1 | |
| NVD | opensuse | opensusecpe:2.3:o:opensuse:opensuse:13.1:*:*:*:*:*:*:* |
= 13.1 | |
| NVD | opensuse | opensusecpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:* |
= 13.2 | |
| NVD | mozilla | nsscpe:2.3:a:mozilla:nss:*:*:*:*:*:*:*:* |
<= 3.20.1 | |
| NVD | mozilla | firefoxcpe:2.3:a:mozilla:firefox:*:*:*:*:*:*:*:* |
<= 43.0.4 |
References
- http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00001.html · Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00002.html · Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00010.html
- http://www.debian.org/security/2016/dsa-3688
- http://www.mozilla.org/security/announce/2016/mfsa2016-07.html · Vendor Advisory
- http://www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.html · Third Party Advisory
- http://www.securityfocus.com/bid/81955
- http://www.securityfocus.com/bid/91787 · Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1034825
- http://www.ubuntu.com/usn/USN-2880-1
- http://www.ubuntu.com/usn/USN-2880-2
- http://www.ubuntu.com/usn/USN-2903-1
- http://www.ubuntu.com/usn/USN-2903-2
- http://www.ubuntu.com/usn/USN-2973-1
- https://blog.fuzzing-project.org/37-Mozilla-NSS-Wrong-calculation-results-in-mp_div-and-mp_exptmod.html
- https://bugzilla.mozilla.org/show_bug.cgi?id=1190248 · Issue Tracking
- https://bugzilla.mozilla.org/show_bug.cgi?id=1194947 · Issue Tracking
- https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.21_release_notes · Vendor Advisory
- https://github.com/hannob/bignum-fuzz/blob/master/CVE-2016-1938-nss-mp_div.c
- https://github.com/hannob/bignum-fuzz/blob/master/CVE-2016-1938-nss-mp_exptmod.c
- https://hg.mozilla.org/projects/nss/diff/a555bf0fc23a/lib/freebl/mpi/mpi.c
- https://security.gentoo.org/glsa/201605-06
- https://security.gentoo.org/glsa/201701-46
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 31 Jan 2016)