Back

MEDIUM

glibc: Stack-overflow in glibc swscanf

Published Apr 8, 2015

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 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.

Affected products

Remediation

Red Hat statement

This issue does not affect the version of glibc package as shipped with Red Hat Enterprise Linux 5 and 6.

Metrics

References (9)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Apr 8, 2015
Updated Aug 6, 2024
Reserved Feb 3, 2015
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Low
Public date Feb 21, 2014