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… (CVE-2026-102474)
Description
A flaw in dash's printf builtin causes it to reserve only four bytes before converting Unicode \u or \U escapes, while some multi-byte tokens require five or six bytes. This can lead to a local user writing one or two bytes beyond the reserved space when supplying such escapes, potentially causing memory corruption. The issue affects multiple specific dash versions used in various Ubuntu releases. The vulnerability has a medium severity rating with no known exploits in the wild.
CVSS v3.1
Score 4.0medium
Affected software
pkg:deb/ubuntu/dash?arch=source&distro=trustypkg:deb/ubuntu/dash?arch=source&distro=xenialpkg:deb/ubuntu/dash?arch=source&distro=bionicpkg:deb/ubuntu/dash?arch=source&distro=focalpkg:deb/ubuntu/dash?arch=source&distro=jammypkg:deb/ubuntu/dash?arch=source&distro=noblepkg:deb/ubuntu/dash?arch=source&distro=stonkingpkg:deb/ubuntu/dash?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in dash arises from the printf builtin's handling of Unicode escape sequences \u and \U. It reserves four bytes of buffer space before conversion, but certain multi-byte Unicode tokens require five or six bytes. A local attacker supplying such escape sequences via dash printf or echo %b, including through dash -c and positional arguments, can cause a buffer overflow by writing one or two bytes past the reserved buffer. This flaw affects specific dash versions listed, primarily in Ubuntu distributions. The CVSS 3.1 base score is 4.0, indicating medium severity with limited impact on integrity and no impact on confidentiality or availability.
Potential Impact
A local user can cause a buffer overflow by supplying specially crafted Unicode escape sequences to dash's printf builtin, potentially leading to memory corruption. The impact is limited to integrity loss without affecting confidentiality or availability. There are no known exploits in the wild for this vulnerability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid running untrusted input through dash's printf builtin with Unicode escape sequences. Monitor vendor channels for updates and apply patches once released.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-102474
- Osv Schema Version
- 1.7.0
- Ecosystems
- ["Ubuntu:14.04:LTS","Ubuntu:16.04:LTS","Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.10","Ubuntu:26.04:LTS"]
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ad3f4fb2cdf04f656657ba9
Added to database: 10/17/2026, 22:21:47 UTC
Last enriched: 10/17/2026, 22:46:51 UTC
Last updated: 10/17/2026, 22:46:51 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.