A security flaw was found in the way strcoll() interface of glibc, the GNU libc libraries, performed failsafe back to alloca() routine when malloc() function call failed previously (due to out of memory [OOM] condition for example). If an application linked against glibc was missing an application-level sanity checks for validity of strcoll() arguments and accepted untrusted input, an attacker could use this flaw to cause the particular application to crash or, potentially, execute arbitrary code with the privileges of the user running the application.
Upstream bug report (including the reproducer):
Issue / part: 1) alloca() stack overflow from .
This issue affects the versions of the glibc package, as shipped with Red Hat Enterprise Linux 5 and 6.
This issue affects the versions of the glibc package, as shipped with Fedora release of 16 and 17. Please schedule an update (once final upstream patch is available).
Created glibc tracking bugs for this issue
Affects: fedora-all [bug 855399]