The get_contents function in nss_files/files-XXX.c in the Name Service Switch (NSS) in…
Priority LOW 32CWE-119Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Complete · Complete · Complete
- 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 get_contents function in nss_files/files-XXX.c in the Name Service Switch (NSS) in GNU C Library (aka glibc or libc6) before 2.20 might allow local users to cause a denial of service (heap corruption) or gain privileges via a long line in the NSS files database.
Why it matters now
EPSS 0.00588 48th percentileScored 2026-11-07
Fix Fixed Red Hat: 2 advisories
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 · 8
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:* | up to 2.19 | Vulnerable | GNU |
| 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:15.10:*:*:*:*:*:*:* | 15.10 | Vulnerable | Canonical |
- cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:* Versions up to 2.19 Vulnerable ·GNU
- 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:15.10:*:*:*:*:*:*:* Versions 15.10 Vulnerable ·Canonical
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:2172 Released 2015-11-19 · Red Hat rating Importantglibc security update
- Red Hat Enterprise Linux Client (v. 7) glibc-2.17-106.el7_2.1, glibc-common-2.17-106.el7_2.1, glibc-devel-2.17-106.el7_2.1 +3
- Red Hat Enterprise Linux Client Optional (v. 7) glibc-static-2.17-106.el7_2.1
- Red Hat Enterprise Linux ComputeNode (v. 7) glibc-2.17-106.el7_2.1, glibc-common-2.17-106.el7_2.1, glibc-devel-2.17-106.el7_2.1 +3
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) glibc-static-2.17-106.el7_2.1
- Red Hat Enterprise Linux Server (v. 7) glibc-2.17-106.el7_2.1, glibc-2.17-106.el7_2.1.ppc, glibc-common-2.17-106.el7_2.1 +5
- Red Hat Enterprise Linux Server Optional (v. 7) glibc-static-2.17-106.el7_2.1, glibc-static-2.17-106.el7_2.1.ppc
- Red Hat Enterprise Linux Workstation (v. 7) glibc-2.17-106.el7_2.1, glibc-common-2.17-106.el7_2.1, glibc-devel-2.17-106.el7_2.1 +3
- Red Hat Enterprise Linux Workstation Optional (v. 7) glibc-static-2.17-106.el7_2.1
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2015:2172 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2015:2172 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2015:2172 |
| Red Hat Enterprise Linux ComputeNode EUS (v. 7.1) | Fixed | RHSA-2015:2589 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2015:2172 |
| Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.1) | Fixed | RHSA-2015:2589 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2015:2172 |
| Red Hat Enterprise Linux Server EUS (v. 7.1) | Fixed | RHSA-2015:2589 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2015:2172 |
| Red Hat Enterprise Linux Server Optional EUS (v. 7.1) | Fixed | RHSA-2015:2589 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2015:2172 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2015:2172 |
Not affected: 2 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Timeline
- 2026-10-02 Threatist record created from CVE-2015-5277
- 2026-10-03 Alias added: GHSA-hjm6-jvmc-534p
References
Other 7
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- [libc-alpha] 20140909 The GNU C Library version 2.20 is now available
- https://sourceware.org/bugzilla/show_bug.cgi?id=17079
- https://bugzilla.redhat.com/show_bug.cgi?id=1262914
- 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-5277 · CVE Program
- CVE-2015-5277 · NVD
- FIRST EPSS
- GHSA-hjm6-jvmc-534p · GitHub Advisory Database · CC BY 4.0
- CVE-2015-5277 · 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