|Description||The ADDW macro in stdio-common/vfscanf.c in the GNU C Library (aka glibc or libc6) before 2.21 does not properly consider data-type size during memory allocation, which allows context-dependent attackers to cause a denial of service (buffer overflow) or possibly have unspecified other impact via a long line containing wide characters that are improperly handled in a wscanf call.|
|Source||CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)|
|NVD severity||high (attack range: remote)|
Vulnerable and fixed packages
The table below lists information on source packages.
|glibc (PTS)||jessie (security), jessie||2.19-18+deb8u10||fixed|
|stretch (security), stretch||2.24-11+deb9u1||fixed|
The information below is based on the following data on fixed versions.
[squeeze] - eglibc <not-affected> (Vulnerable code not present)
This was introduced by https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=3f8cc204fdd0 (2.15),
the patch was backported into wheezy (patches/any/cvs-vfscanf.diff), but not squeeze