Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local shell access to dash
-
ExploitSupply crafted \u/\U escape to printf or echo %b
-
ImpactWrite 1-2 bytes past 4-byte reservation
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires local access to a host where dash is invoked. The attacker supplies a crafted Unicode \u or \U escape that decodes to a 5-6 byte UTF-8 token to the dash printf builtin or to echo %b - reachable non-interactively via 'dash -c' with the escape passed as a positional argument. Exploitation is limited to local users, produces only a bounded 1-2 byte out-of-bounds write with no demonstrated code-execution primitive, and the corruption stays within the caller's own dash process, so it confers no inherent privilege escalation. |
| Impact | This is a low-severity local memory-safety flaw, not a priority. The provided CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N) computes to roughly 3.3, and the listed 'CVSS Score: 4.0' appears to be a Red Hat CVSS 4.0 base score rather than a 3.1 score - both agree the real-world risk is minor. Attack vector is LOCAL (the attacker must already be able to run dash on the host), there is no confidentiality or availability impact, and the integrity impact is limited to a controlled 1-2 byte out-of-bounds write past a fixed reservation. There is no EPSS score, no CISA KEV listing, and no public exploit code referenced, so exploitation is theoretical. A 1-2 byte overflow is a genuine CWE-787 bug but the description shows no path to code execution or privilege escalation, and dash's printf typically runs at the caller's own privilege - so a local user overflowing memory in their own shell process gains little. Note the CPE lists only Red Hat Enterprise Linux 6, which is unusual since dash is a Debian-family shell and not RHEL 6's default /bin/sh; the affected component is dash itself, so scope should be read as the dash package wherever deployed, not RHEL 6 specifically. |
| Exploit ScenarioDerived | A local user on a system running dash executes 'dash -c' (or a printf/echo %b command) supplying a crafted multi-byte Unicode \u or \U escape that decodes to a 5-6 byte UTF-8 sequence, exceeding dash's 4-byte reservation and writing 1-2 bytes past it. No public exploit code is referenced, and the corruption is confined to the attacker's own dash process, offering no demonstrated privilege gain. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 29, 2026
An out-of-bounds write in the printf builtin of the dash shell allows a local user to corrupt one or two bytes past a four-byte reservation when a crafted Unicode \u or \U escape expanding to a five- or six-byte token is processed, including via 'dash -c' with the escape passed as a positional argument to printf or 'echo %b'. The flaw affects dash as shipped in Red Hat Enterprise Linux 6 (CPE cpe:2.3:a:red_hat:red_hat_enterprise_linux_6) and is rated CVSS 4.0 (AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N). No public exploit code was identified at time of analysis, and the bounded write stays within the caller's own shell process, so it provides no inherent privilege escalation.
RemediationAI
No vendor-released patch version is specified in the input data, so no fix version can be cited; Red Hat's advisory page (https://access.redhat.com/security/cve/CVE-2026-102474) and Bugzilla 2543004 are the authoritative sources to monitor for an updated dash package on RHEL 6, noting that RHEL 6 is past end of life and may not receive a fix. Until a patched build is available, the practical compensating controls are to avoid passing untrusted input containing \u or \U escapes to dash's printf builtin or to 'echo %b' - for example, sanitize or reject escape sequences in any script or service that invokes dash -c with user-controlled positional arguments, and use a shell whose escape handling is not affected (such as bash or a hardened interpreter) for that specific processing path. The trade-off is that switching shells can change script behavior and portability, and input filtering must be applied consistently because dash is often invoked indirectly as /bin/sh. Given the CVSS 4.0 score, the local-only attack vector, the absence of demonstrated privilege escalation, and the bounded 1-2 byte out-of-bounds write within the caller's own process, remediation can be prioritized accordingly; no network-level blocking or privilege restriction is indicated by the data.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
dash (Debian Almquist shell) is a small POSIX-compliant shell commonly used as /bin/sh where speed and low overhead matter; the vulnerability is in its built-in printf implementation and the related echo %b path, which expand backslash escapes such as \uXXXX and \UXXXXXXXX into UTF-8. According to the description, the code reserves four bytes of buffer space for the converted token, but a crafted escape can decode to a five- or six-byte sequence, so the copy overruns the reservation by one or two bytes. This is a classic CWE-787 out-of-bounds write: an insufficient size calculation (off-by-one class) in the escape-expansion logic. The attack surface is local and requires the user to feed the crafted escape to the builtin, e.g. through 'dash -c "printf ..."' with the escape supplied as a positional argument; no authentication is required per the CVSS vector (PR:N), but the write occurs inside the invoking user's own dash process. The supplied CPE data maps the affected product to Red Hat Enterprise Linux 6 only.
Know when Dash 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:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Any local user can trigger it with no special privileges or interaction (AV:L, PR:N, UI:N); the bounded 1-2 byte overwrite gives limited integrity impact with no confidentiality or availability effect.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A flaw was found in dash. The printf builtin reserves four bytes before converting a Unicode \u or \U escape, but the multi-byte token can need five or six bytes. A local user who can supply such an escape to dash printf or echo %b, including through dash -c and a positional argument, can write one or two bytes past that reservation.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Affected Products (CPE)CVE.org
Versions of the package dash-core-components before 2.13.0; versions of the package dash-core-components before 2.0.0; v
Local denial of service in the dash shell affects builds compiled without libc fnmatch, where the internal pmatch() matc
An issue was discovered in Decentralized Anonymous Payment System (DAPS) through 2019-08-26. Rated medium severity (CVSS
Same weakness CWE-787 – Out-of-bounds Write
View allSame technique Buffer Overflow
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Linux Enterprise Desktop 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP4 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP4 | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP5 | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE CaaS Platform 4.0 | Affected |
| SUSE Enterprise Storage 6 | Affected |
| SUSE Enterprise Storage 7 | Affected |
| SUSE Enterprise Storage 7.1 | Affected |
| SUSE Linux Enterprise Desktop 15 | Affected |
| SUSE Linux Enterprise Desktop 15 SP1 | Affected |
| SUSE Linux Enterprise Desktop 15 SP2 | Affected |
| SUSE Linux Enterprise Desktop 15 SP3 | Affected |
| SUSE Linux Enterprise Desktop 15 SP4 | Affected |
| SUSE Linux Enterprise Desktop 15 SP5 | Affected |
| SUSE Linux Enterprise Desktop 15 SP6 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15-LTSS | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP1 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP2 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP3 | Affected |
| SUSE Linux Enterprise Real Time 15 SP2 | Affected |
| SUSE Linux Enterprise Real Time 15 SP3 | Affected |
| SUSE Linux Enterprise Real Time 15 SP4 | Affected |
| SUSE Linux Enterprise Server 15 | Affected |
| SUSE Linux Enterprise Server 15 SP1 | Affected |
| SUSE Linux Enterprise Server 15 SP1-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP1-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP2 | Affected |
| SUSE Linux Enterprise Server 15 SP2-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP3 | Affected |
| SUSE Linux Enterprise Server 15 SP3-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise Server 15-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | Affected |
| SUSE Manager Proxy 4.0 | Affected |
| SUSE Manager Proxy 4.1 | Affected |
| SUSE Manager Proxy 4.2 | Affected |
| SUSE Manager Proxy 4.3 | Affected |
| SUSE Manager Retail Branch Server 4.0 | Affected |
| SUSE Manager Retail Branch Server 4.1 | Affected |
| SUSE Manager Retail Branch Server 4.2 | Affected |
| SUSE Manager Retail Branch Server 4.3 | Affected |
| SUSE Manager Server 4.0 | Affected |
| SUSE Manager Server 4.1 | Affected |
| SUSE Manager Server 4.2 | Affected |
| SUSE Manager Server 4.3 | Affected |
| openSUSE Leap 15.3 | Affected |
| openSUSE Leap 15.4 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-88668
GHSA-fgjp-hq6c-rfv8
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB