CVE-2018-1000001: canonical ubuntu_linux Out-of-bounds Write
Vulnerability summary
CVE-2018-1000001 is a high (CVSS 7.8) Out-of-bounds Write vulnerability in canonical ubuntu_linux. EPSS estimates a 13.37% chance of exploitation in the next 30 days, higher than 96.4% of scored vulnerabilities. 3 public exploits are recorded.
Weaponized exploit (exploit-database, 13-06-2018)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 11 · Related 8Timeline
- 31-01-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
13.37%
Chance of exploitation in the next 30 days
Percentile
96%
Versus all other CVEs
30-day change
No change 0.00 pp
From 13.37% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
3 foundglibc - 'realpath()' Privilege Escalation (Metasploit)
Maturity: weaponized
glibc < 2.26 - 'getcwd()' Local Privilege Escalation
Maturity: weaponized
glibc 'realpath()' Privilege Escalation
exploit/linux/local/glibc_realpath_priv_esc
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Suse9 products
- glibc&distro=SUSE Linux Enterprise Point of Sale 11 SP3< 2.11.3-17.110.3.1
- glibc&distro=SUSE Linux Enterprise Server 11 SP3-LTSS< 2.11.3-17.110.3.1
- glibc&distro=SUSE Linux Enterprise Server 11 SP3-TERADATA< 2.11.3-17.110.3.1
- glibc&distro=SUSE Linux Enterprise Server 11 SP4< 2.11.3-17.110.3.1
- glibc&distro=SUSE Linux Enterprise Server 12 SP1-LTSS< 2.19-40.9.5
Redhat7 products
- enterprise_linux_desktop7.0
- enterprise_linux_server7.0
- enterprise_linux_server_aus7.6
- enterprise_linux_server_eus7.6
- enterprise_linux_server_tus7.6
Ubuntu3 products
- eglibc< 2.19-0ubuntu6.14
- glibc< 2.23-0ubuntu10
- musl< 0.9.15-1ubuntu0.1~esm1 | < 1.1.9-1ubuntu0.1~esm2
Canonical1 product
- ubuntu_linuxEOL12.04 | 14.04 | 16.04 | 17.10
Debian1 product
- glibc< 2.26-4
Gnu1 product
- glibc≤ 2.26
6 vendors · 22 products
References
23 links- www.halfdog.net/Security/2017/LibcRealpathBufferUnderflow/X Refsource MISCThird Party AdvisoryREPORT
- security.netapp.com/advisory/ntap-20190404-0003/X Refsource CONFIRM