Every CVE Search/ Get API key

CVE-2021-33844

A floating point exception (divide-by-zero) issue was discovered in SoX in functon startread() of...

5.5 MediumFix available

A floating point exception (divide-by-zero) issue was discovered in SoX in functon startread() of wav.c file. An attacker with a crafted wav file, could cause an application to crash.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.48%Down 0.5 points since Aug 26, 2022
90%50%10%1%

What each source reports

NVD Score used 5.5

A floating point exception (divide-by-zero) issue was discovered in SoX in functon startread() of wav.c file. An attacker with a crafted wav file, could cause an application to crash.

Record
CVE-2021-33844
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-369
Updated
2026-11-02
CVE List No score

A floating point exception (divide-by-zero) issue was discovered in SoX in functon startread() of wav.c file. An attacker with a crafted wav file, could cause an application to crash.

Record
CVE-2021-33844
Weakness
CWE-369
Updated
2026-11-02
EUVDEUVD-2021-20518 No score

A floating point exception (divide-by-zero) issue was discovered in SoX in functon startread() of wav.c file. An attacker with a crafted wav file, could cause an application to crash.

Record
EUVD-2021-20518
Updated
2026-11-03
GitHub AdvisoriesGHSA-3q4f-g8fc-j65f 5.5

A floating point exception (divide-by-zero) issue was discovered in SoX in functon startread() of...

A floating point exception (divide-by-zero) issue was discovered in SoX in functon startread() of wav.c file. An attacker with a crafted wav file, could cause an application to crash.

Record
GHSA-3q4f-g8fc-j65f
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-369
Updated
2026-11-02
OSVALPINE-CVE-2021-33844 5.5

A floating point exception (divide-by-zero) issue was discovered in SoX in functon startread() of wav.c file. An attacker with a crafted wav file, could cause an application to crash.

Record
ALPINE-CVE-2021-33844
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-03
OSVAZL-44017 5.5

CVE-2021-33844 affecting package sox 14.4.2.0-34

A floating point exception (divide-by-zero) issue was discovered in SoX in functon startread() of wav.c file. An attacker with a crafted wav file, could cause an application to crash.

Record
AZL-44017
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 11 moreShow less
OSVAZL-44664 5.5

CVE-2021-33844 affecting package sox 14.4.2.0-34

A floating point exception (divide-by-zero) issue was discovered in SoX in functon startread() of wav.c file. An attacker with a crafted wav file, could cause an application to crash.

Record
AZL-44664
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSV 5.5

A floating point exception (divide-by-zero) issue was discovered in SoX in functon startread() of wav.c file. An attacker with a crafted wav file, could cause an application to crash.

Record
CVE-2021-33844
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2021-33844 5.5

A floating point exception (divide-by-zero) issue was discovered in SoX in functon startread() of wav.c file. An attacker with a crafted wav file, could cause an application to crash.

Record
DEBIAN-CVE-2021-33844
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2023-1931 7.8

sox security update

SoX is a cross-platform (Windows, Linux, MacOS X, etc.) command line utility that can convert various formats of computer audio files in to other formats. It can also apply various effects to these sound files, and, as an added bonus, SoX can play and record audio files on most platforms.

Security Fix(es):

A vulnerability was found in SoX, where a heap-buffer-overflow occurs in function lsx_read_w_buf() in formats_i.c file. The vulnerability is exploitable with a crafted file, that could cause an application to crash.(CVE-2021-23159)

A vulnerability was found in SoX, where a heap-buffer-overflow occurs in function startread() in hcom.c file. The vulnerability is exploitable with a crafted hcomn file, that could cause an application to crash.(CVE-2021-23172)

A floating point exception (divide-by-zero) issue was discovered in SoX in functon read_samples() of voc.c file. An attacker with a crafted file, could cause an application to crash.(CVE-2021-23210)

A floating point exception (divide-by-zero) issue was discovered in SoX in functon startread() of wav.c file. An attacker with a crafted wav file, could cause an application to crash.(CVE-2021-33844)

A floating point exception vulnerability was found in sox, in the lsx_aiffstartwrite function at sox/src/aiff.c:622:58. This flaw can lead to a denial of service.(CVE-2023-26590)

A floating point exception vulnerability was found in sox, in the read_samples function at sox/src/voc.c:334:18. This flaw can lead to a denial of service.(CVE-2023-32627)

A heap buffer overflow vulnerability was found in sox, in the startread function at sox/src/hcom.c:160:41. This flaw can lead to a denial of service, code execution, or information disclosure.(CVE-2023-34318)

A heap buffer overflow vulnerability was found in sox, in the lsx_readbuf function at sox/src/formats_i.c:98:16. This flaw can lead to a denial of service, code execution, or information disclosure.(CVE-2023-34432)

Record
OESA-2023-1931
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2021-33844 5.5

A floating point exception (divide-by-zero) issue was discovered in SoX in functon startread() of wav.c file. An attacker with a crafted wav file, could cause an application to crash.

Record
UBUNTU-CVE-2021-33844
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2023-0059 No score

Updated sox packages fix security vulnerability

CVE-2019-13590: sox-fmt validation CVE-2021-3643 and CVE-2021-23210: voc validation CVE-2021-23159 and CVE-2021-23172: hcom validation CVE-2021-33844: wav validation CVE-2021-40426: sphere validation CVE-2022-31650: aiff validation CVE-2022-31651: reject implausible rate

Record
MGASA-2023-0059
Updated
2026-11-02
OSVopenSUSE-SU-2023:0328-1 No score

Security update for sox

This update for sox fixes the following issues:

  • Apply various fix patches taken from Debian package; it fixes also other entries (CVE-2022-31650 boo#1212060 CVE-2023-34318 boo#1212062 CVE-2023-34432 boo#1212063)
  • Fix floating point exception in src/voc.c (CVE-2023-32627 boo#1212061)
Record
openSUSE-SU-2023:0328-1
Updated
2026-11-02
OSVopenSUSE-SU-2023:0329-1 No score

Security update for sox

This update for sox fixes the following issues:

  • Apply various fix patches taken from Debian package; it fixes also other entries (CVE-2022-31650 boo#1212060 CVE-2023-34318 boo#1212062 CVE-2023-34432 boo#1212063)
  • Fix floating point exception in src/voc.c (CVE-2023-32627 boo#1212061)
Record
openSUSE-SU-2023:0329-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:13359-1 No score

libsox3-14.4.2-8.1 on GA media

These are all security issues fixed in the libsox3-14.4.2-8.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13359-1
Updated
2026-11-02
OSVUSN-5904-1 No score

sox vulnerabilities

Helmut Grohne discovered that SoX incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 ESM, Ubuntu 16.04 ESM, and Ubuntu 18.04 LTS. (CVE-2019-13590)

Helmut Grohne discovered that SoX incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. (CVE-2021-23159, CVE-2021-23172, CVE-2021-23210, CVE-2021-33844, CVE-2021-3643, CVE-2021-40426, CVE-2022-31650, and CVE-2022-31651)

Record
USN-5904-1
Updated
2026-11-02
OSVUSN-5904-2 No score

sox regression

USN-5904-1 fixed vulnerabilities in SoX. It was discovered that the fix for CVE-2021-33844 was incomplete. This update fixes the problem.

Original advisory details:

Helmut Grohne discovered that SoX incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 ESM, Ubuntu 16.04 ESM, and Ubuntu 18.04 LTS. (CVE-2019-13590)

Helmut Grohne discovered that SoX incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. (CVE-2021-23159, CVE-2021-23172, CVE-2021-23210, CVE-2021-33844, CVE-2021-3643, CVE-2021-40426, CVE-2022-31650, and CVE-2022-31651)

Record
USN-5904-2
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
sox
Alpine:v3.18
before 14.4.2-r10
14.4.2-r10
sox
Alpine:v3.19
before 14.4.2-r10
14.4.2-r10
sox
Alpine:v3.20
before 14.4.2-r10
14.4.2-r10
sox
Alpine:v3.21
before 14.4.2-r10
14.4.2-r10
sox
Alpine:v3.22
before 14.4.2-r10
14.4.2-r10
sox
Alpine:v3.23
before 14.4.2-r10
14.4.2-r10
sox
Alpine:v3.24
before 14.4.2-r10
14.4.2-r10
sox
Azure Linux:2
through 14.4.2.0-34 None known
sox
Azure Linux:3
through 14.4.2.0-34 None known
sox
Debian:12
before 14.4.2+git20190427-3.1
14.4.2+git20190427-3.1
Show 24 moreShow less
Affected packages
PackageAffectedFixed
sox
Debian:13
before 14.4.2+git20190427-3.1
14.4.2+git20190427-3.1
sox
Debian:10
before 14.4.2+git20190427-1+deb10u1, plus listed versions
14.4.2+git20190427-1
14.4.2+git20190427-1+deb10u1
sox
Debian:11
before 14.4.2+git20190427-2+deb11u1, plus listed versions
14.4.2+git20190427-2
14.4.2+git20190427-2+deb11u1
sox
Mageia:8
before 14.4.3-0.git20200117.3.1.mga8
14.4.3-0.git20200117.3.1.mga8
sox
openEuler:20.03-LTS-SP1
before 14.4.2.0-29.oe1
14.4.2.0-29.oe1
sox
openEuler:20.03-LTS-SP3
before 14.4.2.0-29.oe1
14.4.2.0-29.oe1
sox
openEuler:22.03-LTS
before 14.4.2.0-29.oe2203sp2
14.4.2.0-29.oe2203sp2
sox
openEuler:22.03-LTS-SP1
before 14.4.2.0-29.oe2203sp1
14.4.2.0-29.oe2203sp1
sox
openEuler:22.03-LTS-SP2
before 14.4.2.0-29.oe2203sp2
14.4.2.0-29.oe2203sp2
sox
Ubuntu:Pro:14.04:LTS
before 14.4.1-3ubuntu1.1+esm2, plus listed versions
14.4.1-314.4.1-3ubuntu114.4.1-3ubuntu1.114.4.1-3ubuntu1.1+esm1
14.4.1-3ubuntu1.1+esm2
sox
Ubuntu:Pro:16.04:LTS
before 14.4.1-5+deb8u4ubuntu0.1+esm1, plus listed versions
14.4.1-514.4.1-5ubuntu0.114.4.1-5ubuntu0.1+esm114.4.1-5+deb8u4ubuntu0.1
14.4.1-5+deb8u4ubuntu0.1+esm1
sox
Ubuntu:18.04:LTS
before 14.4.2-3ubuntu0.18.04.2, plus listed versions
14.4.1-5build114.4.2-214.4.2-314.4.2-3ubuntu0.18.04.1
14.4.2-3ubuntu0.18.04.2
sox
Ubuntu:20.04:LTS
before 14.4.2+git20190427-2+deb11u1build0.20.04.1, plus listed versions
14.4.2+git20190427-1build114.4.2+git20190427-2
14.4.2+git20190427-2+deb11u1build0.20.04.1
sox
Ubuntu:22.04:LTS
before 14.4.2+git20190427-2+deb11u1build0.22.04.1, plus listed versions
14.4.2+git20190427-2
14.4.2+git20190427-2+deb11u1build0.22.04.1
sox
Ubuntu:Pro:14.04:LTS
before 14.4.1-3ubuntu1.1+esm3, plus listed versions
14.4.1-314.4.1-3ubuntu114.4.1-3ubuntu1.114.4.1-3ubuntu1.1+esm114.4.1-3ubuntu1.1+esm2
14.4.1-3ubuntu1.1+esm3
sox
Ubuntu:Pro:16.04:LTS
before 14.4.1-5+deb8u4ubuntu0.1+esm2, plus listed versions
14.4.1-514.4.1-5ubuntu0.114.4.1-5ubuntu0.1+esm114.4.1-5+deb8u4ubuntu0.114.4.1-5+deb8u4ubuntu0.1+esm1
14.4.1-5+deb8u4ubuntu0.1+esm2
sox
Ubuntu:18.04:LTS
before 14.4.2-3ubuntu0.18.04.3, plus listed versions
14.4.1-5build114.4.2-214.4.2-314.4.2-3ubuntu0.18.04.114.4.2-3ubuntu0.18.04.2
14.4.2-3ubuntu0.18.04.3
sox
Ubuntu:20.04:LTS
before 14.4.2+git20190427-2+deb11u2build0.20.04.1, plus listed versions
14.4.2+git20190427-1build114.4.2+git20190427-214.4.2+git20190427-2+deb11u1build0.20.04.1
14.4.2+git20190427-2+deb11u2build0.20.04.1
sox
Ubuntu:22.04:LTS
before 14.4.2+git20190427-2+deb11u2build0.22.04.1, plus listed versions
14.4.2+git20190427-214.4.2+git20190427-2+deb11u1build0.22.04.1
14.4.2+git20190427-2+deb11u2build0.22.04.1
sox
SUSE:Package Hub 15 SP4
before 14.4.2-bp154.2.3.1
14.4.2-bp154.2.3.1
sox
openSUSE:Leap 15.4
before 14.4.2-bp154.2.3.1
14.4.2-bp154.2.3.1
sox
SUSE:Package Hub 15 SP5
before 14.4.2-bp155.3.3.1
14.4.2-bp155.3.3.1
sox
openSUSE:Leap 15.5
before 14.4.2-bp155.3.3.1
14.4.2-bp155.3.3.1
sox
openSUSE:Tumbleweed
before 14.4.2-8.1
14.4.2-8.1

History

History
RecordedChangedSources
affected, aliases, referencesOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-33844 is a medium vulnerability (CVSS 5.5) in Sound Exchange Project Exchange, published August 25, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.48%, the 41st percentile. Fixed in sox 14.4.2-r10.

References

Show 47 moreShow less
MoveEnter Open