# CVE-2019-13590: libsox3: An issue was discovered in libsox.a in SoX 14.4.2

CVE-2019-13590 is fixed in 9 products on 1 platform, first by libsox-fmt-all 14.4.2-3ubuntu0.18.04.2, released August 25, 2022. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2019-13590
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0106
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 14, 2019

## Description

An issue was discovered in libsox.a in SoX 14.4.2. In sox-fmt.h (startread function), there is an integer overflow on the result of integer addition (wraparound to 0) fed into the lsx_calloc macro that wraps malloc. When a NULL pointer is returned, it is used without a prior check that it is a valid pointer, leading to a NULL pointer dereference on lsx_readbuf in formats_i.c.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libsox-fmt-all Ubuntu 18.04.6 LTS (bionic) | 14.4.2-3ubuntu0.18.04.2 | [libsox-fmt-all 14.4.2-3ubuntu0.18.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libsox-fmt-all-14.4.2-3ubuntu0.18.04.2.md) | Aug 25, 2022 |
| Linux | libsox-fmt-alsa Ubuntu 18.04.6 LTS (bionic) | 14.4.2-3ubuntu0.18.04.2 | [libsox-fmt-alsa 14.4.2-3ubuntu0.18.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libsox-fmt-alsa-14.4.2-3ubuntu0.18.04.2.md) | Aug 25, 2022 |
| Linux | libsox-fmt-ao Ubuntu 18.04.6 LTS (bionic) | 14.4.2-3ubuntu0.18.04.2 | [libsox-fmt-ao 14.4.2-3ubuntu0.18.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libsox-fmt-ao-14.4.2-3ubuntu0.18.04.2.md) | Aug 25, 2022 |
| Linux | libsox-fmt-base Ubuntu 18.04.6 LTS (bionic) | 14.4.2-3ubuntu0.18.04.2 | [libsox-fmt-base 14.4.2-3ubuntu0.18.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libsox-fmt-base-14.4.2-3ubuntu0.18.04.2.md) | Aug 25, 2022 |
| Linux | libsox-fmt-mp3 Ubuntu 18.04.6 LTS (bionic) | 14.4.2-3ubuntu0.18.04.2 | [libsox-fmt-mp3 14.4.2-3ubuntu0.18.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libsox-fmt-mp3-14.4.2-3ubuntu0.18.04.2.md) | Aug 25, 2022 |
| Linux | libsox-fmt-oss Ubuntu 18.04.6 LTS (bionic) | 14.4.2-3ubuntu0.18.04.2 | [libsox-fmt-oss 14.4.2-3ubuntu0.18.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libsox-fmt-oss-14.4.2-3ubuntu0.18.04.2.md) | Aug 25, 2022 |
| Linux | libsox-fmt-pulse Ubuntu 18.04.6 LTS (bionic) | 14.4.2-3ubuntu0.18.04.2 | [libsox-fmt-pulse 14.4.2-3ubuntu0.18.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libsox-fmt-pulse-14.4.2-3ubuntu0.18.04.2.md) | Aug 25, 2022 |
| Linux | libsox3 Ubuntu 18.04.6 LTS (bionic) | 14.4.2-3ubuntu0.18.04.2 | [libsox3 14.4.2-3ubuntu0.18.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libsox3-14.4.2-3ubuntu0.18.04.2.md) | Aug 25, 2022 |
| Linux | sox Ubuntu 18.04.6 LTS (bionic) | 14.4.2-3ubuntu0.18.04.2 | [sox 14.4.2-3ubuntu0.18.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-sox-14.4.2-3ubuntu0.18.04.2.md) | Aug 25, 2022 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
