CVE-2017-7805 json
During TLS 1.2 exchanges, handshake hashes are generated which point to a message buffer.
published 2018-06-11 8 y ago modified 2026-06-17 4 mo ago also EUVD-2017-16780
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.0%
- EPSS 3.0% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
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. This vulnerability affects Firefox < 56, Firefox ESR < 52.4, and Thunderbird < 52.4.
Patch / fix
- Mozilla Firefox 56
- Mozilla Firefox ESR 52.4
- Mozilla Thunderbird 52.4
- nss Debian 14, Debian 13, Debian 12 2:3.33-1
- firefox-esr Debian 14, Debian 13, Debian 12 52.4.0esr-2
- thunderbird Debian 14, Debian 13, Debian 12 1:52.4.0-1
debian advisories DEBIAN-CVE-2017-7805
- nss Ubuntu 14.04 LTS 2:3.28.4-0ubuntu0.14.04.3
- nss Ubuntu 16.04 LTS 2:3.28.4-0ubuntu0.16.04.3
- nss Ubuntu 18.04 LTS 2:3.32-1ubuntu3
- firefox Ubuntu 14.04 LTS 56.0+build6-0ubuntu0.14.04.1
- firefox Ubuntu 16.04 LTS 56.0+build6-0ubuntu0.16.04.1
- firefox Ubuntu 18.04 LTS 56.0+build6-0ubuntu1
- thunderbird Ubuntu 14.04 LTS 1:52.4.0+build1-0ubuntu0.14.04.2
- thunderbird Ubuntu 16.04 LTS 1:52.4.0+build1-0ubuntu0.16.04.2
ubuntu advisories UBUNTU-CVE-2017-7805
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- nss RHEL 6 3.28.4-4.el6_9
- nss RHEL 7 3.28.4-12.el7_4
- nss-tools RHEL 6 3.28.4-4.el6_9
- nss-tools RHEL 7 3.28.4-12.el7_4
- nss-sysinit RHEL 6 3.28.4-4.el6_9
- nss-sysinit RHEL 7 3.28.4-12.el7_4
red hat advisories RHSA-2017:2832
- mozilla-nss SLES 11 SP4, SLES 11 SP3-TERADATA, SLE Software Development Kit 11 SP4 +3 more 3.29.5-47.6.1
- MozillaFirefox SLES 11 SP4, SLES 11 SP3-TERADATA, SLE Software Development Kit 11 SP4 +3 more 52.4.0esr-72.13.2
- mozilla-nss SLES for SAP 12 SP3, SLES for SAP 12 SP2, SLES for SAP 12 SP1 +10 more 3.29.5-58.3.1
- MozillaFirefox SLES for SAP 12 SP3, SLES for SAP 12 SP2, SLES for SAP 12 SP1 +10 more 52.4.0esr-109.6.2
suse advisories SUSE-SU-2017:2872-1SUSE-SU-2017:2872-2SUSE-SU-2017:2688-1
- firefox-esr openSUSE Tumbleweed 128.5.1-1.1
- MozillaFirefox openSUSE Tumbleweed 92.0-1.2
- MozillaThunderbird openSUSE Tumbleweed 91.1.1-1.1
- MozillaThunderbird Package Hub 12 52.4.0-45.1
opensuse advisories openSUSE-SU-2024:14572-1openSUSE-SU-2024:10600-1openSUSE-SU-2024:10601-1openSUSE-SU-2017:2707-1openSUSE-SU-2017:2710-1
- thunderbird Arch Linux 52.4.0-1
arch linux advisories AVG-441
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-7805 updated cvss 7.5
nss: Potential use-after-free in TLS 1.2 server when verifying client authentication
-
Red Hat Enterprise Linux 5 nssaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux Client (v. 7) nss 3.28.4-12.el7_4, nss-tools 3.28.4-12.el7_4, nss-sysinit 3.28.4-12.el7_4 Red Hat Enterprise Linux Client Optional (v. 7) nss-devel 3.28.4-12.el7_4, nss-debuginfo 3.28.4-12.el7_4, nss-pkcs11-devel 3.28.4-12.el7_4 Red Hat Enterprise Linux ComputeNode (v. 7) nss 3.28.4-12.el7_4, nss-tools 3.28.4-12.el7_4, nss-sysinit 3.28.4-12.el7_4 Red Hat Enterprise Linux ComputeNode Optional (v. 7) nss-devel 3.28.4-12.el7_4, nss-debuginfo 3.28.4-12.el7_4, nss-pkcs11-devel 3.28.4-12.el7_4 Red Hat Enterprise Linux Desktop (v. 6) nss 3.28.4-4.el6_9, nss-tools 3.28.4-4.el6_9, nss-sysinit 3.28.4-4.el6_9 Red Hat Enterprise Linux Desktop Optional (v. 6) nss-devel 3.28.4-4.el6_9, nss-debuginfo 3.28.4-4.el6_9, nss-pkcs11-devel 3.28.4-4.el6_9fixed: vendor fix RHSA-2017:2832
+10 more productsfewer
Red Hat Enterprise Linux HPC Node (v. 6) nss 3.28.4-4.el6_9, nss-tools 3.28.4-4.el6_9, nss-sysinit 3.28.4-4.el6_9 Red Hat Enterprise Linux HPC Node Optional (v. 6) nss-devel 3.28.4-4.el6_9, nss-debuginfo 3.28.4-4.el6_9, nss-pkcs11-devel 3.28.4-4.el6_9 Red Hat Enterprise Linux Server (v. 6) nss 3.28.4-4.el6_9, nss-tools 3.28.4-4.el6_9, nss-sysinit 3.28.4-4.el6_9 Red Hat Enterprise Linux Server (v. 7) nss 3.28.4-12.el7_4, nss-tools 3.28.4-12.el7_4, nss-sysinit 3.28.4-12.el7_4 Red Hat Enterprise Linux Server Optional (v. 6) nss-debuginfo 3.28.4-4.el6_9, nss-pkcs11-devel 3.28.4-4.el6_9 Red Hat Enterprise Linux Server Optional (v. 7) nss-debuginfo 3.28.4-12.el7_4, nss-pkcs11-devel 3.28.4-12.el7_4 Red Hat Enterprise Linux Workstation (v. 6) nss 3.28.4-4.el6_9, nss-tools 3.28.4-4.el6_9, nss-sysinit 3.28.4-4.el6_9 Red Hat Enterprise Linux Workstation (v. 7) nss 3.28.4-12.el7_4, nss-tools 3.28.4-12.el7_4, nss-sysinit 3.28.4-12.el7_4 Red Hat Enterprise Linux Workstation Optional (v. 6) nss-debuginfo 3.28.4-4.el6_9, nss-pkcs11-devel 3.28.4-4.el6_9 Red Hat Enterprise Linux Workstation Optional (v. 7) nss-debuginfo 3.28.4-12.el7_4, nss-pkcs11-devel 3.28.4-12.el7_4
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.05% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected products
- Mozilla Firefox
- Mozilla Firefox ESR
- Mozilla Thunderbird
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
access.redhat.com
/errata/RHSA-2017:2832
vendor-advisory, third-party-advisory
-
debian.org
/security/2017/dsa-4014
vendor-advisory, third-party-advisory
-
debian.org
/security/2017/dsa-3998
vendor-advisory, third-party-advisory
-
debian.org
/security/2017/dsa-3987
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/201803-14
vendor-advisory, third-party-advisory
-
mozilla.org
/security/advisories/mfsa2017-22/
vendor-advisory
-
bugzilla.mozilla.org
/show_bug.cgi?id=1377618
issue-tracking, vendor-advisory
-
mozilla.org
/security/advisories/mfsa2017-21/
vendor-advisory
-
mozilla.org
/security/advisories/mfsa2017-23/
vendor-advisory
-
securityfocus.com
/bid/101059
vdb-entry, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2017/11/msg00000.html
mailing-list, third-party-advisory
-
securitytracker.com
/id/1039465
vdb-entry, third-party-advisory
- oracle.com /technetwork/security-advisory/cpuoct2018-4428296.html
Sources
- CVE List CVE-2017-7805
- NVD CVE-2017-7805
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.