CVE-2016-1960: Use After Free
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.
Other sources
Security researcher ca0nguyen, working with HP's Zero Day Initiative, reported a use-after-free issue in the HTML5 string parser when parsing a particular set of table-related tags in a foreign fragment context such as SVG. This results in a potentially exploitable crash.
External Reference:
https://www.mozilla.org/security/announce/2016/mfsa2016-23.html
Acknowledgements:
Name: the Mozilla project Upstream: ca0nguyen
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/firefoxto a version that resolves this vulnerability.Fixed in 45.0-1 - Upgrade
Upgrade
debian/firefox-esrto a version that resolves this vulnerability.Fixed in 45.0esr-1 - Upgrade
Upgrade
debian/icedoveto a version that resolves this vulnerability.Fixed in 38.7.0-1~deb7u1Fixed in 38.7.0-1~deb8u1Fixed in 38.7.0-1 - Upgrade
Upgrade
debian/iceweaselto a version that resolves this vulnerability.Fixed in 38.7.0esr-1~deb7u1Fixed in 38.7.0esr-1~deb8u1
Event History
Frequently Asked Questions
What is the severity of CVE-2016-1960?
CVE-2016-1960 has a severity rating that indicates it can potentially allow remote code execution or cause a denial of service.
How do I fix CVE-2016-1960?
To fix CVE-2016-1960, users should update Mozilla Firefox or Mozilla Firefox ESR to the latest version that is not affected by this vulnerability.
Which versions of Mozilla Firefox are affected by CVE-2016-1960?
CVE-2016-1960 affects Mozilla Firefox versions before 45.0 and Mozilla Firefox ESR versions before 38.7.
Can CVE-2016-1960 allow attackers to execute arbitrary code?
Yes, CVE-2016-1960 can enable remote attackers to execute arbitrary code due to mishandling of end tags.
What systems are impacted by CVE-2016-1960?
CVE-2016-1960 impacts various systems running vulnerable versions of Mozilla Firefox and Mozilla Firefox ESR.