CVE-2012-3404
The vfprintf function in stdio-common/vfprintf.c in libc in GNU C Library (aka glibc) 2.12 and other versions does not properly calculate…
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
The vfprintf function in stdio-common/vfprintf.c in libc in GNU C Library (aka glibc) 2.12 and other versions does not properly calculate a buffer length, which allows context-dependent attackers to bypass the FORTIFY_SOURCE format-string protection mechanism and cause a denial of service (stack corruption and crash) via a format string that uses positional parameters and many format specifiers.
Timeline
ID reserved
By redhat
- 20 months later
· 20 months later
Published
- 10 years later
· 10 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
- EPSS (exploitation in 30 days)
- 2.2% · top 17% of all CVEs (8 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.0.
Weakness
Affected products
n/a
- affected n/a
References (7)
- RHSA-2012:1200 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://sourceware.org/bugzilla/show_bug.cgi?id=12445 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=833703 (opens in a new tab)x_refsource_CONFIRMx_transferred
- GLSA-201503-04 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- RHSA-2012:1098 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- USN-1589-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- [oss-security] 20120711 Re: CVE request: glibc formatted printing vulnerabilities (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2012-3404)Record last updated .