CVE-2017-7805

HIGH

Firefox < 56 and ESR < 52.4 - Use-After-Free in TLS 1.2 Handshake Hash Calculation

Title source: llm
STIX 2.1

Description

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.

References (13)

Core 13
Core References
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2017:2832
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/101059
Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2017/11/msg00000.html
Vendor Advisory x_refsource_confirm
https://www.mozilla.org/security/advisories/mfsa2017-22/
Issue Tracking, Vendor Advisory x_refsource_confirm
https://bugzilla.mozilla.org/show_bug.cgi?id=1377618
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id/1039465
Vendor Advisory x_refsource_confirm
https://www.mozilla.org/security/advisories/mfsa2017-21/
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2017/dsa-4014
Vendor Advisory x_refsource_confirm
https://www.mozilla.org/security/advisories/mfsa2017-23/
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2017/dsa-3998
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2017/dsa-3987
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201803-14

Scores

CVSS v3 7.5
EPSS 0.0321
EPSS Percentile 87.2%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-416
Status published
Products (6)
debian/debian_linux 7.0
debian/debian_linux 8.0
debian/debian_linux 9.0
mozilla/firefox 52.4.0
mozilla/firefox 56.0
mozilla/thunderbird 52.4.0
Published Jun 11, 2018
Tracked Since Feb 18, 2026