{"id":"CVE-2016-1960","published":"2016-03-13T18:00:00Z","modified":"2024-08-05T23:10:40Z","title":"Integer underflow in the nsHtml5TreeBuilder class in the HTML5 string parser in Mozilla Firefox before 45.0 and…","vendor":null,"product":null,"tier":"tail","description":{"text":"Integer underflow in the nsHtml5TreeBuilder class in the HTML5 string parser in Mozilla Firefox before 45.0 and Firefox ESR 38.x before 38.7 allows remote attackers to execute arbitrary code or cause a denial of service (use-after-free) by leveraging mishandling of end tags, as demonstrated by incorrect SVG processing, aka ZDI-CAN-3545.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.30946,"percentile":0.983,"provenance":"source"},"cwes":[],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00091.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.mozilla.org/security/announce/2016/mfsa2016-23.html","tags":["x_refsource_CONFIRM"]},{"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1246014","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00068.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00006.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00029.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00027.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00008.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00089.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.ubuntu.com/usn/USN-2917-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.debian.org/security/2016/dsa-3520","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00007.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://www.exploit-db.com/exploits/44294/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://zerodayinitiative.com/advisories/ZDI-16-198/","tags":["x_refsource_MISC"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00093.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.debian.org/security/2016/dsa-3510","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00031.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.securitytracker.com/id/1035215","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00050.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://security.gentoo.org/glsa/201605-06","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.ubuntu.com/usn/USN-2934-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://www.exploit-db.com/exploits/42484/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://www.ubuntu.com/usn/USN-2917-2","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.ubuntu.com/usn/USN-2917-3","tags":["vendor-advisory","x_refsource_UBUNTU"]}],"priority":{"score":24.7,"factors":[{"name":"EPSS percentile","points":19.66},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":2,"earliest":"2017-08-18"},"first":{"date":"2017-08-18","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/42484"},"provenance":"source"},"summary":{"text":"An integer underflow in the nsHtml5TreeBuilder class of the HTML5 string parser in Mozilla Firefox (before 45.0 and Firefox ESR 38.x before 38.7) mishandles end tags. The flaw is in the parser's handling of end tags, as demonstrated by incorrect SVG processing. A remote attacker can leverage this to execute arbitrary code or cause a denial of service through a use-after-free condition.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:45:03Z"},"euvd":{"id":"EUVD-2016-3049","exploited":false,"provenance":"source"},"exploits":[{"id":42484,"url":"https://www.exploit-db.com/exploits/42484","title":"Mozilla Firefox < 45.0 - 'nsHtml5TreeBuilder' Use-After-Free (EMET 5.52 Bypass)","date":"2017-08-18","verified":false,"provenance":"source"},{"id":44294,"url":"https://www.exploit-db.com/exploits/44294","title":"Firefox 44.0.2 - ASM.JS JIT-Spray Remote Code Execution","date":"2018-03-16","verified":true,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/44294/","https://www.exploit-db.com/exploits/42484/"]}