CVE-2016-1960: Use After Free

Published Mar 8, 2016
·
Updated

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

42 affected componentsFixes available
Oracle Linux=5.0
Oracle Linux=6
Oracle Linux=7
Mozilla Firefox<=44.0.2
Mozilla Firefox=38.0
Mozilla Firefox=38.0.1
Mozilla Firefox=38.0.5
Mozilla Firefox=38.1.0
Mozilla Firefox=38.1.1
Mozilla Firefox=38.2.0
Mozilla Firefox=38.2.1
Mozilla Firefox=38.3.0
Mozilla Firefox=38.4.0
Mozilla Firefox=38.5.0
Mozilla Firefox=38.5.1
Mozilla Firefox=38.6.0
Mozilla Firefox=38.6.1
Mozilla Thunderbird<=38.6.0
openSUSE Leap=42.1
openSUSE openSUSE=13.1
openSUSE openSUSE=13.2
SUSE Linux Enterprise=12.0
Mozilla Firefox ESR=38.0
Mozilla Firefox ESR=38.0.1
Mozilla Firefox ESR=38.0.5
Mozilla Firefox ESR=38.1.0
Mozilla Firefox ESR=38.1.1
Mozilla Firefox ESR=38.2.0
Mozilla Firefox ESR=38.2.1
Mozilla Firefox ESR=38.3.0
Mozilla Firefox ESR=38.4.0
Mozilla Firefox ESR=38.5.0
Mozilla Firefox ESR=38.5.1
Mozilla Firefox ESR=38.6.0
Mozilla Firefox ESR=38.6.1
debian/firefox
45.0-1
debian/firefox-esr
45.0esr-1
debian/icedove
38.7.0-1~deb7u138.7.0-1~deb8u138.7.0-1
debian/iceweasel
38.7.0esr-1~deb7u138.7.0esr-1~deb8u1
debian/firefox-esr<45.0esr-1
45.0esr-1
debian/firefox-esr<45.0esr-1
45.0esr-1
debian/firefox-esr<45.0esr-1
45.0esr-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/firefox to a version that resolves this vulnerability.

    Fixed in 45.0-1
  2. Upgrade

    Upgrade debian/firefox-esr to a version that resolves this vulnerability.

    Fixed in 45.0esr-1
  3. Upgrade

    Upgrade debian/icedove to a version that resolves this vulnerability.

    Fixed in 38.7.0-1~deb7u1Fixed in 38.7.0-1~deb8u1Fixed in 38.7.0-1
  4. Upgrade

    Upgrade debian/iceweasel to a version that resolves this vulnerability.

    Fixed in 38.7.0esr-1~deb7u1Fixed in 38.7.0esr-1~deb8u1

Event History

Mar 8, 2016
Data Sourced
via Red Hat·06:11 AM
DescriptionSeverityAffected Software
Mar 13, 2016
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
Data Sourced
06:59 PM
DescriptionSeverityAffected Software
Oct 22, 2024
Updated
via NVD·01:42 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

What systems are impacted by CVE-2016-1960?

CVE-2016-1960 impacts various systems running vulnerable versions of Mozilla Firefox and Mozilla Firefox ESR.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203