CVE-2016-1938

Summary

CVECVE-2016-1938
StatePUBLISHED
Assignermozilla
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-01-31 18:59:05 UTC
Updated2026-05-06 22:30:45 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v3.0 6.5 MEDIUM from [email protected]

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Problem Types: CWE-310 | n/a


VersionSourceTypeScoreSeverityVector
3.0[email protected]Primary6.5MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
2.0[email protected]Primary6.4AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS v3.0 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
None

AV:N/AC:L/Au:N/C:P/I:P/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Mozilla Firefox All All All All
Application Mozilla Nss All All All All
Operating System Opensuse Leap 42.1 All All All
Operating System Opensuse Opensuse 13.1 All All All
Operating System Opensuse Opensuse 13.2 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Mozilla NSS: Wrong calculation results in mp_div() and mp_exptmod() | The Fuzzing Project af854a3a-2127-422b-91ae-364da2661108 blog.fuzzing-project.org
Mozilla Firefox Multiple Flaws Let Remote Users Execute Arbitrary Code, Spoof the Address Bar, Bypass Security Restrictions, and Deny Service - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com
NSS 3.21 release notes - Mozilla | MDN af854a3a-2127-422b-91ae-364da2661108 developer.mozilla.org Vendor Advisory
USN-2903-1: NSS vulnerability | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
USN-2973-1: Thunderbird vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
Debian -- Security Information -- DSA-3688-1 nss af854a3a-2127-422b-91ae-364da2661108 www.debian.org
[security-announce] openSUSE-SU-2016:0306-1: important: Security update af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org Third Party Advisory
1194947 - miscalculation in mp_exptmod() af854a3a-2127-422b-91ae-364da2661108 bugzilla.mozilla.org Issue Tracking
[security-announce] SUSE-SU-2016:0338-1: important: Security update for af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
Mozilla Products: Multiple vulnerabilities (GLSA 201605-06) — Gentoo security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
Oracle Critical Patch Update - July 2016 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Third Party Advisory
USN-2903-2: NSS regression | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
[security-announce] openSUSE-SU-2016:0309-1: important: Security update af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org Third Party Advisory
1190248 - (CVE-2016-1938) mp_div and mp_exptmod sometimes produce wrong calculation results af854a3a-2127-422b-91ae-364da2661108 bugzilla.mozilla.org Issue Tracking
USN-2880-1: Firefox vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
Errors in mp_div and mp_exptmod cryptographic functions in NSS — Mozilla af854a3a-2127-422b-91ae-364da2661108 www.mozilla.org Vendor Advisory
USN-2880-2: Firefox regression | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
Mozilla Network Security Services CVE-2016-1938 Weak Encryption Multiple Security Weaknesses af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
nss: diff lib/freebl/mpi/mpi.c af854a3a-2127-422b-91ae-364da2661108 hg.mozilla.org
bignum-fuzz/CVE-2016-1938-nss-mp_div.c at master · hannob/bignum-fuzz · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com
bignum-fuzz/CVE-2016-1938-nss-mp_exptmod.c at master · hannob/bignum-fuzz · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com
Mozilla Network Security Service (NSS): Multiple vulnerabilities (GLSA 201701-46) — Gentoo security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
Oracle July 2016 Critical Patch Update Multiple Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 710518 Gentoo Linux Mozilla Network Security Service (NSS) Multiple Vulnerabilities (GLSA 201701-46)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report