Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2012-3406

published

glibc: printf() unbound alloca() usage in case of positional parameters + many format specs

Title from Red Hat VEX

Published
10 Feb 2014, 17:00:00 UTC
Updated
06 Aug 2024, 20:05:12 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated redhat
Debian squeeze eglibc Advisory build 2.11.3-4+deb6u5 DLA-165-1
Oracle Linux 6 glibci686 Advisory build 0:2.12-1.80.el6_3.3 ELSA-2012-1098
Red Hat Enterprise Linux RHEL-5 glibci386 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Debian wheezy eglibc Advisory build 2.13-38+deb7u8 DSA-3169-1
Oracle Linux 6 glibcx86_64 Advisory build 0:2.12-1.80.el6_3.3 ELSA-2012-1098
Oracle Linux 6 glibc-commoni686 Advisory build 0:2.12-1.80.el6_3.3 ELSA-2012-1098
Oracle Linux 6 glibc-commonx86_64 Advisory build 0:2.12-1.80.el6_3.3 ELSA-2012-1098
Show 93 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 6 glibc-develi686 Advisory build 0:2.12-1.80.el6_3.3 ELSA-2012-1098
Oracle Linux 6 glibc-develx86_64 Advisory build 0:2.12-1.80.el6_3.3 ELSA-2012-1098
Oracle Linux 6 glibc-headersi686 Advisory build 0:2.12-1.80.el6_3.3 ELSA-2012-1098
Oracle Linux 6 glibc-headersx86_64 Advisory build 0:2.12-1.80.el6_3.3 ELSA-2012-1098
Oracle Linux 6 glibc-statici686 Advisory build 0:2.12-1.80.el6_3.3 ELSA-2012-1098
Oracle Linux 6 glibc-staticx86_64 Advisory build 0:2.12-1.80.el6_3.3 ELSA-2012-1098
Oracle Linux 6 glibc-utilsi686 Advisory build 0:2.12-1.80.el6_3.3 ELSA-2012-1098
Oracle Linux 6 glibc-utilsx86_64 Advisory build 0:2.12-1.80.el6_3.3 ELSA-2012-1098
Oracle Linux 6 nscdi686 Advisory build 0:2.12-1.80.el6_3.3 ELSA-2012-1098
Oracle Linux 6 nscdx86_64 Advisory build 0:2.12-1.80.el6_3.3 ELSA-2012-1098
Red Hat Enterprise Linux RHEL-5 glibci686 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibcia64 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibcppc Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibcppc64 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibcs390 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibcs390x Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibcsrc Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibcx86_64 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-commoni386 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-commonia64 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-commonppc Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-commons390x Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-commonx86_64 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-debuginfoi386 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-debuginfoi686 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-debuginfoia64 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-debuginfoppc Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-debuginfoppc64 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-debuginfos390 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-debuginfos390x Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-debuginfox86_64 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-debuginfo-commoni386 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-develi386 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-develia64 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-develppc Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-develppc64 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-devels390 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-devels390x Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-develx86_64 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-headersi386 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-headersia64 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-headersppc Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-headerss390x Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-headersx86_64 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-utilsi386 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-utilsia64 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-utilsppc Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-utilss390x Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 glibc-utilsx86_64 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 nscdi386 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 nscdia64 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 nscdppc Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 nscds390x Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-5 nscdx86_64 Advisory build 2.5-81.el5_8.4 RHSA-2012:1097
Red Hat Enterprise Linux RHEL-6 glibci686 Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibcppc Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibcppc64 Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibcs390 Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibcs390x Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibcsrc Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibcx86_64 Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-commoni686 Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-commonppc64 Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-commons390x Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-commonx86_64 Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-debuginfoi686 Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-debuginfoppc Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-debuginfoppc64 Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-debuginfos390 Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-debuginfos390x Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-debuginfox86_64 Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-debuginfo-commoni686 Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-debuginfo-commonppc Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-debuginfo-commonppc64 Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-debuginfo-commons390 Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-debuginfo-commons390x Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-debuginfo-commonx86_64 Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-develi686 Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-develppc Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-develppc64 Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-devels390 Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-devels390x Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-develx86_64 Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-headersi686 Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-headersppc64 Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-headerss390x Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-headersx86_64 Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-statici686 Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-staticppc Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-staticppc64 Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-statics390 Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-statics390x Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098
Red Hat Enterprise Linux RHEL-6 glibc-staticx86_64 Advisory build 2.12-1.80.el6_3.3 RHSA-2012:1098

Package entries are limited to the first 100 builds and 100 linked advisories.

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 vulnerability than CVE-2012-3404 and CVE-2012-3405.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

8

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) redhat · cna

Weaknesses

1
  • n/a (redhat · cna)

References

9
  • RHSA-2012:1097 http://rhn.redhat.com/errata/RHSA-2012-1097.html vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2012:1098 http://rhn.redhat.com/errata/RHSA-2012-1098.html vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2012:1185 http://rhn.redhat.com/errata/RHSA-2012-1185.html vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2012:1200 http://rhn.redhat.com/errata/RHSA-2012-1200.html vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • [oss-security] 20120711 Re: CVE request: glibc formatted printing vulnerabilities http://www.openwall.com/lists/oss-security/2012/07/11/17 mailing-list, x_refsource_MLIST, x_transferred Contributors: redhat (cna), CVE (adp)
  • USN-1589-1 http://www.ubuntu.com/usn/USN-1589-1 vendor-advisory, x_refsource_UBUNTU, x_transferred Contributors: redhat (cna), CVE (adp)
  • https://bugzilla.redhat.com/attachment.cgi?id=594722 x_refsource_CONFIRM, x_transferred Contributors: redhat (cna), CVE (adp)
  • https://bugzilla.redhat.com/show_bug.cgi?id=826943 x_refsource_CONFIRM, x_transferred Contributors: redhat (cna), CVE (adp)
  • GLSA-201503-04 https://security.gentoo.org/glsa/201503-04 vendor-advisory, x_refsource_GENTOO, x_transferred Contributors: redhat (cna), CVE (adp)

Provider assertions

2

redhat · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
afd11bb74bcfb5bccb1e3769c1504e5df010ad45a35f66826daee782c666e33b
Ingested
23 Sep 2026, 07:39:19 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected