glibc: heap buffer overflow in glibc swscanf
Published Apr 8, 2015
7.5
HIGHCVSS 2.0
EPSS 4.69%
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 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.
Affected products
No data.
Configuration 1
- 10.04
- 12.04
- 14.04
- 14.10
No data.
Red Hat Enterprise Linux 7
glibc-0:2.17-105.el7
Fixed · RHSA-2015:2199
Red Hat Enterprise Linux 7.1 Extended Update Support
glibc-0:2.17-79.ael7b_1
Fixed · RHSA-2015:2589
Red Hat Enterprise Linux 5
glibc
Not affected
Red Hat Enterprise Linux 6
glibc
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | glibc-0:2.17-105.el7 | Fixed | RHSA-2015:2199 |
| Red Hat Enterprise Linux 7.1 Extended Update Support | glibc-0:2.17-79.ael7b_1 | Fixed | RHSA-2015:2589 |
| Red Hat Enterprise Linux 5 | glibc | Not affected | n/a |
| Red Hat Enterprise Linux 6 | glibc | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the versions of glibc as shipped with Red Hat Enterprise Linux 5 and 6 as they did use different memory allocation algorithm in swscanf() function.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (17 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 4.69% (0.04688) | 91.50th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.69% (0.04688) | 90.58th | v5 (v2026.06.15) |
| May 13, 2026 | 3.06% (0.03056) | 86.83th | v4 (v2025.03.14) |
| Dec 28, 2025 | 4.76% (0.04758) | 89.09th | v4 (v2025.03.14) |
| Dec 27, 2025 | 3.06% (0.03056) | 86.33th | v4 (v2025.03.14) |
| Oct 28, 2025 | 4.76% (0.04758) | 88.94th | v4 (v2025.03.14) |
| Oct 27, 2025 | 3.06% (0.03056) | 86.20th | v4 (v2025.03.14) |
| Oct 1, 2025 | 4.76% (0.04758) | 89.03th | v4 (v2025.03.14) |
| Mar 30, 2025 | 3.06% (0.03056) | 85.49th | v4 (v2025.03.14) |
| Mar 29, 2025 | 11.86% (0.11862) | 89.52th | v4 (v2025.03.14) |
| Mar 17, 2025 | 3.06% (0.03056) | 85.79th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.14% (0.01143) | 85.40th | v3 (v2023.03.01) |
| May 2, 2024 | 1.46% (0.01462) | 86.55th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.31% (0.01309) | 83.80th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.69% (0.02686) | 62.66th | v2 (v2022.01.01) |
References (18)
- http://openwall.com/lists/oss-security/2015/02/04/1 mailing-listx_refsource_MLIST
- http://packetstormsecurity.com/files/153278/WAGO-852-Industrial-Managed-Switch-Series-Code-Execution-Hardcoded-Credentials.html x_refsource_MISC
- http://packetstormsecurity.com/files/154361/Cisco-Device-Hardcoded-Credentials-GNU-glibc-BusyBox.html x_refsource_MISC
- http://seclists.org/fulldisclosure/2019/Jun/18 mailing-listx_refsource_FULLDISC
- http://seclists.org/fulldisclosure/2019/Sep/7 mailing-listx_refsource_FULLDISC
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html x_refsource_CONFIRM
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html x_refsource_CONFIRM
- http://www.securityfocus.com/bid/72428 vdb-entryx_refsource_BID
- http://www.ubuntu.com/usn/USN-2519-1 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2015-1472 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1188235 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2015-1472
- https://seclists.org/bugtraq/2019/Jun/14 mailing-listx_refsource_BUGTRAQ
- https://seclists.org/bugtraq/2019/Sep/7 mailing-listx_refsource_BUGTRAQ
- https://security.gentoo.org/glsa/201602-02 vendor-advisoryx_refsource_GENTOO
- https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Ba=commit%3Bh=5bd80bfe9ca0d955bfbbc002781bc7b01b6bcb06 x_refsource_CONFIRM
- https://sourceware.org/ml/libc-alpha/2015-02/msg00119.html mailing-listx_refsource_MLIST
- https://www.cve.org/CVERecord?id=CVE-2015-1472
Change history (0)
No recorded changes yet.