CVE-2016-1974: Buffer Overflow

Published Mar 8, 2016
·
Updated

Security researcher Ronald Crane reported an out-of-bounds read following a failed allocation in the HTML parser while working with unicode strings. This can also affect the parsing of XML and SVG format data. This leads to a potentially exploitable crash.

External Reference:

https://www.mozilla.org/security/announce/2016/mfsa2016-34.html

Acknowledgements:

Name: the Mozilla project Upstream: Ronald Crane

Other sources

The nsScannerString::AppendUnicodeTo function in Mozilla Firefox before 45.0 and Firefox ESR 38.x before 38.7 does not verify that memory allocation succeeds, which allows remote attackers to execute arbitrary code or cause a denial of service (out-of-bounds read) via crafted Unicode data in an HTML, XML, or SVG document.

— MITRE

Affected Software

42 affected componentsFixes available
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
Oracle Linux=5.0
Oracle Linux=6
Oracle Linux=7
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·03:22 PM
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
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·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-1974?

CVE-2016-1974 is classified as a critical vulnerability due to its potential to allow remote code execution.

2

How do I fix CVE-2016-1974?

To fix CVE-2016-1974, update Mozilla Firefox to version 45.0 or later, or to Firefox ESR version 38.7 or later.

3

Which versions of Firefox are affected by CVE-2016-1974?

Mozilla Firefox versions before 45.0 and Firefox ESR versions before 38.7 are affected by CVE-2016-1974.

4

What types of attacks can exploit CVE-2016-1974?

CVE-2016-1974 can be exploited through crafted Unicode data within HTML, potentially leading to arbitrary code execution or causing denial of service.

5

Is CVE-2016-1974 present in Mozilla Thunderbird?

Yes, versions of Mozilla Thunderbird up to 38.6.0 are also affected by CVE-2016-1974.

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