Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker supplies crafted wide-character input
-
DeliveryApp parses it with wide scanf %s/%[ into char array
-
ExploitMultibyte conversion exactly fills destination buffer
-
Executionglibc writes extra null byte one past the end
-
ImpactAdjacent data corrupted or process crashes
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Off-by-one prevention
|
| Exploitation Conditions | Exploitation requires an application to call one of the wide scanf functions (swscanf, fwscanf, wscanf, vswscanf, vfwscanf, vwscanf) with a %s or %[ conversion WITHOUT the 'l' length modifier, storing the result into a narrow char array, and for that array to be sized exactly for the converted multibyte string plus its single terminator as the C standard requires. The attacker must supply input whose converted multibyte length exactly fills the destination so that glibc's extra appended null byte lands one past the end. Strong limiting factors: the vendor states this wide-into-narrow pattern is uncommon in real code; the %ls/%l[ conversions into wchar_t arrays, the narrow scanf functions, and the 'a'/'m' allocation modifiers are all unaffected; the overflow is only a single null byte (bounding impact to corruption/crash, not controlled writes); and the application must be linked against glibc 2.2-2.44. |
| Impact | This is a genuine but low-to-moderate severity memory-safety defect, not a high-priority emergency. The provided CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L, base 4.8 MEDIUM) is internally consistent with the description: the attacker-supplied input reaches the function remotely (AV:N), no privileges are needed (PR:N), but a specific exact-fill condition must be met (AC:H), and the only impact is a single out-of-bounds null byte causing data corruption (I:L) or a crash (A:L) with no confidentiality loss (C:N). The intelligence signals align on LOW urgency: not listed in CISA KEV (no confirmed active exploitation), no EPSS score supplied, and the vuln.today Decision label is 'this_month' rather than act_now or emergency. No public exploit code is identified - the two references are a Sourceware Bugzilla report and the vendor GLIBC advisory, neither of which is a working exploit. The one amplifying factor is the ubiquity of glibc, but this is strongly offset by the narrow trigger: the flaw only manifests in the uncommon pattern of storing a wide scanf %s/%[ conversion into a narrow char array, which the vendor itself calls uncommon. EPSS and KEV absence combined with a 'this_month' label is consistent with a real but non-widespread, low-exploitability issue. Net: schedule the glibc update on a normal patch cycle; this is not a drop-everything priority. |
| Exploit ScenarioDerived | An application built against glibc 2.2-2.44 parses attacker-controlled wide-character input using swscanf/fwscanf/wscanf (or the v* variants) with a %s or %[ conversion that writes into a fixed char array sized exactly per the C standard. The attacker crafts input whose multibyte conversion exactly fills that array, causing glibc to append a second terminating null byte one position past the end, corrupting adjacent memory or crashing the process. No public exploit code is identified at time of analysis; realistic impact is a denial of service or localized data corruption rather than reliable code execution. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 11, 2026
An off-by-one null-byte write in the GNU C Library's wide scanf family can corrupt adjacent memory or terminate a process when an application parses attacker-supplied input through swscanf, fwscanf, wscanf, vswscanf, vfwscanf or vwscanf with a %s or %[ conversion that lacks the 'l' modifier and writes into an exactly sized narrow char array. The issue affects glibc 2.2 through 2.44 across all supported architectures and ABIs, but exploitation depends on an uncommon wide-input-to-narrow-buffer call pattern and an exact converted-length fit, leaving impact at integrity and availability only under the assessed CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L vector. No public exploit identified at time of analysis.
RemediationAI
The supplied data does not list an exact fixed version, so the primary fix is to apply the vendor resolution documented in GLIBC-SA-2026-0027 and sourceware bug 34989 and deploy a glibc release that contains it; confirm the fixed version in that advisory before rollout. Until then, avoid the vulnerable pattern by reviewing code for calls to swscanf, fwscanf, wscanf, vswscanf, vfwscanf or vwscanf that use %s or %[ without the 'l' modifier and write into narrow char arrays, and replace them with narrow scanf functions or %ls/%l[ conversions into wchar_t buffers, which the vendor states are unaffected. This is a source-level workaround requiring recompilation of affected applications, and it leaves any unreviewed call sites exposed; the vendor notes the wide-into-narrow pattern is uncommon, so an audit can be targeted. No vendor-released patch version is specified in the provided data.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The GNU C Library implements the wide-character scanf variants swscanf, fwscanf, wscanf, vswscanf, vfwscanf and vwscanf; when these use a %s or %[ conversion without the 'l' length modifier, each wide input character is converted and stored into the caller's narrow char array as a multibyte sequence. After storing the sequence that returns to the initial shift state and its terminating null byte, glibc appends a second null byte, producing a CWE-193 off-by-one write when the converted multibyte string plus its single required terminator exactly fill the destination. The CPE cpe:2.3:a:the_gnu_c_library:glibc:*:*:*:*:*:*:*:* identifies the affected product, while the version range 2.2 through 2.44 and the all-architecture/all-ABI scope come from the supplied description. Narrow scanf functions, %ls and %l[ conversions into wchar_t arrays, and the 'a' and 'm' allocation modifiers are not affected; the assessed AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L vector is consistent with the exact-length and uncommon-call-pattern prerequisites, and the overflow is limited to a single null byte rather than a controlled write.
Know when Glibc gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
Attacker-supplied input reaches the parser remotely with no privileges (AV:N/PR:N), but the destination must be exactly sized and filled and the uncommon code pattern used (AC:H); impact is a single null byte so I:L/A:L, C:N.
Primary rating from Vendor (glibc).
CVSS VectorVendor: glibc
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Local privilege escalation in the GNU C Library (glibc) dynamic loader ld.so allows unprivileged local users on affected
Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and other 2.x versions before 2.18,
The iconv() function in the GNU C Library versions 2.39 and older may overflow the output buffer passed to it by up to 4
Multiple stack-based buffer overflows in the (1) send_dg and (2) send_vc functions in the libresolv library in the GNU C
Local privilege escalation in GNU glibc 2.36 and newer arises from a heap-based buffer overflow in __vsyslog_internal, r
Off-by-one error in the __gconv_translit_find function in gconv_trans.c in GNU C Library (aka glibc) allows context-depe
Integer overflow in string/strcoll_l.c in the GNU C Library (aka glibc or libc6) 2.17 and earlier allows context-depende
In glibc 2.26 and earlier there is confusion in the usage of getcwd() by realpath() which can be used to write before th
In the GNU C Library (aka glibc or libc6) through 2.29, proceed_next_node in posix/regexec.c has a heap-based buffer ove
GNU Libc current is affected by: Mitigation bypass. Rated critical severity (CVSS 9.8), this vulnerability is remotely e
The mq_notify function in the GNU C Library (aka glibc) versions 2.32 and 2.33 has a use-after-free. Rated critical seve
sprintf in the GNU C Library (glibc) 2.37 has a buffer overflow (out-of-bounds write) in some situations with a correct
EUVD-2026-123550
GHSA-rm44-gpwr-xh4q
NVD
CVE.org
EPSS
Exploit-DB