Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2018-1000001

published

glibc: realpath() buffer underflow when getcwd() returns relative path allows privilege escalation

Title from Red Hat VEX

Published
31 Jan 2018, 14:00:00 UTC
Updated
05 Aug 2024, 12:33:48 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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 / vendorReleasePackage / productPublisher statusFixed buildSource
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.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

18

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.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

10
  • [oss-security] 20180111 Libc Realpath Buffer Underflow CVE-2018-1000001 http://seclists.org/oss-sec/2018/q1/38 mailing-list, x_refsource_MLIST, x_transferred Contributors: mitre (cna), CVE (adp)
  • 102525 http://www.securityfocus.com/bid/102525 vdb-entry, x_refsource_BID, x_transferred Contributors: mitre (cna), CVE (adp)
  • 1040162 http://www.securitytracker.com/id/1040162 vdb-entry, x_refsource_SECTRACK, x_transferred Contributors: mitre (cna), CVE (adp)
  • RHSA-2018:0805 https://access.redhat.com/errata/RHSA-2018:0805 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: mitre (cna), CVE (adp)
  • https://security.netapp.com/advisory/ntap-20190404-0003/ x_refsource_CONFIRM, x_transferred Contributors: mitre (cna), CVE (adp)
  • USN-3534-1 https://usn.ubuntu.com/3534-1/ vendor-advisory, x_refsource_UBUNTU, x_transferred Contributors: mitre (cna), CVE (adp)
  • USN-3536-1 https://usn.ubuntu.com/3536-1/ vendor-advisory, x_refsource_UBUNTU, x_transferred Contributors: mitre (cna), CVE (adp)
  • 43775 https://www.exploit-db.com/exploits/43775/ exploit, x_refsource_EXPLOIT-DB, x_transferred Contributors: mitre (cna), CVE (adp)
  • 44889 https://www.exploit-db.com/exploits/44889/ exploit, x_refsource_EXPLOIT-DB, x_transferred Contributors: mitre (cna), CVE (adp)
  • https://www.halfdog.net/Security/2017/LibcRealpathBufferUnderflow/ x_refsource_MISC, x_transferred Contributors: mitre (cna), CVE (adp)

Provider assertions

2

mitre · 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

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected