SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2018-1000001

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.

EXPLOIT ×2 ✓HIGH 7.8EPSS 13.4%

Does this matter?

EPSS puts the probability of exploitation in the next 30 days at 13.4%, higher than 96% of all known CVEs. Patch or mitigate before the next change window.

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 3.0
7.8 HIGHCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
13.37% probability · 96th percentile
Public exploits
2 in Exploit-DB · verified · first 16 January 2018
CISA KEV
Not listed
Weakness
CWE-787
Affected
gnu/glibc · canonical/ubuntu linux · redhat/virtualization host · redhat/enterprise linux desktop · redhat/enterprise linux server · redhat/enterprise linux server aus · redhat/enterprise linux server eus · redhat/enterprise linux server tus · redhat/enterprise linux workstation
Source
cve@mitre.org
EPSS trend
0%15%30%21 September 2026: 28.40%22 September 2026: 13.37%27 October 2026: 13.37%21 September 202627 October 2026

EPSS moved from 28.4% on 21 September 2026 to 13.4% on 27 October 2026. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”.

Public exploits (2)

Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.

EDB-IDTitleTypePublishedVerified
EDB-44889source ↗glibc - 'realpath()' Privilege Escalation (Metasploit)linux · Metasploitlocal13 June 2018yes
EDB-43775source ↗glibc < 2.26 - 'getcwd()' Local Privilege Escalationlinux · halfdoglocal16 January 2018yes

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.