Vulnerability record · CVE-2020-29573 · published 6 December 2020
CVE-2020-29573: Gnu glibc out-of-bounds write vulnerability
Gnu · Glibc
sysdeps/i386/ldbl2mpn.c in the GNU C Library (aka glibc or libc6) before 2.23 on x86 targets has a stack-based buffer overflow if the input to any of the printf family of functions is an 80-bit long double with a non-canonical bit pattern, as seen when passing a \x00\x04\x00\x00\x00\x00\x00\x00\x00\x04 value to sprintf. NOTE: the issue does not affect glibc by default in 2016 or later (i.e., 2.23 or later) because of commits made in 2015 for inlining of C99 math functions through use of GCC built-ins. In other words, the reference to 2.23 is intentional despite the mention of "Fixed for glibc 2.33" in the 26649 reference.
Description
sysdeps/i386/ldbl2mpn.c in the GNU C Library (aka glibc or libc6) before 2.23 on x86 targets has a stack-based buffer overflow if the input to any of the printf family of functions is an 80-bit long double with a non-canonical bit pattern, as seen when passing a \x00\x04\x00\x00\x00\x00\x00\x00\x00\x04 value to sprintf. NOTE: the issue does not affect glibc by default in 2016 or later (i.e., 2.23 or later) because of commits made in 2015 for inlining of C99 math functions through use of GCC built-ins. In other words, the reference to 2.23 is intentional despite the mention of "Fixed for glibc 2.33" in the 26649 reference.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
4 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://security.gentoo.org/glsa/202101-20 | Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20210122-0004/ | Third Party Advisory |
| https://sourceware.org/bugzilla/show_bug.cgi?id=26649 | Issue TrackingPatchThird Party Advisory |
| https://sourceware.org/pipermail/libc-alpha/2020-September/117779.html | PatchThird Party Advisory |
| https://security.gentoo.org/glsa/202101-20 | Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20210122-0004/ | Third Party Advisory |
| https://sourceware.org/bugzilla/show_bug.cgi?id=26649 | Issue TrackingPatchThird Party Advisory |
| https://sourceware.org/pipermail/libc-alpha/2020-September/117779.html | PatchThird Party Advisory |
| https://cert-portal.siemens.com/productcert/html/ssa-398330.html |
Track CVE-2020-29573 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2020-29573), CISA KEV, FIRST EPSS (scores of 2026-11-16). This page is refreshed as NVD updates the record.