1. CVE archive
  2. 2016
  3. CVE-2016-9079

CVE-2016-9079

7.5 High severity CVSS v3.1 · source NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 7.5 – High

Description

A use-after-free vulnerability in SVG Animation has been discovered. An exploit built on this vulnerability has been discovered in the wild targeting Firefox and Tor Browser users on Windows. This vulnerability affects Firefox < 50.0.2, Firefox ESR < 45.5.1, and Thunderbird < 45.5.1.

Affected products

VendorProductVersionPlatform
debian debian linux 9.0 –
mozilla firefox < 50.0.2 –
mozilla firefox < 45.5.1 –
mozilla thunderbird < 45.5.1 –
redhat enterprise linux 5.0 –
redhat enterprise linux 6.0 –
redhat enterprise linux 7.0 –
redhat enterprise linux desktop 5.0 –
redhat enterprise linux desktop 6.0 –
redhat enterprise linux desktop 7.0 –
redhat enterprise linux server 5.0 –
redhat enterprise linux server 6.0 –
redhat enterprise linux server 7.0 –
redhat enterprise linux server aus 7.3 –
redhat enterprise linux server aus 7.4 –
redhat enterprise linux server eus 7.3 –
redhat enterprise linux server eus 7.4 –
redhat enterprise linux server eus 7.5 –
redhat enterprise linux workstation 5.0 –
redhat enterprise linux workstation 6.0 –
redhat enterprise linux workstation 7.0 –
torproject tor all –
All 3,913 Mozilla Firefox vulnerabilities
All 2,551 Mozilla Thunderbird vulnerabilities
All 48 Torproject Tor vulnerabilities

Vulnerability type

CWE-416 Use After Free

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory belongs to the code that operates on the new pointer.

Impact on systems

ScopeImpact
Integrity Modify Memory
The use of previously freed memory may corrupt valid data, if the memory area in question has been allocated and used properly elsewhere.
Availability DoS: Crash, Exit, or Restart
If chunk consolidation occurs after the use of previously freed data, the process may crash when invalid data is used as chunk information.
Confidentiality Read Memory
Read operations on freed memory can sometimes leak sensitive information instead of causing a crash
Integrity, Confidentiality, Availability Execute Unauthorized Code or Commands
If malicious data is entered before chunk consolidation can take place, it may be possible to take advantage of a write-what-where primitive to execute arbitrary code. If the newly allocated data happens to hold a class, in C++ for example, various function pointers may be scattered within the heap data. If one of these function pointers is overwritten with an address to valid shellcode, execution of arbitrary code can be achieved.

How to prevent it

Architecture and Design · Language Selection Choose a language that provides automatic memory management.
Implementation · Attack Surface Reduction When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.

All 9,636 CWE-416 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org