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/git/gitweb.cgi?p=glibc.git;h=34697694e8a93b325b18f25f7dcded55d6baeaf6 | Patch |
https://sourceware.org/bugzilla/show_bug.cgi?id=22375 | Exploit Issue Tracking |
Configurations
Information
Published : 2017-12-05 09:29
Updated : 2017-12-15 07:06
NVD link : CVE-2017-17426
Mitre link : CVE-2017-17426
JSON object : View
CWE
CWE-190
Integer Overflow or Wraparound
Products Affected
gnu
- glibc