CVE-2012-3406Glibc vulnerability

9 documents8 sources
Severity
6.8MEDIUMNVD
CNA5.0OSV5.0
EPSS
0.9%
top 24.79%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 10
Latest updateMay 14

Description

The vfprintf function in stdio-common/vfprintf.c in GNU C Library (aka glibc) 2.5, 2.12, and probably other versions does not "properly restrict the use of" the alloca function when allocating the SPECS array, which allows context-dependent attackers to bypass the FORTIFY_SOURCE format-string protection mechanism and cause a denial of service (crash) or possibly execute arbitrary code via a crafted format string using positional parameters and a large number of format specifiers, a different vul

CVSS vector

AV:N/AC:M/C:P/I:P/A:PExploitability: 8.6 | Impact: 6.4

Affected Packages3 packages

Debiangnu/glibc< 2.19-14+3
NVDgnu/glibc2.12, 2.5+1

Also affects: Ubuntu Linux 10.04, 11.04, 11.10, 12.04, 8.04, Enterprise Linux 5, 6.0

🔴Vulnerability Details

3
GHSA
GHSA-8mj9-m673-h2gf: The vfprintf function in stdio-common/vfprintf2022-05-14
CVEList
CVE-2012-3406: The vfprintf function in stdio-common/vfprintf2014-02-10
OSV
CVE-2012-3406: The vfprintf function in stdio-common/vfprintf2014-02-10

📋Vendor Advisories

3
Ubuntu
GNU C Library vulnerabilities2012-10-02
Red Hat
glibc: printf() unbound alloca() usage in case of positional parameters + many format specs2012-07-11
Debian
CVE-2012-3406: glibc - The vfprintf function in stdio-common/vfprintf.c in GNU C Library (aka glibc) 2....2012

💬Community

2
Bugzilla
CVE-2012-3405 CVE-2012-3406 glibc various flaws [fedora-all]2012-07-18
Bugzilla
CVE-2012-3406 glibc: printf() unbound alloca() usage in case of positional parameters + many format specs2012-05-31
CVE-2012-3406 — GNU Glibc vulnerability | cvebase