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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2020-12-05T23:18:58

Updated: 2024-08-04T16:55:10.367Z

Reserved: 2020-12-05T00:00:00

Link: CVE-2020-29573

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2020-12-06T00:15:11.567

Modified: 2023-04-26T19:09:21.570

Link: CVE-2020-29573

cve-icon Redhat

Severity : Moderate

Publid Date: 2020-09-22T00:00:00Z

Links: CVE-2020-29573 - Bugzilla