Skip to content
OpenAdvisories
Unscored Public exploit CVE-2016-1960 EUVD-2016-3049GHSA-hhgc-88w2-v4mx

Integer underflow in the nsHtml5TreeBuilder class in the HTML5 string parser in Mozilla Firefox before 45.0 and Firefox ESR 38.x before 38.…

Published Mar 13, 2016 · Updated Aug 5, 2024 · Assigned by mozilla

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 firefox-esr 45.0esr-1 —
Debian 13 firefox-esr 45.0esr-1 —
Debian 12 firefox-esr 45.0esr-1 —
Debian 8 icedove 38.7.0-1~deb8u1 DSA-3520-1
Debian 8 iceweasel 38.7.0esr-1~deb8u1 DSA-3510-1
Debian 7 icedove 38.7.0-1~deb7u1 DSA-3520-1
Debian 7 iceweasel 38.7.0esr-1~deb7u1 DSA-3510-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS thunderbird 1:38.7.2+build1-0ubuntu0.16.04.1 USN-2934-1
Ubuntu 14.04 LTS firefox 45.0+build2-0ubuntu0.14.04.1 USN-2917-1
Ubuntu 14.04 LTS thunderbird 1:38.7.2+build1-0ubuntu0.14.04.1 USN-2934-1
ReleasePackageFixed inAdvisory
RHEL 7 firefox +1 38.7.0-1.el7_2 RHSA-2016:0460, RHSA-2016:0373
RHEL 6 firefox +1 38.7.0-1.el6_7 RHSA-2016:0460, RHSA-2016:0373
RHEL 5 firefox +1 38.7.0-1.el5_11 RHSA-2016:0460, RHSA-2016:0373
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhel Productivity 5 thunderbird 38.7.0-1.el5_11 RHSA-2016:0460
ReleasePackageFixed inAdvisory
SLES 12 SP1 MozillaFirefox 38.7.0esr-63.3 SUSE-SU-2016:0727-1
SLES 12 SP1 mozilla-nspr 4.12-12.1 SUSE-SU-2016:0727-1
SLES 12 SP1 mozilla-nss 3.20.2-40.1 SUSE-SU-2016:0727-1
SLES 12 MozillaFirefox 38.7.0esr-63.3 SUSE-SU-2016:0727-1
SLES 12 mozilla-nspr 4.12-12.1 SUSE-SU-2016:0727-1
SLES 12 mozilla-nss 3.20.2-40.1 SUSE-SU-2016:0727-1
SLES 11 SP4 MozillaFirefox 38.7.0esr-37.3 SUSE-SU-2016:0777-1
SLES 11 SP4 mozilla-nspr 4.12-24.1 SUSE-SU-2016:0777-1
SLES 11 SP4 mozilla-nss 3.20.2-28.1 SUSE-SU-2016:0777-1
SLES 11 SP3 MozillaFirefox 38.7.0esr-37.3 SUSE-SU-2016:0777-1
SLES 11 SP3 mozilla-nspr 4.12-24.1 SUSE-SU-2016:0777-1
SLES 11 SP3 mozilla-nss 3.20.2-28.1 SUSE-SU-2016:0777-1
SLES 11 SP2 MozillaFirefox 38.7.0esr-36.3 SUSE-SU-2016:0909-1
SLES 11 SP2 mozilla-nspr 4.12-19.1 SUSE-SU-2016:0909-1
SLES 11 SP2 mozilla-nss 3.20.2-20.1 SUSE-SU-2016:0909-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP1 MozillaFirefox 38.7.0esr-63.3 SUSE-SU-2016:0727-1
SLES for SAP 12 SP1 mozilla-nspr 4.12-12.1 SUSE-SU-2016:0727-1
SLES for SAP 12 SP1 mozilla-nss 3.20.2-40.1 SUSE-SU-2016:0727-1
SLES for SAP 12 MozillaFirefox 38.7.0esr-63.3 SUSE-SU-2016:0727-1
SLES for SAP 12 mozilla-nspr 4.12-12.1 SUSE-SU-2016:0727-1
SLES for SAP 12 mozilla-nss 3.20.2-40.1 SUSE-SU-2016:0727-1
SLES for SAP 11 SP4 MozillaFirefox 38.7.0esr-37.3 SUSE-SU-2016:0777-1
SLES for SAP 11 SP4 mozilla-nspr 4.12-24.1 SUSE-SU-2016:0777-1
SLES for SAP 11 SP4 mozilla-nss 3.20.2-28.1 SUSE-SU-2016:0777-1
SUSE Package Hub 12 MozillaThunderbird 45.2-6.1 openSUSE-SU-2016:1778-1, openSUSE-SU-2016:1769-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed MozillaFirefox 50.1.0-1.1 openSUSE-SU-2024:10071-1
openSUSE Tumbleweed MozillaThunderbird 45.5.1-1.1 openSUSE-SU-2024:10230-1
openSUSE Tumbleweed firefox-esr 128.5.1-1.1 openSUSE-SU-2024:14572-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 firefox +1 38.7.0-1.0.1.el7_2 ELSA-2016-0460, ELSA-2016-0373

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 2

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 16

References