{"id":"CVE-2016-1938","state":"PUBLISHED","title":"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 migh","description":"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.","publishedAt":"2016-01-31T18:00:00.000Z","updatedAt":"2024-08-05T23:10:40.307Z","severity":null,"assigner":"mozilla","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.securityfocus.com/bid/81955","http://www.debian.org/security/2016/dsa-3688","http://www.securitytracker.com/id/1034825","https://security.gentoo.org/glsa/201701-46","http://www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.html","http://www.ubuntu.com/usn/USN-2903-2","http://www.ubuntu.com/usn/USN-2880-1","http://www.ubuntu.com/usn/USN-2903-1","http://www.ubuntu.com/usn/USN-2880-2","https://github.com/hannob/bignum-fuzz/blob/master/CVE-2016-1938-nss-mp_exptmod.c","https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.21_release_notes","http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00010.html","http://www.mozilla.org/security/announce/2016/mfsa2016-07.html","https://blog.fuzzing-project.org/37-Mozilla-NSS-Wrong-calculation-results-in-mp_div-and-mp_exptmod.html","http://www.ubuntu.com/usn/USN-2973-1","https://bugzilla.mozilla.org/show_bug.cgi?id=1194947","http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00002.html","http://www.securityfocus.com/bid/91787","https://github.com/hannob/bignum-fuzz/blob/master/CVE-2016-1938-nss-mp_div.c","https://security.gentoo.org/glsa/201605-06","https://bugzilla.mozilla.org/show_bug.cgi?id=1190248","http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00001.html","https://hg.mozilla.org/projects/nss/diff/a555bf0fc23a/lib/freebl/mpi/mpi.c"],"weaknesses":[],"ingestedAt":"2026-10-29T19:42:33.324Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2016/1xxx/CVE-2016-1938.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2016-1938","state":"PUBLISHED","datePublished":"2016-01-31T18:00:00.000Z","dateUpdated":"2024-08-05T23:10:40.307Z","assignerShortName":"mozilla","assignerOrgId":"f16b083a-5664-49f3-a51e-8d479e5ed7fe","dateReserved":"2016-01-20T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.securityfocus.com/bid/81955","name":"81955","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.debian.org/security/2016/dsa-3688","name":"DSA-3688","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.securitytracker.com/id/1034825","name":"1034825","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://security.gentoo.org/glsa/201701-46","name":"GLSA-201701-46","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.html","tags":["x_refsource_CONFIRM"]},{"url":"http://www.ubuntu.com/usn/USN-2903-2","name":"USN-2903-2","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.ubuntu.com/usn/USN-2880-1","name":"USN-2880-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.ubuntu.com/usn/USN-2903-1","name":"USN-2903-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.ubuntu.com/usn/USN-2880-2","name":"USN-2880-2","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://github.com/hannob/bignum-fuzz/blob/master/CVE-2016-1938-nss-mp_exptmod.c","tags":["x_refsource_MISC"]},{"url":"https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.21_release_notes","tags":["x_refsource_MISC"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00010.html","name":"SUSE-SU-2016:0338","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.mozilla.org/security/announce/2016/mfsa2016-07.html","tags":["x_refsource_CONFIRM"]},{"url":"https://blog.fuzzing-project.org/37-Mozilla-NSS-Wrong-calculation-results-in-mp_div-and-mp_exptmod.html","tags":["x_refsource_MISC"]},{"url":"http://www.ubuntu.com/usn/USN-2973-1","name":"USN-2973-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1194947","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00002.html","name":"openSUSE-SU-2016:0309","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.securityfocus.com/bid/91787","name":"91787","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://github.com/hannob/bignum-fuzz/blob/master/CVE-2016-1938-nss-mp_div.c","tags":["x_refsource_MISC"]},{"url":"https://security.gentoo.org/glsa/201605-06","name":"GLSA-201605-06","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1190248","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00001.html","name":"openSUSE-SU-2016:0306","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://hg.mozilla.org/projects/nss/diff/a555bf0fc23a/lib/freebl/mpi/mpi.c","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mozilla","dateUpdated":"2017-11-03T18:57:01.000Z","orgId":"f16b083a-5664-49f3-a51e-8d479e5ed7fe"},"datePublic":"2016-01-26T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@mozilla.org","ID":"CVE-2016-1938","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"81955","refsource":"BID","url":"http://www.securityfocus.com/bid/81955"},{"name":"DSA-3688","refsource":"DEBIAN","url":"http://www.debian.org/security/2016/dsa-3688"},{"name":"1034825","refsource":"SECTRACK","url":"http://www.securitytracker.com/id/1034825"},{"name":"GLSA-201701-46","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201701-46"},{"name":"http://www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.html","refsource":"CONFIRM","url":"http://www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.html"},{"name":"USN-2903-2","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/USN-2903-2"},{"name":"USN-2880-1","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/USN-2880-1"},{"name":"USN-2903-1","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/USN-2903-1"},{"name":"USN-2880-2","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/USN-2880-2"},{"name":"https://github.com/hannob/bignum-fuzz/blob/master/CVE-2016-1938-nss-mp_exptmod.c","refsource":"MISC","url":"https://github.com/hannob/bignum-fuzz/blob/master/CVE-2016-1938-nss-mp_exptmod.c"},{"name":"https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.21_release_notes","refsource":"MISC","url":"https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.21_release_notes"},{"name":"SUSE-SU-2016:0338","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00010.html"},{"name":"http://www.mozilla.org/security/announce/2016/mfsa2016-07.html","refsource":"CONFIRM","url":"http://www.mozilla.org/security/announce/2016/mfsa2016-07.html"},{"name":"https://blog.fuzzing-project.org/37-Mozilla-NSS-Wrong-calculation-results-in-mp_div-and-mp_exptmod.html","refsource":"MISC","url":"https://blog.fuzzing-project.org/37-Mozilla-NSS-Wrong-calculation-results-in-mp_div-and-mp_exptmod.html"},{"name":"USN-2973-1","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/USN-2973-1"},{"name":"https://bugzilla.mozilla.org/show_bug.cgi?id=1194947","refsource":"CONFIRM","url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1194947"},{"name":"openSUSE-SU-2016:0309","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00002.html"},{"name":"91787","refsource":"BID","url":"http://www.securityfocus.com/bid/91787"},{"name":"https://github.com/hannob/bignum-fuzz/blob/master/CVE-2016-1938-nss-mp_div.c","refsource":"MISC","url":"https://github.com/hannob/bignum-fuzz/blob/master/CVE-2016-1938-nss-mp_div.c"},{"name":"GLSA-201605-06","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201605-06"},{"name":"https://bugzilla.mozilla.org/show_bug.cgi?id=1190248","refsource":"CONFIRM","url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1190248"},{"name":"openSUSE-SU-2016:0306","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00001.html"},{"name":"https://hg.mozilla.org/projects/nss/diff/a555bf0fc23a/lib/freebl/mpi/mpi.c","refsource":"CONFIRM","url":"https://hg.mozilla.org/projects/nss/diff/a555bf0fc23a/lib/freebl/mpi/mpi.c"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.securityfocus.com/bid/81955","name":"81955","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.debian.org/security/2016/dsa-3688","name":"DSA-3688","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://www.securitytracker.com/id/1034825","name":"1034825","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"https://security.gentoo.org/glsa/201701-46","name":"GLSA-201701-46","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-2903-2","name":"USN-2903-2","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-2880-1","name":"USN-2880-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-2903-1","name":"USN-2903-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-2880-2","name":"USN-2880-2","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://github.com/hannob/bignum-fuzz/blob/master/CVE-2016-1938-nss-mp_exptmod.c","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.21_release_notes","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00010.html","name":"SUSE-SU-2016:0338","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://www.mozilla.org/security/announce/2016/mfsa2016-07.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://blog.fuzzing-project.org/37-Mozilla-NSS-Wrong-calculation-results-in-mp_div-and-mp_exptmod.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-2973-1","name":"USN-2973-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1194947","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00002.html","name":"openSUSE-SU-2016:0309","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://www.securityfocus.com/bid/91787","name":"91787","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://github.com/hannob/bignum-fuzz/blob/master/CVE-2016-1938-nss-mp_div.c","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.gentoo.org/glsa/201605-06","name":"GLSA-201605-06","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1190248","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00001.html","name":"openSUSE-SU-2016:0306","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://hg.mozilla.org/projects/nss/diff/a555bf0fc23a/lib/freebl/mpi/mpi.c","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T23:10:40.307Z"}}]}}}