Security mailing lists by PureSourceCode

CVE-2012-3406

MEDIUM 6.8CVSS 2.0

The vfprintf function in stdio-common/vfprintf.c in GNU C Library (aka glibc) 2.5, 2.12, and probably other versions does not "properly restrict the use of" the alloca function when allocating the SPECS array, which allows context-dependent attackers to bypass the FORTIFY_SOURCE format-string protection mechanism and cause a denial of service (crash) or possibly execute arbitrary code via a crafted format string using positional parameters and a large number of format specifiers, a different vulnerability than CVE-2012-3404 and CVE-2012-3405.

Published
10 Feb 2014
Last modified
16 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-264
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD gnu glibc
cpe:2.3:a:gnu:glibc:2.5:*:*:*:*:*:*:*
= 2.5
NVD gnu glibc
cpe:2.3:a:gnu:glibc:2.12:*:*:*:*:*:*:*
= 2.12
NVD redhat enterprise_virtualization
cpe:2.3:a:redhat:enterprise_virtualization:3.0:*:*:*:*:*:*:*
= 3.0
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:8.04:-:lts:*:*:*:*:*
= 8.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:10.04:-:lts:*:*:*:*:*
= 10.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:11.04:*:*:*:*:*:*:*
= 11.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:11.10:*:*:*:*:*:*:*
= 11.10
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:12.04:-:lts:*:*:*:*:*
= 12.04
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:5:*:*:*:*:*:*:*
= 5
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
= 6.0

References

History

  • 25 Nov 2026 20:18 UTC ยท NVD: first stored (published 10 Feb 2014)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.