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
Configurations
History
No history.
Information
Published : 2017-12-05 17:29
Updated : 2025-04-20 01:37
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