CVE-2026-102474 Dash: dash: heap out-of-bounds write in conv_escape via undersized unicode escape reservation
A local attacker can trigger a heap out-of-bounds write in the Dash shell's printf builtin, potentially leading to code execution or privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-102474?
CVE-2026-102474 is a medium-severity memory corruption vulnerability in Red Hat Enterprise Linux 6, published on 29 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Weakness: CWE-787
Which versions are affected by CVE-2026-102474?
Linux distribution packages (1)
dash openSUSE:Tumbleweed | All versions | 0.5.13.5-1.1 |
How do I fix CVE-2026-102474?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-102474 being exploited?
There is no known exploitation of CVE-2026-102474 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2026-102474, GHSA-fgjp-hq6c-rfv8, UBUNTU-CVE-2026-102474, openSUSE-SU-2026:11980-1.