Mozilla Firefox/Thunderbird 14 Scalable Vector Graphics File nsTArray_base::Length requiredFeatures resource management

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.

A vulnerability classified as critical was found in Mozilla Firefox and Thunderbird 14 (Web Browser). This vulnerability affects the function nsTArray_base::Length of the component Scalable Vector Graphics File Handler. The manipulation of the argument requiredFeatures with an unknown input leads to a resource management vulnerability. The CWE definition for the vulnerability is CWE-399. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

Use-after-free vulnerability in the nsTArray_base::Length function in Mozilla Firefox before 15.0, Firefox ESR 10.x before 10.0.7, Thunderbird before 15.0, Thunderbird ESR 10.x before 10.0.7, and SeaMonkey before 2.12 allows remote attackers to execute arbitrary code or cause a denial of service (heap memory corruption) via vectors involving movement of a requiredFeatures attribute from one SVG document to another.

The weakness was presented 08/28/2012 by Arthur Gerkis (vsemozhetbyt) as MFSA 2012-63 as confirmed advisory (Website). The advisory is available at The public release was coordinated in cooperation with the vendor. This vulnerability was named CVE-2012-3970 since 07/11/2012. The exploitation appears to be difficult. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details and also a private exploit are known.

It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 61721 (CentOS 5 / 6 : firefox (CESA-2012:1210)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CentOS Local Security Checks. Security researcher Arthur Gerkis used the Address Sanitizer tool to find two issues involving Scalable Vector Graphics (SVG) files. The second issue is a use-after-free when an element with a "requiredFeatures" attribute is moved between documents. In that situation, the internal representation of the "requiredFeatures" value could be freed prematurely. Both issues are potentially exploitable.

Upgrading to version 15 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (61721), SecurityFocus (BID 55278†), OSVDB (84995†), Secunia (SA50088†) and SecurityTracker (ID 1027450†).







CPE 2.3info

CPE 2.2info


VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍


VulDB Meta Base Score: 10.0
VulDB Meta Temp Score: 9.0

VulDB Base Score: 10.0
VulDB Temp Score: 9.0
VulDB Vector: 🔍
VulDB Reliability: 🔍



VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍


Class: Resource management
CWE: CWE-399 / CWE-404

Local: No
Remote: Yes

Availability: 🔍
Access: Private
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍


Nessus ID: 61721
Nessus Name: CentOS 5 / 6 : firefox (CESA-2012:1210)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 71829
OpenVAS Name: FreeBSD Ports: firefox
OpenVAS File: 🔍
OpenVAS Family: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍


Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: Firefox/Thunderbird 15


07/11/2012 🔍
08/28/2012 +48 days 🔍
08/28/2012 +0 days 🔍
08/28/2012 +0 days 🔍
08/28/2012 +0 days 🔍
08/29/2012 +1 days 🔍
08/29/2012 +0 days 🔍
08/29/2012 +0 days 🔍
08/29/2012 +0 days 🔍
08/30/2012 +1 days 🔍
09/02/2012 +3 days 🔍
03/27/2021 +3128 days 🔍



Advisory: MFSA 2012-63
Researcher: Arthur Gerkis (vsemozhetbyt)
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍

CVE: CVE-2012-3970 (🔍)

SecurityFocus: 55278 - Mozilla Firefox/Thunderbird/SeaMonkey CVE-2012-3970 Use-After-Free Memory CorruptionVulnerability
Secunia: 50088 - Mozilla Firefox Multiple Vulnerabilities, Highly Critical
OSVDB: 84995
SecurityTracker: 1027450 - Mozilla Firefox Multiple Bugs Let Remote Users Execute Arbitrary Code
Vulnerability Center: 36003 - Mozilla Firefox, Thunderbird and SeaMonkey \x27requiredFeatures\x27 Attribute Use-After-Free Vulnerability, Medium

scip Labs:


Created: 09/02/2012 09:00 AM
Updated: 03/27/2021 04:14 PM
Changes: 09/02/2012 09:00 AM (82), 04/16/2017 11:08 AM (11), 03/27/2021 04:14 PM (3)
Complete: 🔍
Cache ID: 44:258:40


No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!