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
159.0.1-1
debian/firefox-esr
140.12.0esr-1~deb12u1153.6.0esr-1~deb12u2140.15.0esr-1~deb13u1153.6.0esr-1~deb13u1153.5.1esr-1153.6.0esr-1
debian/nss
2:3.87.1-1+deb12u22:3.87.1-1+deb12u42:3.110-1+deb13u42:3.110-1+deb13u52:3.132-1
debian/thunderbird
1:140.12.0esr-1~deb12u11:153.6.0esr-1~deb12u21:140.12.0esr-1~deb13u11:153.6.0esr-1~deb13u11:153.5.0esr-11:153.6.0esr-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 159.0.1-1
  5. Upgrade

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

    Fixed in 140.12.0esr-1~deb12u1Fixed in 153.6.0esr-1~deb12u2Fixed in 140.15.0esr-1~deb13u1Fixed in 153.6.0esr-1~deb13u1Fixed in 153.5.1esr-1Fixed in 153.6.0esr-1
  6. Upgrade

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

    Fixed in 2:3.87.1-1+deb12u2Fixed in 2:3.87.1-1+deb12u4Fixed in 2:3.110-1+deb13u4Fixed in 2:3.110-1+deb13u5Fixed in 2:3.132-1
  7. Upgrade

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

    Fixed in 1:140.12.0esr-1~deb12u1Fixed in 1:153.6.0esr-1~deb12u2Fixed in 1:140.12.0esr-1~deb13u1Fixed in 1:153.6.0esr-1~deb13u1Fixed in 1:153.5.0esr-1Fixed in 1:153.6.0esr-1

Event History

Jul 14, 2017
Data Sourced
via Red Hat·03:05 PM
DescriptionSeverityAffected Software
Sep 28, 2017
CVE Published
12:00 AM
Jun 11, 2018
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
DescriptionWeakness

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