Input validation error in GNU C Library (glibc) - CVE-2012-3405

 

Input validation error in GNU C Library (glibc) - CVE-2012-3405

Published: April 22, 2019 / Updated: June 3, 2025


Vulnerability identifier: #VU110116
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-3405
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to perform service disruption.

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.


Affected software

GNU C Library (glibc)
Gentoo Linux
Ubuntu
libc6 (Ubuntu package)
sys-libs/glibc

How to mitigate CVE-2012-3405

Install update from vendor's website.

libc6 (Ubuntu package) - addressed in versions 2.7-10ubuntu8.2, 2.11.1-0ubuntu7.11, 2.13-0ubuntu13.2, 2.13-20ubuntu5.2, 2.15-0ubuntu10.2
sys-libs/glibc - update to 2.19-r1

External References

Related Security Bulletins