Local process crash via unchecked command expansion
Published Jun 13, 2023 · Updated Jan 3, 2025
Stack buffer overflow in Matthias-Wandel jhead 3.06 allows attackers to crash the process through repeated filename placeholders. DoCommand passes each input or temporary filename to shellescape; shellescape appends every expansion to the fixed-size ExecString stack buffer without a remaining-capacity check. Exploitation requires local command execution with a crafted command template and a sufficiently long filename; the published proof demonstrates an AddressSanitizer-detected abort, not code execution.
Summary
What happened
Stack buffer overflow in Matthias-Wandel jhead 3.06 allows attackers to crash the process through repeated filename placeholders. DoCommand passes each input or temporary filename to shellescape; shellescape appends every expansion to the fixed-size ExecString stack buffer without a remaining-capacity check. Exploitation requires local command execution with a crafted command template and a sufficiently long filename; the published proof demonstrates an AddressSanitizer-detected abort, not code execution.
The record
- CVE
- CVE-2022-28550
- Published
- Jun 13, 2023
- Updated
- Jan 3, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-787, CWE-120
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 13, 2023CVE publishedPublication date reported by the CVE source.
- Jan 3, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- jhead shellescape stack-buffer-overflow triggerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo