CVE-2012-3406
Last modified
CVE-2012-3406 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 3.16% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gnu | Glibc | 2.5 |
| Gnu | Glibc | 2.12 |
| Redhat | Enterprise Virtualization | 3.0 |
| Canonical | Ubuntu Linux | 8.04 |
| Canonical | Ubuntu Linux | 10.04 |
| Canonical | Ubuntu Linux | 11.04 |
| Canonical | Ubuntu Linux | 11.10 |
| Canonical | Ubuntu Linux | 12.04 |
| Redhat | Enterprise Linux | 5 |
| Redhat | Enterprise Linux | 6.0 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2012-3406?
How severe is CVE-2012-3406?
How do I fix CVE-2012-3406?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2012
- CVE-2012-3400Heap-based buffer overflow in the udf_load_logicalvol functi…
- CVE-2012-3401The t2p_read_tiff_init function in tiff2pdf (tools/tiff2pdf.…
- CVE-2012-3402Integer overflow in plug-ins/common/psd.c in the Adobe Photo…
- CVE-2012-3403Heap-based buffer overflow in the KiSS CEL file format plug-…
- CVE-2012-3404The vfprintf function in stdio-common/vfprintf.c in libc in …
- CVE-2012-3405The vfprintf function in stdio-common/vfprintf.c in libc in …
- CVE-2012-3407plow has local buffer overflow vulnerability7.8
- CVE-2012-3408lib/puppet/network/authstore.rb in Puppet before 2.7.18, and…
- CVE-2012-3409ecryptfs-utils: suid helper does not restrict mounting files…7.8
- CVE-2012-3410Stack-based buffer overflow in lib/sh/eaccess.c in GNU Bash …
- CVE-2012-3411Dnsmasq before 2.63test1, when used with certain libvirt con…
- CVE-2012-3412The sfc (aka Solarflare Solarstorm) driver in the Linux kern…
Are you affected by CVE-2012-3406?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
