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.
Metrics
CVSS 3.0 7.8/10
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://seclists.org/oss-sec/2018/q1/38Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/102525Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1040162Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:0805Third Party Advisory
- https://security.netapp.com/advisory/ntap-20190404-0003/
- https://usn.ubuntu.com/3534-1/Third Party Advisory
- https://usn.ubuntu.com/3536-1/Third Party Advisory
- https://www.exploit-db.com/exploits/43775/Exploit, Third Party Advisory, VDB Entry
- https://www.exploit-db.com/exploits/44889/Exploit, Third Party Advisory, VDB Entry
- https://www.halfdog.net/Security/2017/LibcRealpathBufferUnderflow/Third Party Advisory
- http://seclists.org/oss-sec/2018/q1/38Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/102525Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1040162Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:0805Third Party Advisory
- https://security.netapp.com/advisory/ntap-20190404-0003/
- https://usn.ubuntu.com/3534-1/Third Party Advisory
- https://usn.ubuntu.com/3536-1/Third Party Advisory
- https://www.exploit-db.com/exploits/43775/Exploit, Third Party Advisory, VDB Entry
- https://www.exploit-db.com/exploits/44889/Exploit, Third Party Advisory, VDB Entry
- https://www.halfdog.net/Security/2017/LibcRealpathBufferUnderflow/Third Party Advisory
Timeline
- Published
- Jan 31, 2018
- Last modified
- Jun 17, 2026
- NVD status
- Modified