The ADDW macro in stdio-common/vfscanf.c in the GNU C Library (aka glibc or libc6) before…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:lts:*:*:* | 10.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.10:*:*:*:*:*:*:* | 14.10 | Vulnerable | Canonical |
| cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:* | up to 2.20 | Vulnerable | GNU |
- cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:lts:*:*:* Versions 10.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.10:*:*:*:*:*:*:* Versions 14.10 Vulnerable ·Canonical
- cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:* Versions up to 2.20 Vulnerable ·GNU
Remediation
Red Hat 2 advisories
- RHSA-2015:2589 Released 2015-12-09 · Red Hat rating Importantglibc security update
- Red Hat Enterprise Linux ComputeNode EUS (v. 7.1) glibc-2.17-79.el7_1, glibc-common-2.17-79.el7_1, glibc-devel-2.17-79.el7_1 +3
- Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.1) glibc-static-2.17-79.el7_1
- Red Hat Enterprise Linux Server EUS (v. 7.1) glibc-2.17-79.ael7b_1, glibc-2.17-79.el7_1, glibc-2.17-79.el7_1.ppc +11
- Red Hat Enterprise Linux Server Optional EUS (v. 7.1) glibc-static-2.17-79.ael7b_1, glibc-static-2.17-79.el7_1, glibc-static-2.17-79.el7_1.ppc
- RHSA-2015:2199 Released 2015-11-19 · Red Hat rating Moderateglibc security, bug fix, and enhancement update
- Red Hat Enterprise Linux Client (v. 7) glibc-2.17-105.el7, glibc-common-2.17-105.el7, glibc-devel-2.17-105.el7 +3
- Red Hat Enterprise Linux Client Optional (v. 7) glibc-static-2.17-105.el7
- Red Hat Enterprise Linux ComputeNode (v. 7) glibc-2.17-105.el7, glibc-common-2.17-105.el7, glibc-devel-2.17-105.el7 +3
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) glibc-static-2.17-105.el7
- Red Hat Enterprise Linux Server (v. 7) glibc-2.17-105.el7, glibc-2.17-105.el7.ppc, glibc-common-2.17-105.el7 +5
- Red Hat Enterprise Linux Server Optional (v. 7) glibc-static-2.17-105.el7, glibc-static-2.17-105.el7.ppc
- Red Hat Enterprise Linux Workstation (v. 7) glibc-2.17-105.el7, glibc-common-2.17-105.el7, glibc-devel-2.17-105.el7 +3
- Red Hat Enterprise Linux Workstation Optional (v. 7) glibc-static-2.17-105.el7
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2015:2199 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2015:2199 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2015:2199 |
| Red Hat Enterprise Linux ComputeNode EUS (v. 7.1) | Fixed | RHSA-2015:2589 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2015:2199 |
| Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.1) | Fixed | RHSA-2015:2589 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2015:2199 |
| Red Hat Enterprise Linux Server EUS (v. 7.1) | Fixed | RHSA-2015:2589 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2015:2199 |
| Red Hat Enterprise Linux Server Optional EUS (v. 7.1) | Fixed | RHSA-2015:2589 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2015:2199 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2015:2199 |
Not affected: 2 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Timeline
- 2026-10-02 Threatist record created from CVE-2015-1472
- 2026-10-03 Alias added: GHSA-7g3j-xr9q-w6cw
References
Advisory 2
Other 11
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Ba=commit%3Bh=5bd80bfe9ca0d955bfbbc002781bc7b01b6bcb06
- [libc-alpha] 20150206 The GNU C Library version 2.21 is now available
- [oss-security] 20150203 Re: CVE request: heap buffer overflow in glibc swscanf
- 20190612 SEC Consult SA-20190612-0 :: Multiple vulnerabilities in WAGO 852 Industrial Managed Switch Series
- 20190613 SEC Consult SA-20190612-0 :: Multiple vulnerabilities in WAGO 852 Industrial Managed Switch Series
- http://packetstormsecurity.com/files/153278/WAGO-852-Industrial-Managed-Switch-Series-Code-Execution-Hardcoded-Credentials.html
- 20190904 SEC Consult SA-20190904-0 :: Multiple vulnerabilities in Cisco router series RV34X, RV26X and RV16X
- 20190904 SEC Consult SA-20190904-0 :: Multiple vulnerabilities in Cisco router series RV34X, RV26X and RV16X
- http://packetstormsecurity.com/files/154361/Cisco-Device-Hardcoded-Credentials-GNU-glibc-BusyBox.html
Sources
- CVE-2015-1472 · CVE Program
- CVE-2015-1472 · NVD
- FIRST EPSS
- GHSA-7g3j-xr9q-w6cw · GitHub Advisory Database · CC BY 4.0
- CVE-2015-1472 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences