CVEfocus › CVE database › CVE-2026-102474

CVE-2026-102474Dash: dash: heap out-of-bounds write in conv_escape via undersized unicode escape…

CVSS 4.0 MediumEPSS 0.2% (higher than 2% of CVEs)Published 2026-09-29Updated 2026-11-05Assigner: redhat

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.

CWE-787

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

5Fix pending
3Under investigation
4Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10dashFix pendingUBUNTU-CVE-2026-102474
Ubuntu 26.04dashUnder investigationUBUNTU-CVE-2026-102474
Ubuntu 24.04dashUnder investigationUBUNTU-CVE-2026-102474
Ubuntu 22.04dashUnder investigationUBUNTU-CVE-2026-102474
Ubuntu 20.04dashFix pendingUBUNTU-CVE-2026-102474
Ubuntu 18.04dashFix pendingUBUNTU-CVE-2026-102474
Ubuntu 16.04dashFix pendingUBUNTU-CVE-2026-102474
Ubuntu 14.04dashFix pendingUBUNTU-CVE-2026-102474
Debian 14dashWill 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 13dashWill 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 12dashWill 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 6dashWill 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.

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

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.