cve.bz

CVE-2026-115819 One-byte buffer overflow in wide scanf %s and %[ conversions

4.8 mediumEPSS 0.3%

Medium (4.8) in the gnu c library glibc. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

4.8 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
EPSS
0.3% estimated probability of exploitation activity in the next 30 days; 18th percentile. Scored 2026-11-13. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-193 Off-by-one Error
Published
Modified
Assigned by
glibc (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-115819 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-115819?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-115819?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-115819 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-115819

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-115819](https://cve.bz/cve/badge/CVE-2026-115819.svg)](https://cve.bz/cve/CVE-2026-115819)

HTML:

<a href="https://cve.bz/cve/CVE-2026-115819"><img src="https://cve.bz/cve/badge/CVE-2026-115819.svg" alt="CVE-2026-115819"></a>

Affected

  • the gnu c library:glibc

Versions

From the CNA's record in the CVE List.

ProductAffected
The GNU C Library glibcfrom 2.2 through 2.44

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14glibcno fix listedDEBIAN-CVE-2026-115819
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTS and 4 moreglibcno fix listedUBUNTU-CVE-2026-115819
UbuntuPro:14.04:LTSeglibcno fix listedUBUNTU-CVE-2026-115819
Azure Linux3glibcno fix listedAZL-113348

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

References

Check your stackJSON