about summary refs log tree commit diff
path: root/advisories/GLIBC-SA-2023-0001
blob: 12b4f8edb8705c665f399e5b6ff42f2a92bce303 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
printf: incorrect output for integers with thousands separator and width field

When the printf family of functions is called with a format specifier
that uses an <apostrophe> (enable grouping) and a minimum width
specifier, the resulting output could be larger than reasonably expected
by a caller that computed a tight bound on the buffer size.  The
resulting larger than expected output could result in a buffer overflow
in the printf family of functions.

CVE-Id: CVE-2023-25139
Public-Date: 2023-02-02
Vulnerable-Commit: e88b9f0e5cc50cab57a299dc7efe1a4eb385161d (2.37)
Fix-Commit: c980549cc6a1c03c23cc2fe3e7b0fe626a0364b0 (2.38)
Fix-Backport: 07b9521fc6369d000216b96562ff7c0ed32a16c4 (2.37)