CVE-2026-102474Dash: dash: heap out-of-bounds write in conv_escape via undersized unicode escape…
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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | dash | Fix pending | UBUNTU-CVE-2026-102474 | |
| Ubuntu 26.04 | dash | Under investigation | UBUNTU-CVE-2026-102474 | |
| Ubuntu 24.04 | dash | Under investigation | UBUNTU-CVE-2026-102474 | |
| Ubuntu 22.04 | dash | Under investigation | UBUNTU-CVE-2026-102474 | |
| Ubuntu 20.04 | dash | Fix pending | UBUNTU-CVE-2026-102474 | |
| Ubuntu 18.04 | dash | Fix pending | UBUNTU-CVE-2026-102474 | |
| Ubuntu 16.04 | dash | Fix pending | UBUNTU-CVE-2026-102474 | |
| Ubuntu 14.04 | dash | Fix pending | UBUNTU-CVE-2026-102474 | |
| Debian 14 | dash | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2026-102474 | |
| Debian 13 | dash | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2026-102474 | |
| Debian 12 | dash | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2026-102474 | |
| Red Hat Enterprise Linux 6 | dash | Will not fix Out of support scope |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Enterprise Linux 6
Workaround: No practical runtime mitigation is available in the shipped build. Do not pass untrusted data into dash printf/echo %b or into dash -c as a positional argument. The fix is to raise the CHECKSTRSPACE reservation at both printf call sites to 8. The later unaligned-access memcpy change in conv_escape does not enlarge that reservation and does not fix this issue.
References
- https://access.redhat.com/security/cve/CVE-2026-102474
- https://bugzilla.redhat.com/show_bug.cgi?id=2543004
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.