CVE-2018-1000001
publishedglibc: realpath() buffer underflow when getcwd() returns relative path allows privilege escalation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Oracle Linux | 7 | glibcx86_64 | Advisory build | 0:2.17-222.el7 | ELSA-2018-0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibcaarch64 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| SUSE / openSUSE | SLE-11-SP3 | glibci586 | Advisory build | 2.11.3-17.110.3.1 | SUSE-SU-2018:0075-1 |
| Oracle Linux | 7 | glibc-commonx86_64 | Advisory build | 0:2.17-222.el7 | ELSA-2018-0805 |
| Oracle Linux | 7 | glibc-develx86_64 | Advisory build | 0:2.17-222.el7 | ELSA-2018-0805 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 7 | glibc-headersx86_64 | Advisory build | 0:2.17-222.el7 | ELSA-2018-0805 |
| Oracle Linux | 7 | glibc-staticx86_64 | Advisory build | 0:2.17-222.el7 | ELSA-2018-0805 |
| Oracle Linux | 7 | glibc-utilsx86_64 | Advisory build | 0:2.17-222.el7 | ELSA-2018-0805 |
| Oracle Linux | 7 | nscdx86_64 | Advisory build | 0:2.17-222.el7 | ELSA-2018-0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibci686 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibcppc | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibcppc64 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibcppc64le | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibcs390 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibcs390x | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibcsrc | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibcx86_64 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-commonaarch64 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-commonppc64 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-commonppc64le | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-commons390x | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-commonx86_64 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-debuginfoaarch64 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-debuginfoi686 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-debuginfoppc | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-debuginfoppc64 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-debuginfoppc64le | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-debuginfos390 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-debuginfos390x | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-debuginfox86_64 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-debuginfo-commoni686 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-debuginfo-commonppc | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-debuginfo-commonppc64 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-debuginfo-commonppc64le | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-debuginfo-commons390 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-debuginfo-commons390x | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-debuginfo-commonx86_64 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-develaarch64 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-develi686 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-develppc | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-develppc64 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-develppc64le | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-devels390 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-devels390x | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-develx86_64 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-headersaarch64 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-headersppc64 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-headersppc64le | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-headerss390x | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-headersx86_64 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-staticaarch64 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-statici686 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-staticppc | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-staticppc64 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-staticppc64le | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-statics390 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-statics390x | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-staticx86_64 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-utilsaarch64 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-utilsppc64 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-utilsppc64le | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-utilss390x | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | glibc-utilsx86_64 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | nscdaarch64 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | nscdppc64 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | nscdppc64le | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | nscds390x | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| Red Hat Enterprise Linux | RHEL-7 | nscdx86_64 | Advisory build | 2.17-222.el7 | RHSA-2018:0805 |
| SUSE / openSUSE | SLE-11-SP3 | glibci586 | Advisory build | 2.11.3-17.110.6.2 | SUSE-SU-2018:0565-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibci686 | Advisory build | 2.11.3-17.110.3.1 | SUSE-SU-2018:0075-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibci686 | Advisory build | 2.11.3-17.110.6.2 | SUSE-SU-2018:0565-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibcs390x | Advisory build | 2.11.3-17.110.3.1 | SUSE-SU-2018:0075-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibcs390x | Advisory build | 2.11.3-17.110.6.2 | SUSE-SU-2018:0565-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibcx86_64 | Advisory build | 2.11.3-17.110.3.1 | SUSE-SU-2018:0075-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibcx86_64 | Advisory build | 2.11.3-17.110.6.2 | SUSE-SU-2018:0565-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibc-32bits390x | Advisory build | 2.11.3-17.110.3.1 | SUSE-SU-2018:0075-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibc-32bits390x | Advisory build | 2.11.3-17.110.6.2 | SUSE-SU-2018:0565-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibc-32bitx86_64 | Advisory build | 2.11.3-17.110.3.1 | SUSE-SU-2018:0075-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibc-32bitx86_64 | Advisory build | 2.11.3-17.110.6.2 | SUSE-SU-2018:0565-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibc-develi586 | Advisory build | 2.11.3-17.110.3.1 | SUSE-SU-2018:0075-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibc-develi586 | Advisory build | 2.11.3-17.110.6.2 | SUSE-SU-2018:0565-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibc-develi686 | Advisory build | 2.11.3-17.110.3.1 | SUSE-SU-2018:0075-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibc-develi686 | Advisory build | 2.11.3-17.110.6.2 | SUSE-SU-2018:0565-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibc-devels390x | Advisory build | 2.11.3-17.110.3.1 | SUSE-SU-2018:0075-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibc-devels390x | Advisory build | 2.11.3-17.110.6.2 | SUSE-SU-2018:0565-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibc-develx86_64 | Advisory build | 2.11.3-17.110.3.1 | SUSE-SU-2018:0075-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibc-develx86_64 | Advisory build | 2.11.3-17.110.6.2 | SUSE-SU-2018:0565-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibc-devel-32bits390x | Advisory build | 2.11.3-17.110.3.1 | SUSE-SU-2018:0075-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibc-devel-32bits390x | Advisory build | 2.11.3-17.110.6.2 | SUSE-SU-2018:0565-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibc-devel-32bitx86_64 | Advisory build | 2.11.3-17.110.3.1 | SUSE-SU-2018:0075-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibc-devel-32bitx86_64 | Advisory build | 2.11.3-17.110.6.2 | SUSE-SU-2018:0565-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibc-htmli586 | Advisory build | 2.11.3-17.110.3.1 | SUSE-SU-2018:0075-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibc-htmli586 | Advisory build | 2.11.3-17.110.6.2 | SUSE-SU-2018:0565-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibc-htmls390x | Advisory build | 2.11.3-17.110.3.1 | SUSE-SU-2018:0075-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibc-htmls390x | Advisory build | 2.11.3-17.110.6.2 | SUSE-SU-2018:0565-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibc-htmlx86_64 | Advisory build | 2.11.3-17.110.3.1 | SUSE-SU-2018:0075-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibc-htmlx86_64 | Advisory build | 2.11.3-17.110.6.2 | SUSE-SU-2018:0565-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibc-i18ndatai586 | Advisory build | 2.11.3-17.110.3.1 | SUSE-SU-2018:0075-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibc-i18ndatai586 | Advisory build | 2.11.3-17.110.6.2 | SUSE-SU-2018:0565-1 |
| SUSE / openSUSE | SLE-11-SP3 | glibc-i18ndatas390x | Advisory build | 2.11.3-17.110.3.1 | SUSE-SU-2018:0075-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In glibc 2.26 and earlier there is confusion in the usage of getcwd() by realpath() which can be used to write before the destination buffer leading to a buffer underflow and potential code execution.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
10- [oss-security] 20180111 Libc Realpath Buffer Underflow CVE-2018-1000001 http://seclists.org/oss-sec/2018/q1/38
- 102525 http://www.securityfocus.com/bid/102525
- 1040162 http://www.securitytracker.com/id/1040162
- RHSA-2018:0805 https://access.redhat.com/errata/RHSA-2018:0805
- https://security.netapp.com/advisory/ntap-20190404-0003/
- USN-3534-1 https://usn.ubuntu.com/3534-1/
- USN-3536-1 https://usn.ubuntu.com/3536-1/
- 43775 https://www.exploit-db.com/exploits/43775/
- 44889 https://www.exploit-db.com/exploits/44889/
- https://www.halfdog.net/Security/2017/LibcRealpathBufferUnderflow/
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f4882678389b900bef3f1e88bcf24070949ec271cd7dd4e6e711927de3c8a032
- Ingested
- 23 Sep 2026, 07:43:16 UTC
- Source record
- Official CVE record