CVE-2018-1000001

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.

Severity
HIGH
CVSS v3
7.8
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
13.368%
chance of exploitation in the next 30 days
higher than 96.5% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 1
Nuclei templates: 0
Exploit-DB: 2

Weakness

Timeline

  1. 2018-01-16First Exploit-DB entry (EDB-ID 43775)15 days before publication
  2. 2018-01-31Published by the CNA14:00 UTC

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Exploit-DBTypePlatformPublishedEDB-verified
EDB-ID 44889locallinux2018-06-13yes
EDB-ID 43775locallinux2018-01-16yes

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
gnu glibcthrough 2.26no fix listednot listed
canonical ubuntu_linux12.04no fix listed14.04no fix listed16.04no fix listed17.10no fix listednot listednot listednot listednot listed
redhat enterprise_linux_desktop7.0no fix listednot listed
redhat enterprise_linux_server7.0no fix listednot listed
redhat enterprise_linux_server_aus7.6no fix listednot listed
redhat enterprise_linux_server_eus7.6no fix listednot listed
redhat enterprise_linux_server_tus7.6no fix listednot listed
redhat enterprise_linux_workstation7.0no fix listednot listed
redhat virtualization_host4.0no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources