CVE-2012-3405: Medium severity GNU glibc vulnerability

Published Jun 20, 2012
·
Updated

It was discovered that the formatted printing functionality in glibc used extendalloca() incorrectly. A remote attacker could provide a specially crafted sequence of format specifiers, leading to a desynchronization within the buffer size handling, resulting in the use of uninitialized memory or, potentially, FORTIFYSOURCE format string protection mechanism bypass, when processed.

References: http://sourceware.org/bugzilla/showbug.cgi?id=13446 http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=a4647e727a2a52e1259474c13f4b13288938bed4

Other sources

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 FORTIFYSOURCE 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.

Affected Software

8 affected components
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

Event History

Jun 20, 2012
Data Sourced
07:29 AM
DescriptionSeverityAffected Software
Feb 10, 2014
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2012-3405?

CVE-2012-3405 is considered a critical vulnerability due to the potential for memory corruption and exploitation.

2

How do I fix CVE-2012-3405?

To fix CVE-2012-3405, you should upgrade to a patched version of glibc or the affected software.

3

What software is affected by CVE-2012-3405?

CVE-2012-3405 affects glibc version 2.14 and specific versions of Red Hat and Ubuntu Linux.

4

What type of vulnerability is CVE-2012-3405?

CVE-2012-3405 is a memory corruption vulnerability that can be exploited remotely.

5

Can CVE-2012-3405 be exploited over the network?

Yes, CVE-2012-3405 can be exploited remotely by an attacker leveraging crafted format specifiers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203