Package: glibc
Version: .43-7
X-Debbugs-CC: te…@security.debian.org
Severity: important
Tags: security upstream
Hi,
The following vulnerability was published for glibc.
CVE-2026-115819[0]:
| Calling the wide scanf family of functions (swscanf, fwscanf,
| wscanf, vswscanf, vfwscanf and vwscanf) with a %s or %[ conversion
| without the 'l' length modifier in the GNU C Library version 2.2 to
| version 2.44 writes an extra null byte one past the end of the
| destination array when the converted multibyte string and its
| terminating null byte exactly fill that array. These conversions
| store each wide input character into the caller's char array as a
| multibyte sequence. The conversion ends with the sequence that
| returns to the initial shift state, which also stores the
| terminating null byte, and the functions then append a second null
| byte. A destination sized for the converted string and one
| terminator, as the C standard requires the caller to provide, is
| therefore written one byte past its end. The out-of-bounds byte is
| always a null byte, which may corrupt adjacent data or crash the
| process. An attacker who supplies the input can trigger the
| overflow with a string whose converted length exactly fills the
| destination. The narrow scanf functions, the %ls and %l[
| conversions into a wchar_t array, and the 'a' and 'm' allocation
| modifiers are not affected, and storing a wide scanf conversion into
| a narrow char array is uncommon. This issue affects all
| architectures and ABIs supported by the GNU C Library.
If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.
For further information see:
[0] https://security-tracker.debian.org/tracker/CVE-2026-115819
https://www.cve.org/CVERecord?id=CVE-2026-115819
[1] https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=advisories/GLIBC-SA-2026-0027
Please adjust the affected versions in the BTS as needed.
Regards,
Salvatore
Bug#1153886: glibc: CVE-2026-115819
- From
- Salvatore Bonaccorso <carn…@debian.org>
- Reply-To
- Salvatore Bonaccorso <carn…@debian.org>, 1153…@bugs.debian.org
- Sender
- robo…@news.nic.it
- Organization
- linux.* mail to news gateway
- Message-ID
- <NYRR…@gated-at.bofh.it>
- Date
- Newsgroups
- linux.debian.bugs.dist, linux.debian.maint.glibc
Moderated This group is moderated.