FreeBSD 2.1.6 libc setlocale PATH_LOCALE memory corruption

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 FreeBSD 2.1.6 (Operating System). Affected by this vulnerability is the function setlocale in the library libc. The manipulation of the argument PATH_LOCALE as part of a Environment Variable leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

Buffer overflow in FreeBSD setlocale in the libc module allows attackers to execute arbitrary code via a long PATH_LOCALE environment variable.

The weakness was released 02/05/1997 (Website). It is possible to read the advisory at This vulnerability is known as CVE-1999-0964. The exploitation appears to be easy. Attacking locally is a requirement. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit.

Upgrading eliminates this vulnerability.

The vulnerability is also documented in the databases at X-Force (3829) and Vulnerability Center (SBV-23368).




CPE 2.3infoedit

CPE 2.2infoedit


VulDB Meta Base Score: 9.3
VulDB Meta Temp Score: 8.9

VulDB Base Score: 9.3
VulDB Temp Score: 8.9
VulDB Vector: 🔍
VulDB Reliability: 🔍



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

NVD Base Score: 🔍


Class: Memory corruption
CWE: CWE-119
ATT&CK: Unknown

Local: Yes
Remote: No

Availability: 🔍
Status: Not defined

Price Prediction: 🔍
Current Price Estimation: 🔍


Threat Intelligenceinfoedit

Threat: 🔍
Adversaries: 🔍
Geopolitics: 🔍
Economy: 🔍
Predictions: 🔍
Remediation: 🔍


Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍


02/05/1997 🔍
02/05/1997 +0 days 🔍
01/01/2000 +1060 days 🔍
04/09/2004 +1559 days 🔍
09/02/2009 +1972 days 🔍
04/01/2014 +1672 days 🔍
06/23/2014 +83 days 🔍
02/13/2017 +966 days 🔍



Status: Not defined

CVE: CVE-1999-0964 (🔍)
X-Force: 3829
Vulnerability Center: 23368 - FreeBSD 2.1.6 Setlocale Libc Module Arbitrary Code Execution Vulnerability, High
OSVDB: 6086 - FreeBSD libc setlocale() PATH_LOCALE Variable Overflow


Created: 06/23/2014 01:20 PM
Updated: 02/13/2017 12:33 PM
Changes: (6) vulnerability_cvss2_nvd_av vulnerability_cvss2_nvd_ac vulnerability_cvss2_nvd_au vulnerability_cvss2_nvd_ci vulnerability_cvss2_nvd_ii vulnerability_cvss2_nvd_ai
Complete: 🔍


No comments yet. Please log in to comment.

Do you know our Splunk app?

Download it now for free!