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 a risk-management decision for use of the alloca function, which might allow context-dependent attackers to cause a denial of service (segmentation violation) or overwrite memory locations beyond the stack boundary via a long line containing wide characters that are improperly handled in a wscanf call.
Source: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1473
Reference (s):
- BID:72499
- URL: http://www.securityfocus.com/bid/72499
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commit;h=5bd80bfe9ca0d955bfbbc002781bc7b01b6bcb06
- MLIST:[oss-security] 20150203 Re: CVE request: heap buffer overflow in glibc swscanf

