National Vulnerability Database

National Vulnerability Database

National Vulnerability

CVE-2008-1391 Detail


Multiple integer overflows in libc in NetBSD 4.x, FreeBSD 6.x and 7.x, and probably other BSD and Apple Mac OS platforms allow context-dependent attackers to execute arbitrary code via large values of certain integer fields in the format argument to (1) the strfmon function in lib/libc/stdlib/strfmon.c, related to the GET_NUMBER macro; and (2) the printf function, related to left_prec and right_prec.

Source:  MITRE      Last Modified:  03/27/2008

Quick Info

CVE Dictionary Entry:
Original release date:
Last revised:


CVSS Severity (version 2.0):
CVSS v2 Base Score:
7.5 HIGH
(AV:N/AC:L/Au:N/C:P/I:P/A:P) (legend)
Impact Subscore:
Exploitability Subscore:
CVSS Version 2 Metrics:
Access Vector:
Network exploitable
Access Complexity:
Not required to exploit
Impact Type:
Provides unauthorized access, Allows partial confidentiality, integrity, and availability violation; Allows unauthorized disclosure of information; Allows disruption of service

Vendor Statements (disclaimer)

Official Statement from Red Hat (09/24/2009)

Red Hat does not consider this to be a security issue. Properly written application should not use arbitrary untrusted data as part of the format string passed to functions as strfmon or printf family functions.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to

Hyperlink Resource Type Source Name External Source APPLE APPLE-SA-2008-12-15 Exploit External Source SREASONRES 20080325 *BSD libc (strfmon) Multiple vulnerabilities Exploit External Source SREASON 3770 External Source CONFIRM External Source DEBIAN DSA-2058 External Source BUGTRAQ 20080327 [securityreason] *BSD libc (strfmon) Multiple vulnerabilities External Source BID 28479 External Source SECTRACK 1019722 US Government Resource External Source CERT TA08-350A External Source VUPEN ADV-2008-3444 External Source XF bsd-strfmon-overflow(41504) External Source SUSE SUSE-SA:2010:052

Technical Details

Vulnerability Type (View All)

Change History 3 change records found - show changes