CVE-2012-3405 Integer overflow in n/a

Medium 5.0 Published Updated

Attackers can cause denial of service and bypass format-string protections in glibc via crafted format strings with many specifiers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2012-3405?

CVE-2012-3405 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 10 Feb 2014. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-189

Which versions are affected by CVE-2012-3405?

It affects 4 products.

Products include Canonical Ubuntu Linux, Gnu Glibc, Redhat Enterprise Linux, Redhat Enterprise Virtualization.

How do I fix CVE-2012-3405?

Upgrade to a fixed version.

Is CVE-2012-3405 being exploited?

There is no known exploitation of CVE-2012-3405 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2012-3405, GHSA-fwxh-prpx-6qg8.

Is CVE-2012-3405 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free