Application crash via oversized channel count
Published Dec 30, 2025 · Updated Dec 30, 2025
Division by zero in SoX 14.4.2 allows attackers to crash the application by converting a crafted SND file to WAV. During WAV header writing, wavwritehdr accepts a channel count above 65,535, truncates it into the 16-bit block-alignment field, and divides by the resulting zero value. CVE-2022-50798 is rejected as a duplicate of CVE-2017-11359; exploitation requires the crafted file to be processed, and the bounded consequence is an application crash.
Summary
What happened
Division by zero in SoX 14.4.2 allows attackers to crash the application by converting a crafted SND file to WAV. During WAV header writing, wavwritehdr accepts a channel count above 65,535, truncates it into the 16-bit block-alignment field, and divides by the resulting zero value. CVE-2022-50798 is rejected as a duplicate of CVE-2017-11359; exploitation requires the crafted file to be processed, and the bounded consequence is an application crash.
The record
- CVE
- CVE-2022-50798
- Published
- Dec 30, 2025
- Updated
- Dec 30, 2025
- Vendor
- Chris Bagwell
- Product
- SoX
- Classifications
- T1204.002
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Dec 30, 2025CVE publishedPublication date reported by the CVE source.
- Dec 30, 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?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=14.4.2
What conditions does exploitation require?
What is affected?
Published CVSS scores
No CVSS assessment is available in this record.
CVSS describes severity. EPSS estimates exploitation probability.
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
- SoX 14.4.2 Denial of Serviceproof of concept · demonstrated
- Sound eXchange SoX 14.4.2 Multiple Vulnerabilitiesproof 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