{"id":"CVE-2016-1938","details":"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.","modified":"2026-03-15T22:21:53.443932Z","published":"2016-01-31T18:59:05.107Z","related":["SUSE-SU-2016:0334-1","SUSE-SU-2016:0338-1","SUSE-SU-2016:0584-1","openSUSE-SU-2024:10071-1","openSUSE-SU-2024:14572-1"],"references":[{"type":"WEB","url":"https://github.com/hannob/bignum-fuzz/blob/master/CVE-2016-1938-nss-mp_div.c"},{"type":"WEB","url":"https://github.com/hannob/bignum-fuzz/blob/master/CVE-2016-1938-nss-mp_exptmod.c"},{"type":"WEB","url":"https://hg.mozilla.org/projects/nss/diff/a555bf0fc23a/lib/freebl/mpi/mpi.c"},{"type":"WEB","url":"http://www.securitytracker.com/id/1034825"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00010.html"},{"type":"WEB","url":"http://www.securityfocus.com/bid/81955"},{"type":"ADVISORY","url":"https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.21_release_notes"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201605-06"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-2903-1"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00001.html"},{"type":"ADVISORY","url":"http://www.mozilla.org/security/announce/2016/mfsa2016-07.html"},{"type":"ADVISORY","url":"http://www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.html"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-2880-1"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201701-46"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-2973-1"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00002.html"},{"type":"ADVISORY","url":"http://www.debian.org/security/2016/dsa-3688"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/91787"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-2880-2"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-2903-2"},{"type":"REPORT","url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1194947"},{"type":"REPORT","url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1190248"},{"type":"ARTICLE","url":"https://blog.fuzzing-project.org/37-Mozilla-NSS-Wrong-calculation-results-in-mp_div-and-mp_exptmod.html"}],"affected":[{"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"42.1"}]},{"events":[{"introduced":"0"},{"last_affected":"13.1"}]},{"events":[{"introduced":"0"},{"last_affected":"13.2"}]},{"events":[{"introduced":"0"},{"last_affected":"3.20.1"}]},{"events":[{"introduced":"0"},{"last_affected":"43.0.4"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-1938.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"}]}