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.
02 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.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 13.36% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 96.2% of scored records. A rank, not a probability.
- NVD base score
- 7.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2018-01-31 14:00Z8 YR AGO
- Last updated
- 2024-08-05 12:33Z2 YR AGO
- Reserved
- 2018-01-16
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- Data version
- 5.1
- Document digest
- ad42afed292f7b1048cc03ce2a93ba3fb4b30703583c38b36f23c64f3604165f
05 Affected products
06 References
- seclists.org[oss-security] 20180111 Libc Realpath Buffer Underflow CVE-2018-1000001http://seclists.org/oss-sec/2018/q1/38
- usn.ubuntu.comUSN-3534-1https://usn.ubuntu.com/3534-1/
- www.halfdog.nethttps://www.halfdog.net/Security/2017/LibcRealpathBufferUnderflow/
- www.securityfocus.com102525http://www.securityfocus.com/bid/102525
- www.exploit-db.com44889https://www.exploit-db.com/exploits/44889/
- www.exploit-db.com43775https://www.exploit-db.com/exploits/43775/
- usn.ubuntu.comUSN-3536-1https://usn.ubuntu.com/3536-1/
- access.redhat.comRHSA-2018:0805https://access.redhat.com/errata/RHSA-2018:0805
- www.securitytracker.com1040162http://www.securitytracker.com/id/1040162
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20190404-0003/
07 Fixed in
Arch Linux
- glibc Fixed in 2.26-11
- lib32-glibc Fixed in 2.26-11
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Debian 12
- glibc Fixed in 2.26-4
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- glibc Fixed in 2.26-4
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- glibc Fixed in 2.26-4
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 14.04 LTS
- eglibc Fixed in 2.19-0ubuntu6.14
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- glibc Fixed in 2.23-0ubuntu10
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- musl Fixed in 0.9.15-1ubuntu0.1~esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- musl Fixed in 1.1.9-1ubuntu0.1~esm2Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.