Integer overflow in GNU C Library (glibc) - CVE-2017-17426

 

Integer overflow in GNU C Library (glibc) - CVE-2017-17426

Published: December 5, 2017 / Updated: August 8, 2020


Vulnerability identifier: #VU37856
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-17426
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

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.


Affected software

GNU C Library (glibc)
Fedora
glibc

How to mitigate CVE-2017-17426

Install update from vendor's website.

glibc - update to 2.26-20.fc27

External References

Related Security Bulletins