{"id":"UBUNTU-CVE-2026-102474","details":"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.","modified":"2026-10-01T00:21:05.853301688Z","published":"2026-09-29T10:17:00Z","upstream":["CVE-2026-102474"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-102474"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-102474"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2543004"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-102474"}],"affected":[{"package":{"name":"dash","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/dash?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.7-3ubuntu1","0.5.7-4ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.5.7-4ubuntu1","binary_name":"ash"},{"binary_version":"0.5.7-4ubuntu1","binary_name":"dash"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102474.json"}},{"package":{"name":"dash","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/dash?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.7-4ubuntu2","0.5.8-2.1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.5.8-2.1ubuntu2","binary_name":"ash"},{"binary_name":"dash","binary_version":"0.5.8-2.1ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102474.json"}},{"package":{"name":"dash","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/dash?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.8-2.3ubuntu1","0.5.8-2.5ubuntu1","0.5.8-2.9ubuntu1","0.5.8-2.10"],"ecosystem_specific":{"binaries":[{"binary_name":"ash","binary_version":"0.5.8-2.10"},{"binary_name":"dash","binary_version":"0.5.8-2.10"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102474.json"}},{"package":{"name":"dash","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/dash?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.10.2-6"],"ecosystem_specific":{"binaries":[{"binary_name":"ash","binary_version":"0.5.10.2-6"},{"binary_name":"dash","binary_version":"0.5.10.2-6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102474.json"}},{"package":{"name":"dash","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/dash?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.11+git20210120+802ebd4-1build1","0.5.11+git20210903+057cd650a4ed-3","0.5.11+git20210903+057cd650a4ed-3build1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.5.11+git20210903+057cd650a4ed-3build1","binary_name":"ash"},{"binary_name":"dash","binary_version":"0.5.11+git20210903+057cd650a4ed-3build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102474.json"}},{"package":{"name":"dash","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/dash?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.12-6ubuntu1","0.5.12-6ubuntu3","0.5.12-6ubuntu4","0.5.12-6ubuntu5"],"ecosystem_specific":{"binaries":[{"binary_name":"ash","binary_version":"0.5.12-6ubuntu5"},{"binary_name":"dash","binary_version":"0.5.12-6ubuntu5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102474.json"}},{"package":{"name":"dash","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/dash?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.12-12ubuntu2","0.5.12-12ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_name":"dash","binary_version":"0.5.12-12ubuntu3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102474.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}