Every CVE Search/ Get API key

CVE-2015-1472

The ADDW macro in stdio-common/vfscanf.c in the GNU C Library (aka glibc or libc6) before 2.21...

7.5 HighFix available

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.

Exploit likelihood

4.69%Up 2.0 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2015-1472
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-119
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2015-1472
Updated
2026-11-02
EUVDEUVD-2015-1607 No score

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.

Record
EUVD-2015-1607
Updated
2026-11-03
GitHub AdvisoriesGHSA-7g3j-xr9q-w6cw No score

The ADDW macro in stdio-common/vfscanf.c in the GNU C Library (aka glibc or libc6) before 2.21...

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.

Record
GHSA-7g3j-xr9q-w6cw
Weakness
CWE-119
Updated
2026-11-02
OSVBELL-CVE-2015-1472 7.5

CVE-2015-1472 does not affect BellSoft software

Record
BELL-CVE-2015-1472
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Updated
2026-11-02
OSV No score

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.

Record
CVE-2015-1472
Updated
2026-11-02
Show 10 moreShow less
OSVDEBIAN-CVE-2015-1472 No score

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.

Record
DEBIAN-CVE-2015-1472
Updated
2026-11-02
OSVMGASA-2015-0072 No score

Updated glibc packages fix security vulnerabilities

Under certain conditions wscanf can allocate too little memory for the to-be-scanned arguments and overflow the allocated buffer (CVE-2015-1472).

The incorrect use of "__libc_use_alloca (newsize)" caused a different (and weaker) policy to be enforced which could allow a denial of service attack (CVE-2015-1473).

Record
MGASA-2015-0072
Updated
2026-11-02
OSVopenSUSE-SU-2024:10154-1 No score

glibc-2.24-2.3 on GA media

These are all security issues fixed in the glibc-2.24-2.3 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10154-1
Updated
2026-11-02
OSVSUSE-RU-2015:0794-1 No score

Security update for glibc

This glibc update fixes a critical privilege escalation problem and two non-security issues:

* bnc#892073: An off-by-one error leading to a heap-based buffer
  overflow was found in __gconv_translit_find(). An exploit that
  targets the problem is publicly available. (CVE-2014-5119)
* bnc#892065: setenv-alloca.patch: Avoid unbound alloca in setenv.
* bnc#888347: printf-multibyte-format.patch: Don't parse %s format
  argument as multi-byte string.

Security Issues:

* CVE-2014-5119
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-5119>
Record
SUSE-RU-2015:0794-1
Updated
2026-11-02
OSVSUSE-SU-2015:0253-1 No score

Security update for glibc

This glibc update fixes a critical privilege escalation problem and two non-security issues:

* bnc#892073: An off-by-one error leading to a heap-based buffer
  overflow was found in __gconv_translit_find(). An exploit that
  targets the problem is publicly available. (CVE-2014-5119)
* bnc#892065: setenv-alloca.patch: Avoid unbound alloca in setenv.
* bnc#888347: printf-multibyte-format.patch: Don't parse %s format
  argument as multi-byte string.

Security Issues:

* CVE-2014-5119
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-5119>
Record
SUSE-SU-2015:0253-1
Updated
2026-11-02
OSVSUSE-SU-2015:0439-1 No score

Security update for glibc

This glibc update fixes a critical privilege escalation problem and two non-security issues:

* bnc#892073: An off-by-one error leading to a heap-based buffer
  overflow was found in __gconv_translit_find(). An exploit that
  targets the problem is publicly available. (CVE-2014-5119)
* bnc#892065: setenv-alloca.patch: Avoid unbound alloca in setenv.
* bnc#888347: printf-multibyte-format.patch: Don't parse %s format
  argument as multi-byte string.

Security Issues:

* CVE-2014-5119
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-5119>
Record
SUSE-SU-2015:0439-1
Updated
2026-11-02
OSVSUSE-SU-2015:0526-1 No score

Security update for glibc

glibc has been updated to fix four security issues.

These security issues were fixed:

  • CVE-2014-7817: The wordexp function in GNU C Library (aka glibc) 2.21 did not enforce the WRDE_NOCMD flag, which allowed context-dependent attackers to execute arbitrary commands, as demonstrated by input containing '$((...))' (bnc#906371).
  • CVE-2015-1472: Heap buffer overflow in glibc swscanf (bnc#916222).
  • CVE-2014-9402: Denial of service in getnetbyname function (bnc#910599).
  • CVE-2013-7423: Getaddrinfo() writes DNS queries to random file descriptors under high load (bnc#915526).

These non-security issues were fixed:

  • Fix infinite loop in check_pf (bsc#909053)
  • Restore warning about execution permission, it is still needed for noexec mounts (bsc#915985).
  • Don't touch user-controlled stdio locks in forked child (bsc#864081)
  • Don't use gcc extensions for non-gcc compilers (bsc#905313)
Record
SUSE-SU-2015:0526-1
Updated
2026-11-02
OSVSUSE-SU-2015:0551-1 No score

Security update for glibc

This update for glibc contains the following fixes:

* Fix integer overflows in malloc (CVE-2013-4332, bnc#839870)
* Fix buffer overflow in glob (bnc#691365)
* Fix buffer overflow in strcoll (CVE-2012-4412, bnc#779320)
* Update mount flags in <sys/mount.h> (bnc#791928)
* Fix buffer overrun in regexp matcher (CVE-2013-0242, bnc#801246)
* Fix memory leaks in dlopen (bnc#811979)
* Fix stack overflow in getaddrinfo with many results (CVE-2013-1914,
  bnc#813121)
* Fix check for XEN build in glibc_post_upgrade that causes missing
  init re-exec (bnc#818628)
* Don't raise UNDERFLOW in tan/tanf for small but normal argument
  (bnc#819347)
* Properly cross page boundary in SSE4.2 implementation of strcmp
  (bnc#822210)
* Fix robust mutex handling after fork (bnc#827811)
* Fix missing character in IBM-943 charset (bnc#828235)
* Fix use of alloca in gaih_inet (bnc#828637)
* Initialize pointer guard also in static executables (CVE-2013-4788,
  bnc#830268)
* Fix readdir_r with long file names (CVE-2013-4237, bnc#834594).

Security Issues:

* CVE-2012-4412
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-4412>
* CVE-2013-0242
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-0242>
* CVE-2013-1914
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1914>
* CVE-2013-4237
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-4237>
* CVE-2013-4332
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-4332>
* CVE-2013-4788
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-4788>
Record
SUSE-SU-2015:0551-1
Updated
2026-11-02
OSVUBUNTU-CVE-2015-1472 No score

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.

Record
UBUNTU-CVE-2015-1472
Updated
2026-11-02
OSVUSN-2519-1 No score

eglibc, glibc vulnerabilities

Arnaud Le Blanc discovered that the GNU C Library incorrectly handled file descriptors when resolving DNS queries under high load. This may cause a denial of service in other applications, or an information leak. This issue only affected Ubuntu 10.04 LTS, Ubuntu 12.04 LTS and Ubuntu 14.04 LTS. (CVE-2013-7423)

It was discovered that the GNU C Library incorrectly handled receiving a positive answer while processing the network name when performing DNS resolution. A remote attacker could use this issue to cause the GNU C Library to hang, resulting in a denial of service. (CVE-2014-9402)

Joseph Myers discovered that the GNU C Library wscanf function incorrectly handled memory. A remote attacker could possibly use this issue to cause the GNU C Library to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 12.04 LTS, Ubuntu 14.04 LTS and Ubuntu 14.10. (CVE-2015-1472, CVE-2015-1473)

Record
USN-2519-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
glibc
Debian:12
before 2.19-15
2.19-15
glibc
Debian:13
before 2.19-15
2.19-15
glibc
Debian:14
before 2.19-15
2.19-15
eglibc
Debian:6.0
From an advisory covering 18 CVEs
before 2.11.3-4+deb6u5, plus listed versions
2.11.2-102.11.2-10+m68k.12.11.2-112.11.2-11+m68k.12.11.2-12
Show 5 moreShow less
2.11.2-132.11.3-12.11.3-22.11.3-32.11.3-4
2.11.3-4+deb6u5
eglibc
Debian:7
From an advisory covering 6 CVEs
before 2.13-38+deb7u8, plus listed versions
2.13-382.13-38+deb7u12.13-38+deb7u22.13-38+deb7u32.13-38+deb7u42.13-38+deb7u52.13-38+deb7u62.13-38+deb7u7
2.13-38+deb7u8
glibc
Mageia:4
From an advisory covering 2 CVEs
before 2.18-9.9.mga4
2.18-9.9.mga4
glibc-debuginfo
Red Hat:enterprise_linux:7::client
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc-debuginfo-common
Red Hat:enterprise_linux:7::client
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc-static
Red Hat:enterprise_linux:7::client
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc
Red Hat:enterprise_linux:7::client
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
Show 57 moreShow less
Affected packages
PackageAffectedFixed
glibc-common
Red Hat:enterprise_linux:7::client
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc-devel
Red Hat:enterprise_linux:7::client
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc-headers
Red Hat:enterprise_linux:7::client
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc-utils
Red Hat:enterprise_linux:7::client
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
nscd
Red Hat:enterprise_linux:7::client
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc-debuginfo
Red Hat:enterprise_linux:7::computenode
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc-debuginfo-common
Red Hat:enterprise_linux:7::computenode
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc-static
Red Hat:enterprise_linux:7::computenode
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc
Red Hat:enterprise_linux:7::computenode
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc-common
Red Hat:enterprise_linux:7::computenode
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc-devel
Red Hat:enterprise_linux:7::computenode
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc-headers
Red Hat:enterprise_linux:7::computenode
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc-utils
Red Hat:enterprise_linux:7::computenode
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
nscd
Red Hat:enterprise_linux:7::computenode
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc-debuginfo
Red Hat:enterprise_linux:7::server
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc-debuginfo-common
Red Hat:enterprise_linux:7::server
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc-static
Red Hat:enterprise_linux:7::server
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc
Red Hat:enterprise_linux:7::server
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc-common
Red Hat:enterprise_linux:7::server
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc-devel
Red Hat:enterprise_linux:7::server
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc-headers
Red Hat:enterprise_linux:7::server
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc-utils
Red Hat:enterprise_linux:7::server
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
nscd
Red Hat:enterprise_linux:7::server
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc-debuginfo
Red Hat:enterprise_linux:7::workstation
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc-debuginfo-common
Red Hat:enterprise_linux:7::workstation
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc-static
Red Hat:enterprise_linux:7::workstation
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc
Red Hat:enterprise_linux:7::workstation
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc-common
Red Hat:enterprise_linux:7::workstation
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc-devel
Red Hat:enterprise_linux:7::workstation
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc-headers
Red Hat:enterprise_linux:7::workstation
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc-utils
Red Hat:enterprise_linux:7::workstation
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
nscd
Red Hat:enterprise_linux:7::workstation
From an advisory covering 4 CVEs
before 0:2.17-105.el7
0:2.17-105.el7
glibc
Red Hat:rhel_eus:7.1::computenode
From an advisory covering 5 CVEs
before 0:2.17-79.el7_1
0:2.17-79.el7_1
glibc-common
Red Hat:rhel_eus:7.1::computenode
From an advisory covering 5 CVEs
before 0:2.17-79.el7_1
0:2.17-79.el7_1
glibc-debuginfo
Red Hat:rhel_eus:7.1::computenode
From an advisory covering 5 CVEs
before 0:2.17-79.el7_1
0:2.17-79.el7_1
glibc-debuginfo-common
Red Hat:rhel_eus:7.1::computenode
From an advisory covering 5 CVEs
before 0:2.17-79.el7_1
0:2.17-79.el7_1
glibc-devel
Red Hat:rhel_eus:7.1::computenode
From an advisory covering 5 CVEs
before 0:2.17-79.el7_1
0:2.17-79.el7_1
glibc-headers
Red Hat:rhel_eus:7.1::computenode
From an advisory covering 5 CVEs
before 0:2.17-79.el7_1
0:2.17-79.el7_1
glibc-utils
Red Hat:rhel_eus:7.1::computenode
From an advisory covering 5 CVEs
before 0:2.17-79.el7_1
0:2.17-79.el7_1
nscd
Red Hat:rhel_eus:7.1::computenode
From an advisory covering 5 CVEs
before 0:2.17-79.el7_1
0:2.17-79.el7_1
glibc-static
Red Hat:rhel_eus:7.1::computenode
From an advisory covering 5 CVEs
before 0:2.17-79.el7_1
0:2.17-79.el7_1
glibc
Red Hat:rhel_eus:7.1::server
From an advisory covering 5 CVEs
before 0:2.17-79.ael7b_1
0:2.17-79.ael7b_1
glibc-common
Red Hat:rhel_eus:7.1::server
From an advisory covering 5 CVEs
before 0:2.17-79.ael7b_1
0:2.17-79.ael7b_1
glibc-debuginfo
Red Hat:rhel_eus:7.1::server
From an advisory covering 5 CVEs
before 0:2.17-79.ael7b_1
0:2.17-79.ael7b_1
glibc-debuginfo-common
Red Hat:rhel_eus:7.1::server
From an advisory covering 5 CVEs
before 0:2.17-79.ael7b_1
0:2.17-79.ael7b_1
glibc-devel
Red Hat:rhel_eus:7.1::server
From an advisory covering 5 CVEs
before 0:2.17-79.ael7b_1
0:2.17-79.ael7b_1
glibc-headers
Red Hat:rhel_eus:7.1::server
From an advisory covering 5 CVEs
before 0:2.17-79.ael7b_1
0:2.17-79.ael7b_1
glibc-utils
Red Hat:rhel_eus:7.1::server
From an advisory covering 5 CVEs
before 0:2.17-79.ael7b_1
0:2.17-79.ael7b_1
nscd
Red Hat:rhel_eus:7.1::server
From an advisory covering 5 CVEs
before 0:2.17-79.ael7b_1
0:2.17-79.ael7b_1
glibc-static
Red Hat:rhel_eus:7.1::server
From an advisory covering 5 CVEs
before 0:2.17-79.ael7b_1
0:2.17-79.ael7b_1
glibc
SUSE:Linux Enterprise Desktop 12
From an advisory covering 4 CVEs
before 2.19-20.3
2.19-20.3
glibc
SUSE:Linux Enterprise Software Development Kit 12
From an advisory covering 4 CVEs
before 2.19-20.3
2.19-20.3
glibc
SUSE:Linux Enterprise Server 12
From an advisory covering 4 CVEs
before 2.19-20.3
2.19-20.3
glibc
SUSE:Linux Enterprise Server for SAP Applications 12
From an advisory covering 4 CVEs
before 2.19-20.3
2.19-20.3
eglibc
Ubuntu:14.04:LTS
before 2.19-0ubuntu6.6, plus listed versions
2.17-93ubuntu42.18-0ubuntu12.18-0ubuntu22.18-0ubuntu42.18-0ubuntu5
Show 11 moreShow less
2.18-0ubuntu62.18-0ubuntu72.19-0ubuntu22.19-0ubuntu32.19-0ubuntu42.19-0ubuntu52.19-0ubuntu62.19-0ubuntu6.12.19-0ubuntu6.32.19-0ubuntu6.42.19-0ubuntu6.5
2.19-0ubuntu6.6
eglibc
Ubuntu:14.04:LTS
From an advisory covering 4 CVEs
before 2.19-0ubuntu6.6, plus listed versions
2.17-93ubuntu42.18-0ubuntu12.18-0ubuntu22.18-0ubuntu42.18-0ubuntu5
Show 11 moreShow less
2.18-0ubuntu62.18-0ubuntu72.19-0ubuntu22.19-0ubuntu32.19-0ubuntu42.19-0ubuntu52.19-0ubuntu62.19-0ubuntu6.12.19-0ubuntu6.32.19-0ubuntu6.42.19-0ubuntu6.5
2.19-0ubuntu6.6
glibc
openSUSE:Tumbleweed
From an advisory covering 31 CVEs
before 2.24-2.3
2.24-2.3

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2015-1472 is a high vulnerability (CVSS 7.5) in Gnu Glibc, published September 13, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.69%, the 91st percentile. Fixed in glibc 2.19-15.

References

Show 163 moreShow less
MoveEnter Open