The malloc function in the GNU C Library (aka glibc or libc6) 2.26 could return a memory block that is too small if an attempt is made to allocate an object whose size is close to SIZE_MAX, potentially leading to a subsequent heap overflow. This occurs because the per-thread cache (aka tcache) feature enables a code path that lacks an integer overflow check.
References
Link | Resource |
---|---|
https://sourceware.org/bugzilla/show_bug.cgi?id=22375 | Exploit Issue Tracking |
https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=34697694e8a93b325b18f25f7dcded55d6baeaf6 |
Configurations
History
No history.
Information
Published : 2017-12-05 17:29
Updated : 2023-11-07 02:41
NVD link : CVE-2017-17426
Mitre link : CVE-2017-17426
CVE.ORG link : CVE-2017-17426
JSON object : View
Products Affected
gnu
- glibc
CWE
CWE-190
Integer Overflow or Wraparound