CVE-2017-7805: Use After Free

Published Jul 14, 2017
·
Updated

During TLS 1.2 exchanges, handshake hashes are generated which point to a message buffer. This saved data is used for later messages but in some cases, the handshake transcript can exceed the space available in the current buffer, causing the allocation of a new buffer. This leaves a pointer pointing to the old, freed buffer, resulting in a use-after-free when handshake hashes are then calculated afterwards. This can result in a potentially exploitable crash.

Other sources

Potential use-after-free vulnerability in nss in TLS 1.2 server when verifying client authentication was found.

Upstream bug:

https://bugzilla.mozilla.org/showbug.cgi?id=1377618

— Red Hat

Affected Software

14 affected componentsFixes available
Mozilla Thunderbird<52.4
52.4
Mozilla Firefox<56
56
Mozilla Firefox ESR<52.4
52.4
Mozilla Firefox=52.4.0
Mozilla Firefox=56.0
Mozilla Thunderbird=52.4.0
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Mozilla Firefox ESR=52.4.0
debian/firefox
56.0-1
debian/firefox-esr
52.4.0esr-2~deb7u152.4.0esr-1~deb8u152.4.0esr-1~deb9u152.4.0esr-2
debian/nss
2:3.26-1+debu7u52:3.26-1+debu8u32:3.26.2-1.1+deb9u12:3.33-1
debian/thunderbird
1:52.4.0-1~deb7u11:52.4.0-1~deb8u11:52.4.0-1~deb9u11:52.4.0-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Thunderbird to a version that resolves this vulnerability.

    Fixed in 52.4
  2. Upgrade

    Upgrade Firefox to a version that resolves this vulnerability.

    Fixed in 56
  3. Upgrade

    Upgrade Firefox ESR to a version that resolves this vulnerability.

    Fixed in 52.4
  4. Upgrade

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

    Fixed in 56.0-1
  5. Upgrade

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

    Fixed in 52.4.0esr-2~deb7u1Fixed in 52.4.0esr-1~deb8u1Fixed in 52.4.0esr-1~deb9u1Fixed in 52.4.0esr-2
  6. Upgrade

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

    Fixed in 2:3.26-1+debu7u5Fixed in 2:3.26-1+debu8u3Fixed in 2:3.26.2-1.1+deb9u1Fixed in 2:3.33-1
  7. Upgrade

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

    Fixed in 1:52.4.0-1~deb7u1Fixed in 1:52.4.0-1~deb8u1Fixed in 1:52.4.0-1~deb9u1Fixed in 1:52.4.0-1

Event History

Jul 14, 2017
Data Sourced
03:05 PM
DescriptionSeverityAffected Software
Sep 28, 2017
CVE Published
12:00 AM
Data Sourced
via Mozilla·12:00 AM
DescriptionSeverityAffected Software
Updated
12:00 AM
Affected Software
Sep 29, 2017
Data Sourced
12:00 AM
Remedy
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Oct 9, 2017
Updated
12:00 AM
Affected Software
Jun 11, 2018
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
DescriptionWeakness
Oct 17, 2018
Data Sourced
01:30 AM
Weakness
Data Sourced
via NVD·01:30 AM
DescriptionSeverityWeaknessAffected Software
Updated
via NVD·01:30 AM
Affected Software
Feb 17, 2021
Data Sourced
via Red Hat·01:56 AM
DescriptionSeverityAffected Software
Jun 17, 2026
Updated
via NVD·01:25 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2017-7805?

CVE-2017-7805 is a vulnerability in Mozilla Firefox and Thunderbird that allows an attacker to cause a denial of service or execute arbitrary code.

2

What is the severity of CVE-2017-7805?

CVE-2017-7805 has a severity rating of high.

3

How does CVE-2017-7805 affect Mozilla Firefox and Thunderbird?

CVE-2017-7805 affects Mozilla Firefox versions up to and including 56.0 and Thunderbird versions up to and including 52.4.0.

4

How can I fix CVE-2017-7805?

To fix CVE-2017-7805, update Mozilla Firefox to version 56.0+ and Thunderbird to version 52.4.0+.

5

Where can I find more information about CVE-2017-7805?

You can find more information about CVE-2017-7805 in the Mozilla Bugzilla, Mozilla Security Advisories, and Oracle Security Advisory.

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