Buffer Overflow Vulnerability in Dash by Red Hat
CVE-2026-102474
4MEDIUM
What is CVE-2026-102474?
A buffer overflow issue has been identified in Dash, a shell command interpreter, where the printf built-in reserves insufficient memory for certain Unicode escape sequences. When a local user provides an escape token that requires more storage than allocated, it results in writing beyond the reserved memory. This vulnerability can potentially be exploited when a user executes printf or echo with the %b format specifier, particularly via dash -c or through positional arguments. Such exploitation may lead to unintended behavior in shell scripts and could compromise the integrity of system operations.
References
CVSS V3.1
Score:
4
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Red Hat would like to thank Shubham Raj (Causal Security) for reporting this issue.