Application crash via zero VOC sample size
Published Aug 25, 2022 · Updated Aug 3, 2024
Divide-by-zero in SoX's VOC parser allows attackers to crash the application by processing a crafted Creative Voice file. In read_samples() in voc.c, a zero sample-size value taken from VOC block metadata becomes the divisor in 9 / v->size when samples per byte are calculated. The file must be opened or passed to SoX for local processing; the demonstrated consequence is an application crash, not code execution or data access.
Summary
What happened
Divide-by-zero in SoX's VOC parser allows attackers to crash the application by processing a crafted Creative Voice file. In read_samples() in voc.c, a zero sample-size value taken from VOC block metadata becomes the divisor in 9 / v->size when samples per byte are calculated. The file must be opened or passed to SoX for local processing; the demonstrated consequence is an application crash, not code execution or data access.
The record
- CVE
- CVE-2021-23210
- Published
- Aug 25, 2022
- Updated
- Aug 3, 2024
- Vendor
- Chris Bagwell
- Product
- SoX
- Classifications
- CWE-369
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 25, 2022CVE publishedPublication date reported by the CVE source.
- Aug 3, 2024Record 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?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=Not Known
What conditions does exploitation require?
What is affected?
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
- Crafted VOC crash test fileproof 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