Integer underflow in the nsHtml5TreeBuilder class in the HTML5 string parser in Mozilla…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 22
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:oracle:linux:5.0:*:*:*:*:*:*:* | 5.0 | Vulnerable | Oracle |
| cpe:2.3:o:oracle:linux:6:*:*:*:*:*:*:* | 6 | Vulnerable | Oracle |
| cpe:2.3:o:oracle:linux:7:*:*:*:*:*:*:* | 7 | Vulnerable | Oracle |
| cpe:2.3:a:mozilla:firefox:*:*:*:*:*:*:*:* | up to 44.0.2 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:38.0:*:*:*:*:*:*:* | 38.0 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:38.0.1:*:*:*:*:*:*:* | 38.0.1 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:38.0.5:*:*:*:*:*:*:* | 38.0.5 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:38.1.0:*:*:*:*:*:*:* | 38.1.0 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:38.1.1:*:*:*:*:*:*:* | 38.1.1 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:38.2.0:*:*:*:*:*:*:* | 38.2.0 | Vulnerable | Mozilla |
- cpe:2.3:o:oracle:linux:5.0:*:*:*:*:*:*:* Versions 5.0 Vulnerable ·Oracle
- cpe:2.3:o:oracle:linux:6:*:*:*:*:*:*:* Versions 6 Vulnerable ·Oracle
- cpe:2.3:o:oracle:linux:7:*:*:*:*:*:*:* Versions 7 Vulnerable ·Oracle
- cpe:2.3:a:mozilla:firefox:*:*:*:*:*:*:*:* Versions up to 44.0.2 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:38.0:*:*:*:*:*:*:* Versions 38.0 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:38.0.1:*:*:*:*:*:*:* Versions 38.0.1 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:38.0.5:*:*:*:*:*:*:* Versions 38.0.5 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:38.1.0:*:*:*:*:*:*:* Versions 38.1.0 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:38.1.1:*:*:*:*:*:*:* Versions 38.1.1 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:38.2.0:*:*:*:*:*:*:* Versions 38.2.0 Vulnerable ·Mozilla
Show 12 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:mozilla:firefox:38.2.1:*:*:*:*:*:*:* | 38.2.1 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:38.3.0:*:*:*:*:*:*:* | 38.3.0 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:38.4.0:*:*:*:*:*:*:* | 38.4.0 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:38.5.0:*:*:*:*:*:*:* | 38.5.0 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:38.5.1:*:*:*:*:*:*:* | 38.5.1 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:38.6.0:*:*:*:*:*:*:* | 38.6.0 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:38.6.1:*:*:*:*:*:*:* | 38.6.1 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:thunderbird:*:*:*:*:*:*:*:* | up to 38.6.0 | Vulnerable | Mozilla |
| cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:* | 42.1 | Vulnerable | openSUSE |
| cpe:2.3:o:opensuse:opensuse:13.1:*:*:*:*:*:*:* | 13.1 | Vulnerable | openSUSE |
| cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:* | 13.2 | Vulnerable | openSUSE |
| cpe:2.3:o:suse:linux_enterprise:12.0:*:*:*:*:*:*:* | 12.0 | Vulnerable | SUSE |
- cpe:2.3:a:mozilla:firefox:38.2.1:*:*:*:*:*:*:* Versions 38.2.1 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:38.3.0:*:*:*:*:*:*:* Versions 38.3.0 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:38.4.0:*:*:*:*:*:*:* Versions 38.4.0 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:38.5.0:*:*:*:*:*:*:* Versions 38.5.0 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:38.5.1:*:*:*:*:*:*:* Versions 38.5.1 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:38.6.0:*:*:*:*:*:*:* Versions 38.6.0 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:38.6.1:*:*:*:*:*:*:* Versions 38.6.1 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:thunderbird:*:*:*:*:*:*:*:* Versions up to 38.6.0 Vulnerable ·Mozilla
- cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:* Versions 42.1 Vulnerable ·openSUSE
- cpe:2.3:o:opensuse:opensuse:13.1:*:*:*:*:*:*:* Versions 13.1 Vulnerable ·openSUSE
- cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:* Versions 13.2 Vulnerable ·openSUSE
- cpe:2.3:o:suse:linux_enterprise:12.0:*:*:*:*:*:*:* Versions 12.0 Vulnerable ·SUSE
Remediation
Red Hat 2 advisories
- RHSA-2016:0460 Released 2016-03-16 · Red Hat rating Importantthunderbird security update
- Red Hat Enterprise Linux Client (v. 7) thunderbird-38.7.0-1.el7_2
- Red Hat Enterprise Linux Desktop (v. 5 client) thunderbird-38.7.0-1.el5_11, thunderbird-38.7.0-1.el5_11.i386
- Red Hat Enterprise Linux Desktop (v. 6) thunderbird-38.7.0-1.el6_7
- Red Hat Enterprise Linux Optional Productivity Applications (v. 5 server) thunderbird-38.7.0-1.el5_11, thunderbird-38.7.0-1.el5_11.i386
- Red Hat Enterprise Linux Server Optional (v. 6) thunderbird-38.7.0-1.el6_7
- Red Hat Enterprise Linux Server Optional (v. 7) thunderbird-38.7.0-1.el7_2
- Red Hat Enterprise Linux Workstation (v. 6) thunderbird-38.7.0-1.el6_7
- Red Hat Enterprise Linux Workstation (v. 7) thunderbird-38.7.0-1.el7_2
- RHSA-2016:0373 Released 2016-03-09 · Red Hat rating Criticalfirefox security update
- Red Hat Enterprise Linux (v. 5 server) firefox-38.7.0-1.el5_11, firefox-38.7.0-1.el5_11.i386
- Red Hat Enterprise Linux Client (v. 7) firefox-38.7.0-1.el7_2
- Red Hat Enterprise Linux Client Optional (v. 7) firefox-38.7.0-1.el7_2
- Red Hat Enterprise Linux Desktop (v. 5 client) firefox-38.7.0-1.el5_11, firefox-38.7.0-1.el5_11.i386
- Red Hat Enterprise Linux Desktop (v. 6) firefox-38.7.0-1.el6_7
- Red Hat Enterprise Linux Desktop Optional (v. 6) firefox-38.7.0-1.el6_7
- Red Hat Enterprise Linux HPC Node Optional (v. 6) firefox-38.7.0-1.el6_7
- Red Hat Enterprise Linux Server (v. 6) firefox-38.7.0-1.el6_7
- Red Hat Enterprise Linux Server (v. 7) firefox-38.7.0-1.el7_2
- Red Hat Enterprise Linux Server Optional (v. 6) firefox-38.7.0-1.el6_7, firefox-38.7.0-1.el6_7.ppc
- Red Hat Enterprise Linux Server Optional (v. 7) firefox-38.7.0-1.el7_2, firefox-38.7.0-1.el7_2.ppc
- Red Hat Enterprise Linux Workstation (v. 6) firefox-38.7.0-1.el6_7
- Red Hat Enterprise Linux Workstation (v. 7) firefox-38.7.0-1.el7_2
- Red Hat Enterprise Linux Workstation Optional (v. 6) firefox-38.7.0-1.el6_7
- Red Hat Enterprise Linux Workstation Optional (v. 7) firefox-38.7.0-1.el7_2
Vendor assessments
Red Hat
Red Hat rating: Critical. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2016:0373 |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2016:0373, RHSA-2016:0460 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2016:0373 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2016:0373, RHSA-2016:0460 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2016:0373, RHSA-2016:0460 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2016:0373 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2016:0373 |
| Red Hat Enterprise Linux Optional Productivity Applications (v. 5 server) | Fixed | RHSA-2016:0460 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2016:0373 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2016:0373 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2016:0373, RHSA-2016:0460 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2016:0373, RHSA-2016:0460 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2016:0373, RHSA-2016:0460 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2016:0373, RHSA-2016:0460 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2016:0373 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2016:0373 |
Timeline
- 2026-10-02 Threatist record created from CVE-2016-1960
- 2026-10-03 Alias added: GHSA-hhgc-88w2-v4mx
References
Advisory 21
- openSUSE-SU-2016:0894
- http://www.mozilla.org/security/announce/2016/mfsa2016-23.html
- SUSE-SU-2016:0820
- openSUSE-SU-2016:1767
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- openSUSE-SU-2016:0731
- SUSE-SU-2016:0727
- openSUSE-SU-2016:1778
- openSUSE-SU-2016:0876
- USN-2917-1
- DSA-3520
- openSUSE-SU-2016:1769
- http://zerodayinitiative.com/advisories/ZDI-16-198/
- SUSE-SU-2016:0909
- DSA-3510
- openSUSE-SU-2016:0733
- SUSE-SU-2016:0777
- GLSA-201605-06
- USN-2934-1
- USN-2917-2
- USN-2917-3
Sources
- CVE-2016-1960 · CVE Program
- CVE-2016-1960 · NVD
- FIRST EPSS
- GHSA-hhgc-88w2-v4mx · GitHub Advisory Database · CC BY 4.0
- CVE-2016-1960 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences