CVE-2026-102474: Out-of-bounds Write in Red Hat Red Hat Enterprise Linux 6
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.
AI Analysis
Technical Summary
The vulnerability in dash's printf builtin arises because it reserves only four bytes before converting Unicode \u or \U escapes, whereas the multi-byte token can require five or six bytes. This causes a local user who can supply such escape sequences to write one or two bytes beyond the reserved buffer, resulting in an out-of-bounds heap memory write. The flaw affects environments where dash is deliberately installed and used, as Red Hat Enterprise Linux 6 uses bash as the default system shell. The issue is rated moderate severity due to the need for local access and crafted input. The advisory notes no practical runtime mitigation other than avoiding untrusted input to dash printf/echo %b or dash -c positional arguments. The fix is to increase the buffer reservation from four to eight bytes at the printf call sites. No official patch or fixed version is explicitly stated in the advisory.
Potential Impact
The vulnerability allows a local user to cause out-of-bounds heap memory writes by supplying crafted Unicode escape sequences to dash's printf or echo %b builtins. This can lead to memory corruption, potentially causing unexpected behavior or denial of service via crashes. However, under standard operating conditions, it does not result in direct privilege escalation. The exposure is limited to systems where dash is installed and used on untrusted input, which is not the default in Red Hat Enterprise Linux 6.
Mitigation Recommendations
No practical runtime mitigation is available in the shipped build. Users should avoid passing untrusted data into dash printf, echo %b, or dash -c as a positional argument. The advisory indicates the fix requires increasing the buffer reservation size in the source code. Users should monitor Red Hat advisories for an official patch release and apply it once available.
CVE-2026-102474: Out-of-bounds Write in Red Hat Red Hat Enterprise Linux 6
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.
CVSS v3.1
Score 4.0medium
Affected software
Red Hat
Red Hat Enterprise Linux 6
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in dash's printf builtin arises because it reserves only four bytes before converting Unicode \u or \U escapes, whereas the multi-byte token can require five or six bytes. This causes a local user who can supply such escape sequences to write one or two bytes beyond the reserved buffer, resulting in an out-of-bounds heap memory write. The flaw affects environments where dash is deliberately installed and used, as Red Hat Enterprise Linux 6 uses bash as the default system shell. The issue is rated moderate severity due to the need for local access and crafted input. The advisory notes no practical runtime mitigation other than avoiding untrusted input to dash printf/echo %b or dash -c positional arguments. The fix is to increase the buffer reservation from four to eight bytes at the printf call sites. No official patch or fixed version is explicitly stated in the advisory.
Potential Impact
The vulnerability allows a local user to cause out-of-bounds heap memory writes by supplying crafted Unicode escape sequences to dash's printf or echo %b builtins. This can lead to memory corruption, potentially causing unexpected behavior or denial of service via crashes. However, under standard operating conditions, it does not result in direct privilege escalation. The exposure is limited to systems where dash is installed and used on untrusted input, which is not the default in Red Hat Enterprise Linux 6.
Mitigation Recommendations
No practical runtime mitigation is available in the shipped build. Users should avoid passing untrusted data into dash printf, echo %b, or dash -c as a positional argument. The advisory indicates the fix requires increasing the buffer reservation size in the source code. Users should monitor Red Hat advisories for an official patch release and apply it once available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-09-29T08:38:23.782Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-102474","vendor":"Red Hat"}]
Threat ID: 6abb85e3f7a7c5410623217c
Added to database: 09/29/2026, 09:33:23 UTC
Last enriched: 09/29/2026, 09:48:03 UTC
Last updated: 09/29/2026, 18:20:12 UTC
Views: 11
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.