The ADDW macro in stdio-common/vfscanf.c in the GNU C...
High severity
Unreviewed
Published
May 14, 2022
to the GitHub Advisory Database
•
Updated Apr 12, 2025
Description
Published by the National Vulnerability Database
Apr 8, 2015
Published to the GitHub Advisory Database
May 14, 2022
Last updated
Apr 12, 2025
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.
References