| 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, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| glibc (PTS) | bullseye | 2.31-13+deb11u11 | fixed |
| bullseye (security) | 2.31-13+deb11u13 | fixed | |
| bookworm | 2.36-9+deb12u13 | fixed | |
| bookworm (security) | 2.36-9+deb12u7 | fixed | |
| forky, sid, trixie | 2.41-12 | 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) |
- 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).