All vulnerabilities

Servers and applications

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.

Severity
High 7.8
Published
31 Jan 2018
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Exploit chance
13% in the next 30 daysHigher than 96% of CVEs. EPSS by FIRST, 11 Nov 2026
Weakness
Out-of-bounds write (CWE-787)
Attack
Needs local access · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Sources
NVD

Affected software

SoftwareAffected versions
GNU C LibraryServers and applications · cpe:a:gnu:glibc
  • Every version up to 2.26

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2018-1000001
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2018-1000001