Back

HIGH

glibc: strfmon format string problem

Published Mar 27, 2008

Description

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.

Affected products

Remediation

Red Hat statement

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.

Metrics

Weaknesses (1)

References (19)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Mar 27, 2008
Updated Aug 7, 2024
Reserved Mar 18, 2008
NVD
Status Modified
Modified Jun 16, 2026
Red Hat
Severity n/a
Public date Mar 25, 2008