All vulnerabilities

Servers and applications

CVE-2015-1473

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…

Severity
Medium 6.4
Published
8 Apr 2015
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Exploit chance
2.1% in the next 30 daysHigher than 82% of CVEs. EPSS by FIRST, 11 Nov 2026
Weakness
Memory buffer errors (CWE-119)
Attack
Over the network · No login needed
Attacker can
Change some data · Slow it down
CVSS vector
AV:N/AC:L/Au:N/C:N/I:P/A:P
Sources
NVD

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.

From NVD.

Affected software

SoftwareAffected versions
GNU C LibraryServers and applications · cpe:a:gnu:glibc
  • Every version up to 2.20

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2015-1473
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2015-1473