Name | CVE-2017-17426 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
glibc (PTS) | jessie, jessie (lts) | 2.19-18+deb8u14 | fixed |
| stretch (security) | 2.24-11+deb9u1 | fixed |
| stretch (lts), stretch | 2.24-11+deb9u7 | fixed |
| buster (security), buster, buster (lts) | 2.28-10+deb10u4 | fixed |
| bullseye | 2.31-13+deb11u11 | fixed |
| bullseye (security) | 2.31-13+deb11u10 | fixed |
| bookworm | 2.36-9+deb12u9 | fixed |
| bookworm (security) | 2.36-9+deb12u7 | fixed |
| sid, trixie | 2.40-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
eglibc | source | (unstable) | (not affected) | | | |
glibc | source | (unstable) | (not affected) | | | |
Notes
- glibc <not-affected> (Issue introduced in glibc-2.26 with addition of per-thread cache to malloc)
- eglibc <not-affected> (Issue introduced in glibc-2.26 with addition of per-thread cache to malloc)
https://sourceware.org/bugzilla/show_bug.cgi?id=22375
Introduced by: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d5c3fafc4307c9b7a4c7d5cb381fcdbfad340bcc
Fixed by: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=34697694e8a93b325b18f25f7dcded55d6baeaf6
The upload of 2.26-0experimental2 to experimental fixed the issue (cf. #883729).