CVE-2012-3405
What it is
The vfprintf function in stdio-common/vfprintf.c in libc in GNU C Library (aka glibc) 2.14 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 (segmentation fault and crash) via a format string with a large number of format specifiers that triggers "desynchronization within the buffer size handling," a different vulnerability than CVE-2012-3404.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 2.1% chance of exploitation in the next 30 days (EPSS).
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.1% in the next 30 days (EPSS).
- Severity: 5.0 MEDIUM (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 2.1% · EPSS, next 30 days
- Weakness
- CWE-189
- Record status
- Modified
Affected
- Gnu Glibc 2.14
- 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 6.0
Attack profile CVSS 2.0 · 5.0
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
Raw vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-3405.md and follow it. Check whether this project is affected by CVE-2012-3405. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- http://rhn.redhat.com/errata/RHSA-2012-1098.html
- http://rhn.redhat.com/errata/RHSA-2012-1200.html
- http://www.openwall.com/lists/oss-security/2012/07/11/17
- http://www.ubuntu.com/usn/USN-1589-1
- https://bugzilla.redhat.com/show_bug.cgi?id=833704
- https://security.gentoo.org/glsa/201503-04
- https://sourceware.org/bugzilla/show_bug.cgi?id=13446
- http://rhn.redhat.com/errata/RHSA-2012-1098.html
- http://rhn.redhat.com/errata/RHSA-2012-1200.html
- http://www.openwall.com/lists/oss-security/2012/07/11/17
- http://www.ubuntu.com/usn/USN-1589-1
- https://bugzilla.redhat.com/show_bug.cgi?id=833704
- https://security.gentoo.org/glsa/201503-04
- https://sourceware.org/bugzilla/show_bug.cgi?id=13446