CVE-2012-3405

glibc: incorrect use of extend_alloca() in formatted printing can lead to FORTIFY_SOURCE format string protection bypass

Published Feb 10, 2014 CVSS 2.0 · 5.0 Medium EPSS 2.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-165-1 eglibc security update
Debian DSA Debian DSA DSA-3169-1 eglibc security update
EUVD EUVD EUVD-2012-3376 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.
Ubuntu USN Ubuntu USN USN-1589-1 GNU C Library vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 6, 2024, 8:05 PM
Reserved
Jun 14, 2012, 12:00 AM
Status
Modified
Published
Feb 10, 2014, 6:15 PM
Modified
Jun 16, 2026, 11:43 PM
Severity
Moderate
Public date
Jul 11, 2012, 12:00 AM