VYPR
Unrated severityNVD Advisory· Published Feb 15, 2019· Updated Aug 4, 2024

CVE-2019-8356

CVE-2019-8356

Description

A stack-based buffer overflow in SoX 14.4.2 fft4g.c bitrv2 can be triggered via crafted MP3 files leading to denial of service.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A stack-based buffer overflow in SoX 14.4.2 fft4g.c bitrv2 can be triggered via crafted MP3 files leading to denial of service.

Vulnerability

A stack-based buffer overflow exists in SoX version 14.4.2 in the function bitrv2 in fft4g.c. The argument n is not validated; if its value is sufficiently large, the expression m + l can exceed 256, while the buffer ip is statically allocated to size 256. This allows write access outside the bounds of the statically declared array, as reported in [1], [2], [3]. The vulnerability is reachable when processing specially crafted MP3 files [1], [2].

Exploitation

An attacker would need to supply a maliciously crafted MP3 file to SoX. The exploit sequence involves running SoX with command-line arguments such as --single-threaded -t aiff /dev/null channels 1 rate 16k fade 3 norm [3]. No authentication or special network position is required if the attacker can deliver the file (e.g., via upload or tricking a user into processing the file).

Impact

Successful exploitation leads to a stack-based buffer overflow, which can cause a crash (denial of service) [1], [2]. The impact is primarily on availability; the advisory from Ubuntu notes that an attacker could cause SoX to crash via a specially crafted MP3 file [1], [2].

Mitigation

Ubuntu published security updates in USN-4079-1 (dated July 30, 2019) for Ubuntu 16.04 LTS, and USN-4079-2 (dated August 1, 2019) for Ubuntu 18.04 LTS and 19.04 [1], [2]. The fixed version updated the sox package. Users who compile SoX themselves should obtain patched source code from the project. No workaround other than upgrading is mentioned in the references.

AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

1

Patches

0

No patches discovered yet.

Vulnerability mechanics

No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.

References

4

News mentions

0

No linked articles in our index yet.