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.
| Product | Vendor | Version |
|---|---|---|
| n/a | n/a | < 259683001d7e879fea4b42084fb6560dd9408a7e |
| n/a | n/a | 1.22 |